Skip to content

Commit

Permalink
build(prisma): add init script to postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
xcfox committed Dec 11, 2024
1 parent 8f5df6e commit 9e2c0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build": "tsup",
"init": "exec prisma migrate dev --name init",
"generate": "prisma generate",
"postinstall": "pnpm build && pnpm generate"
"postinstall": "pnpm build && pnpm generate && pnpm run init"
},
"bin": {
"prisma-gqloom": "./bin/generator.cjs"
Expand Down

0 comments on commit 9e2c0f5

Please sign in to comment.