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
2025-12-23 18:38:32 +01:00
committed by Peter Steinberger
parent cd81348ca5
commit ea6dc7c710
2 changed files with 14 additions and 1 deletions

13
pnpm-lock.yaml generated
View File

@@ -185,6 +185,19 @@ importers:
specifier: 8.0.0-beta.3
version: 8.0.0-beta.3(@types/node@25.0.3)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.2)
ui:
dependencies:
lit:
specifier: ^3.3.1
version: 3.3.1
devDependencies:
typescript:
specifier: ^5.9.3
version: 5.9.3
vite:
specifier: 8.0.0-beta.3
version: 8.0.0-beta.3(@types/node@25.0.3)(jiti@2.6.1)(tsx@4.21.0)(yaml@2.8.2)
packages:
'@anthropic-ai/sdk@0.71.2':

View File

@@ -14,4 +14,4 @@
"typescript": "^5.9.3",
"vite": "8.0.0-beta.3"
}
}
}