Skip to content

Commit e19a377

Browse files
authored
chore: Prisma 5.22 support (#1829)
1 parent ef6d529 commit e19a377

File tree

9 files changed

+76
-76
lines changed

9 files changed

+76
-76
lines changed

packages/runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"zod-validation-error": "^1.5.0"
112112
},
113113
"peerDependencies": {
114-
"@prisma/client": "5.0.0 - 5.21.x"
114+
"@prisma/client": "5.0.0 - 5.22.x"
115115
},
116116
"author": {
117117
"name": "ZenStack Team"

packages/schema/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@
123123
"zod-validation-error": "^1.5.0"
124124
},
125125
"peerDependencies": {
126-
"prisma": "5.0.0 - 5.21.x"
126+
"prisma": "5.0.0 - 5.22.x"
127127
},
128128
"devDependencies": {
129-
"@prisma/client": "5.21.x",
129+
"@prisma/client": "5.22.x",
130130
"@types/async-exit-hook": "^2.0.0",
131131
"@types/pluralize": "^0.0.29",
132132
"@types/semver": "^7.3.13",

packages/sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"author": "",
1919
"license": "MIT",
2020
"dependencies": {
21-
"@prisma/generator-helper": "5.21.x",
22-
"@prisma/internals": "5.21.x",
21+
"@prisma/generator-helper": "5.22.x",
22+
"@prisma/internals": "5.22.x",
2323
"@zenstackhq/language": "workspace:*",
2424
"@zenstackhq/runtime": "workspace:*",
2525
"langium": "1.3.1",

pnpm-lock.yaml

Lines changed: 62 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

script/test-scaffold.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ function run(cmd: string) {
1919
}
2020

2121
run('npm init -y');
22-
run('npm i --no-audit --no-fund typescript prisma@5.21.x @prisma/client@5.21.x zod decimal.js @types/node');
22+
run('npm i --no-audit --no-fund typescript prisma@5.22.x @prisma/client@5.22.x zod decimal.js @types/node');
2323

2424
console.log('Test scaffold setup complete.');

tests/integration/test-run/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"author": "",
1111
"license": "ISC",
1212
"dependencies": {
13-
"@prisma/client": "5.21.x",
13+
"@prisma/client": "5.22.x",
1414
"@zenstackhq/runtime": "file:../../../packages/runtime/dist",
15-
"prisma": "5.21.x",
15+
"prisma": "5.22.x",
1616
"react": "^18.2.0",
1717
"swr": "^1.3.0",
1818
"typescript": "^4.9.3",

tests/integration/tests/cli/plugins.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ describe('CLI Plugins Tests', () => {
7575
'swr',
7676
'@tanstack/[email protected]',
7777
'@trpc/server',
78-
'@prisma/client@5.21.x',
78+
'@prisma/client@5.22.x',
7979
`${path.join(__dirname, '../../../../.build/zenstackhq-language-' + ver + '.tgz')}`,
8080
`${path.join(__dirname, '../../../../.build/zenstackhq-sdk-' + ver + '.tgz')}`,
8181
`${path.join(__dirname, '../../../../.build/zenstackhq-runtime-' + ver + '.tgz')}`,
@@ -85,7 +85,7 @@ describe('CLI Plugins Tests', () => {
8585
const devDepPkgs = [
8686
'typescript',
8787
'@types/react',
88-
'prisma@5.21.x',
88+
'prisma@5.22.x',
8989
`${path.join(__dirname, '../../../../.build/zenstack-' + ver + '.tgz')}`,
9090
`${path.join(__dirname, '../../../../.build/zenstackhq-tanstack-query-' + ver + '.tgz')}`,
9191
`${path.join(__dirname, '../../../../.build/zenstackhq-swr-' + ver + '.tgz')}`,

0 commit comments

Comments
 (0)