Refactor database handling: switch YAML to JSON imports, update data loader, and clean build process.

This commit is contained in:
2025-07-06 20:56:13 +02:00
parent e3fe82990d
commit 2323e9f277
65 changed files with 28 additions and 21 deletions

View File

@@ -5,8 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"copy-yaml": "mkdir -p public/data/database && cp src/assets/database/*.yaml public/data/database/",
"build": "npm run copy-yaml && tsc -b && vite build",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
},