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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user