feat: ship prebuilt plugin bundle for remote dsh install

Remote github installs only get packages/dsh-plugin; without bundle the
host tried pnpm build and hung. Pack web+server into bundle/ and start
from it so other machines can run after dsh plugin add.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-12 10:45:08 +08:00
parent d95f033d1f
commit b23959400d
13 changed files with 28325 additions and 41 deletions

View file

@ -8,12 +8,14 @@
"dev:server": "pnpm --filter @mind-map/server dev",
"dev:web": "pnpm --filter @mind-map/web dev",
"build": "pnpm -r run build",
"pack:plugin": "node packages/dsh-plugin/scripts/pack-bundle.mjs",
"test": "pnpm -r run test",
"start": "pnpm --filter @mind-map/server start",
"typecheck": "pnpm -r run typecheck",
"stress": "tsx scripts/stress-10k.mts"
},
"devDependencies": {
"esbuild": "^0.25.12",
"tsx": "^4.19.3"
},
"engines": {