Selaa lähdekoodia

Fix: use backend venv python for i18n scripts

unknown 2 päivää sitten
vanhempi
commit
1c18df9885
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      package.json

+ 3 - 3
package.json

@@ -6,9 +6,9 @@
   "scripts": {
     "dev": "npm run i18n:generate && vite",
     "build": "npm run i18n:generate && vue-tsc && vite build",
-    "i18n:generate": "python scripts/manage_locales.py split",
-    "i18n:merge": "python scripts/manage_locales.py merge",
-    "i18n:check": "python scripts/manage_locales.py missing",
+    "i18n:generate": "backend\\.venv\\Scripts\\python.exe scripts/manage_locales.py split",
+    "i18n:merge": "backend\\.venv\\Scripts\\python.exe scripts/manage_locales.py merge",
+    "i18n:check": "backend\\.venv\\Scripts\\python.exe scripts/manage_locales.py missing",
     "lint": "eslint . --ext ts,vue --report-unused-disable-directives --max-warnings 0",
     "preview": "vite preview",
     "test": "vitest run"