Skip to content

Commit 5070ef0

Browse files
committed
WEB-100 Add Prisma migration as step in next build, gitignore additional .envs
1 parent afb559e commit 5070ef0

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ yarn-error.log*
2626

2727
# local env files
2828
.env
29-
.env.local
30-
.env.development.local
31-
.env.test.local
32-
.env.production.local
29+
.env.*
30+
!.env.example
3331

3432
# vercel
3533
.vercel

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"start": "next start",
1010
"lint": "eslint src/",
1111
"prepare": "husky",
12-
"postinstall": "prisma generate"
12+
"postinstall": "prisma generate",
13+
"vercel-build": "prisma migrate deploy && next build"
1314
},
1415
"dependencies": {
1516
"@base-ui/react": "^1.3.0",

0 commit comments

Comments
 (0)