feat(FN-904): make dev script run build and typecheck before vite dev

- Update dashboard dev script to run vite build, tsc, and app typecheck before starting vite dev
- Ensures the project is fully built and type-safe before development server starts
This commit is contained in:
gsxdsm
2026-04-04 11:28:07 -07:00
parent 453e533eee
commit 9cf5528bc8

View File

@@ -22,7 +22,7 @@
"scripts": {
"build": "vite build && tsc",
"build:client": "vite build",
"dev": "vite build --watch",
"dev": "vite build && tsc && tsc --noEmit -p tsconfig.app.json && vite dev",
"test": "vitest run",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.app.json",
"postinstall": "chmod +x node_modules/.pnpm/node-pty*/node_modules/node-pty/prebuilds/darwin-*/spawn-helper node_modules/.pnpm/node-pty*/node_modules/node-pty/prebuilds/darwin-*/*.node 2>/dev/null || true"