diff --git a/Justfile b/Justfile
new file mode 100644
index 0000000..0d70b43
--- /dev/null
+++ b/Justfile
@@ -0,0 +1,9 @@
+export DOCKER_HOST := "unix://" + env_var("XDG_RUNTIME_DIR") + "/podman/podman.sock"
+
+# List all available commands
+@help:
+ just --list
+
+# Generate mermaid diagrams
+@diagrams:
+ podman run --userns keep-id --user ${UID} --rm -v {{ justfile_directory() }}/src:/app:z -w /app --entrypoint sh minlag/mermaid-cli:11.2.1 -c 'find ./data/mermaid -name "*.mmd" -exec sh -c '"'"'/home/mermaidcli/node_modules/.bin/mmdc -p /puppeteer-config.json -b transparent -i "$1" -o ./assets/mermaid/"$(basename "$1" .mmd).svg"'"'"' _ {} \;'
diff --git a/package.json b/package.json
index f1ecdc8..6f3d995 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
"scripts": {
"prepare": "husky",
"dev": "astro dev",
- "build": "pnpm run mermaid && astro build",
+ "build": "astro build",
"check": "astro check && tsc --noEmit",
"sync": "astro sync",
"preview": "astro preview",
@@ -38,7 +38,6 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.3",
- "@mermaid-js/mermaid-cli": "^10.9.1",
"@tailwindcss/typography": "^0.5.15",
"@types/react": "^18.3.4",
"@types/react-dom": "^18.3.0",
diff --git a/src/assets/mermaid/hibuddy.svg b/src/assets/mermaid/hibuddy.svg
index e213230..e5ab2de 100644
--- a/src/assets/mermaid/hibuddy.svg
+++ b/src/assets/mermaid/hibuddy.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file