fix: add build:all script - packages must build in dependency order
Some checks are pending
CI / build-check-test (push) Waiting to run

Root cause of all web UI bugs: web-ui depends on jae-ai and jae-agent-core
being compiled first. Without their dist/ output, all tool imports
(bash, browser, web-search, voice-tts, memory) silently fail,
causing the entire app to crash at load time.

New scripts:
- build:all: builds packages in correct order
- build:example: builds all + example app
- dev:example: builds all + starts dev server
This commit is contained in:
JAE 2026-03-27 17:48:22 +00:00
parent 606590ec80
commit fdbce41680

View file

@ -30,7 +30,10 @@
"release:patch": "node scripts/release.mjs patch",
"release:minor": "node scripts/release.mjs minor",
"release:major": "node scripts/release.mjs major",
"prepare": "husky"
"prepare": "husky",
"build:all": "npm run build -w packages/ai && npm run build -w packages/tui && npm run build -w packages/agent && npm run build -w packages/web-ui",
"build:example": "npm run build:all && cd packages/web-ui/example && npm run build",
"dev:example": "npm run build:all && cd packages/web-ui/example && npm run dev"
},
"devDependencies": {
"@biomejs/biome": "2.3.5",