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
+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",