fix: ensure workspace dependencies are installed via bun workspaces

Add "website" and "docs" to bun workspaces in root package.json and remove
pnpm packageManager field from website/package.json to fix bun run build:site.
This commit is contained in:
weishu
2026-01-01 12:54:10 +08:00
parent 77a2eee236
commit 4d2f91b9f5
3 changed files with 1419 additions and 54 deletions
+1417 -51
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "hapi",
"private": true,
"workspaces": ["cli", "server", "web"],
"workspaces": ["cli", "server", "web", "website", "docs"],
"scripts": {
"build:site": "bun run --cwd website build && bun run --cwd docs docs:build && cp -r docs/.vitepress/dist website/dist/public/docs",
"dev": "concurrently \"bun run dev:server\" \"bun run dev:web\" --kill-others-on-exit",
+1 -2
View File
@@ -92,8 +92,7 @@
"vite-plugin-manus-runtime": "^0.0.57",
"vitest": "^2.1.4"
},
"packageManager": "pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af",
"overrides": {
"overrides": {
"tailwindcss>nanoid": "3.3.7"
}
}