fix: correctly define pnpm workspace and clean up vite build scripts

This change adds the missing 'packages' definition to pnpm-workspace.yaml, allowing pnpm to correctly install dependencies for the 'ui' sub-package. This resolves the 'vite: command not found' error during 'ui:build'. It also reverts the temporary 'pnpm dlx' workarounds in ui/package.json.
This commit is contained in:
meaningfool authored and Peter Steinberger committed 2025-12-25 22:52:22 +01:00
1 parent 1c88d9575e
commit 214ab16eb2
3 files changed
+83 -5

No files matched your search

+4 -4
View File
@@ -3,9 +3,9 @@
"private": true,
"type": "module",
"scripts": {
"dev": "pnpm dlx vite@8.0.0-beta.3",
"build": "pnpm dlx vite@8.0.0-beta.3 build",
"preview": "pnpm dlx vite@8.0.0-beta.3 preview"
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"lit": "^3.3.1"
@@ -14,4 +14,4 @@
"typescript": "^5.9.3",
"vite": "8.0.0-beta.3"
}
}
}