Skip to content

Commit 65ab676

Browse files
committed
fix: prisma client error
1 parent a31c77d commit 65ab676

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

apps/api/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"scripts": {
88
"test": "echo \"Error: no test specified\" && exit 1",
99
"dev": "tsx src/index.ts",
10-
"build": "prisma generate && tsc"
10+
"build": "prisma generate && tsc",
11+
"postinstall": "[ -f prisma/schema.prisma ] && prisma generate || true"
1112
},
1213
"keywords": [],
1314
"author": "Ajeet Pratpa Singh",

turbo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"build": {
66
"dependsOn": ["^build"],
77
"inputs": ["$TURBO_DEFAULT$", ".env*"],
8-
"outputs": [".next/**", "!.next/cache/**"]
8+
"outputs": [".next/**", "!.next/cache/**", "dist/**"]
99
},
1010
"lint": {
1111
"dependsOn": ["^lint"]

0 commit comments

Comments
 (0)