diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d7c51d..595addb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,14 +3,6 @@ All notable changes to this project will be documented in this file. -## [v0.2.1](https://code.thetadev.de/HSA/Visitenbuch/compare/v0.2.0..v0.2.1) - 2024-05-07 - -### 🐛 Bug Fixes - -- Carta editor mobile context menu transparent - ([6bd7e15](https://code.thetadev.de/HSA/Visitenbuch/commit/6bd7e157eea6589be82692499cb956455386f7e5)) -- Dont output null age - ([c2c21d1](https://code.thetadev.de/HSA/Visitenbuch/commit/c2c21d1296c399324cdfa661c490cee79f7e16e1)) - - ## [v0.2.0](https://code.thetadev.de/HSA/Visitenbuch/compare/v0.1.0..v0.2.0) - 2024-05-06 ### 🚀 Features diff --git a/package.json b/package.json index 9ba37e9..fbb40e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "visitenbuch", - "version": "0.2.1", + "version": "0.2.0", "private": true, "license": "AGPL-3.0", "scripts": { @@ -21,7 +21,7 @@ "@floating-ui/core": "^1.6.1", "@mdi/js": "^7.4.47", "@prisma/client": "^5.13.0", - "@thetadev/carta-md": "^1.0.1", + "carta-md": "4.0.2", "diff": "^5.2.0", "isomorphic-dompurify": "^2.9.0", "prisma": "^5.13.0", @@ -71,5 +71,10 @@ "vite": "^5.2.11", "vitest": "^1.6.0" }, - "type": "module" + "type": "module", + "pnpm": { + "patchedDependencies": { + "carta-md@4.0.2": "patches/carta-md@4.0.2.patch" + } + } } diff --git a/patches/carta-md@4.0.2.patch b/patches/carta-md@4.0.2.patch new file mode 100644 index 0000000..2b8589e --- /dev/null +++ b/patches/carta-md@4.0.2.patch @@ -0,0 +1,27 @@ +# Change "markdown-body" css class to "prose" for Tailwind compatibility +diff --git a/dist/Markdown.svelte b/dist/Markdown.svelte +index 92b29fade303a14539720b9bc389e7a41202b1cf..cbdeede16d7af17a481bcac519aea92b8959803d 100644 +--- a/dist/Markdown.svelte ++++ b/dist/Markdown.svelte +@@ -15,7 +15,7 @@ onMount(async () => { + }); + + +-
Erstellt {humanDate(entry.created_at, true)} · - {#if entry.execution?.done} + {#if entry.execution} Erledigt {humanDate(entry.execution.created_at)} {:else} Zu erledigen {humanDate(entry.current_version.date)} @@ -53,7 +53,7 @@ Beschreibung
@@ -69,12 +69,9 @@ {#if withExecution && entry.execution}
- {entry.execution.done ? "Erledigt am" : "Notiz von"} {formatDate(entry.execution.created_at, true)} von
+ Erledigt am {formatDate(entry.execution.created_at, true)} von