fix: add build:all script - packages must build in dependency order
Some checks are pending
CI / build-check-test (push) Waiting to run
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:
parent
606590ec80
commit
fdbce41680
1 changed files with 62 additions and 59 deletions
|
|
@ -30,7 +30,10 @@
|
||||||
"release:patch": "node scripts/release.mjs patch",
|
"release:patch": "node scripts/release.mjs patch",
|
||||||
"release:minor": "node scripts/release.mjs minor",
|
"release:minor": "node scripts/release.mjs minor",
|
||||||
"release:major": "node scripts/release.mjs major",
|
"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": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "2.3.5",
|
"@biomejs/biome": "2.3.5",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue