chore: run db:generate at first
This commit is contained in:
parent
c8671e8656
commit
8a42ef616e
@ -9,6 +9,7 @@
|
|||||||
"start": "cd src/server && cross-env NODE_ENV=production node ./dist/src/server/main.js",
|
"start": "cd src/server && cross-env NODE_ENV=production node ./dist/src/server/main.js",
|
||||||
"start:docker": "pnpm start:docker:db && pnpm start",
|
"start:docker": "pnpm start:docker:db && pnpm start",
|
||||||
"start:docker:db": "cd src/server && pnpm db:migrate:apply",
|
"start:docker:db": "cd src/server && pnpm db:migrate:apply",
|
||||||
|
"postinstall": "cd src/server && pnpm db:generate",
|
||||||
"test": "vitest",
|
"test": "vitest",
|
||||||
"build": "pnpm build:tracker && pnpm build:server && pnpm build:client && pnpm build:geo",
|
"build": "pnpm build:tracker && pnpm build:server && pnpm build:client && pnpm build:geo",
|
||||||
"build:client": "cd src/client && pnpm build",
|
"build:client": "cd src/client && pnpm build",
|
||||||
|
Loading…
Reference in New Issue
Block a user