Skip to content

Commit 900b5a5

Browse files
committed
Added prisma:generate to nx pipeline
1 parent 6907a8e commit 900b5a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

nx.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"options": {
66
"cacheableOperations": [
77
"build",
8+
"prisma:generate",
89
"lint",
910
"test",
1011
"integration"
@@ -13,6 +14,12 @@
1314
}
1415
},
1516
"targetDefaults": {
17+
"prisma:generate": {
18+
"inputs": [
19+
"{projectRoot}/package.json",
20+
"{projectRoot}/prisma/**/*"
21+
]
22+
},
1623
"build": {
1724
"dependsOn": [
1825
"^build"

0 commit comments

Comments
 (0)