Skip to content

Commit 858b075

Browse files
authored
fix: zod schema compilation errors in pnpm environment due to peer dependencies (#568)
1 parent 6abf735 commit 858b075

File tree

3 files changed

+158
-119
lines changed

3 files changed

+158
-119
lines changed

packages/runtime/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,13 @@
3737
"zod": "3.21.1",
3838
"zod-validation-error": "^0.2.1"
3939
},
40-
"peerDependencies": {
41-
"@prisma/client": "^4.0.0"
42-
},
4340
"author": {
4441
"name": "ZenStack Team"
4542
},
4643
"homepage": "https://zenstack.dev",
4744
"license": "MIT",
4845
"devDependencies": {
46+
"@prisma/client": "^4.0.0",
4947
"@types/bcryptjs": "^2.4.2",
5048
"@types/jest": "^29.5.0",
5149
"@types/lower-case-first": "^1.0.1",

packages/schema/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@
7878
"publish-dev": "pnpm publish --registry http://localhost:4873",
7979
"postinstall": "node bin/post-install.js"
8080
},
81-
"peerDependencies": {
82-
"prisma": "^4.0.0"
83-
},
8481
"dependencies": {
8582
"@paralleldrive/cuid2": "^2.2.0",
8683
"@prisma/generator-helper": "4.10.0",

0 commit comments

Comments
 (0)