build(client): update dev script to include build steps for ui and shared

This commit is contained in:
Melvin Chia
2025-12-25 22:52:14 +08:00
parent ce55fa2ca4
commit bb4854aac8

View File

@@ -12,7 +12,7 @@
},
"type": "module",
"scripts": {
"dev": "vite",
"dev": "cd ../shared && bun run build && cd ../packages/lifeforge-ui && bun run build && cd ../../client && vite",
"types": "tsc -b && for dir in ../apps/*/; do echo \"Running types in $dir\" && (cd \"$dir\" && bun types); done",
"build": "cd ../shared && bun run build && cd ../packages/lifeforge-ui && bun run build && cd ../../client && tsc -b && vite build",
"preview": "vite preview"
@@ -73,4 +73,4 @@
"glob": "^13.0.0",
"vite": "^7.0.5"
}
}
}