refactor(scripts): added in a prodInstall to also take care of db migrations
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
"db:migrate": "npx drizzle-kit push",
|
"db:migrate": "npx drizzle-kit push",
|
||||||
"deploy": "standard-version --conventional-commits",
|
"deploy": "standard-version --conventional-commits",
|
||||||
"commit": "cz",
|
"commit": "cz",
|
||||||
"prodinstall": "npm i --omit=dev"
|
"prodinstall": "npm i --omit=dev && npm run db:migrate"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@dotenvx/dotenvx": "^1.38.3",
|
"@dotenvx/dotenvx": "^1.38.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user