Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"trpc-nuxt": "^0.10.22",
"vue": "latest",
"vue-router": "latest",
"zod": "^4.0.0"
"zod": "^3.25.0"
},
"devDependencies": {
"esbuild": "^0.24.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"trpc-nuxt": "^0.11.0-beta.1",
"vue": "latest",
"vue-router": "latest",
"zod": "^4.0.0"
"zod": "^3.25.0"
},
"devDependencies": {
"esbuild": "^0.24.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"superjson": "^2.2.1",
"zod": "^4.0.0"
"zod": "^3.25.0"
},
"devDependencies": {
"@types/eslint": "^8.44.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"react-dom": "^18.3.1",
"server-only": "^0.0.1",
"superjson": "^2.2.1",
"zod": "^4.0.0"
"zod": "^3.25.0"
},
"devDependencies": {
"@types/eslint": "^8.56.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"decimal.js-light": "^2.5.1",
"superjson": "^1.13.0",
"uuid": "^9.0.0",
"zod": "^4.0.0"
"zod": "^3.25.0"
},
"peerDependencies": {
"@prisma/client": "5.0.0 - 6.15.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"nuxt": "^3.7.4",
"reflect-metadata": "^0.2.2",
"supertest": "^6.3.3",
"zod": "^4.0.0"
"zod": "^3.25.0"
},
"exports": {
"./package.json": "./package.json",
Expand Down
21 changes: 15 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ packages:
catalog:
ts-morph: ^26.0.0
typescript: ~5.8.0
zod: ^4.0.0
zod: ^3.25.0 || ^4.0.0
zod-validation-error: ^4.0.0
2 changes: 1 addition & 1 deletion script/test-scaffold.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function run(cmd: string) {

run('npm init -y');
run(
'npm i --no-audit --no-fund typescript@~5.8.0 prisma@6.11.x @prisma/client@6.11.x zod@^4.0.0 decimal.js @types/node'
'npm i --no-audit --no-fund typescript@~5.8.0 prisma@6.11.x @prisma/client@6.11.x zod@^3.25.0 decimal.js @types/node'
);

console.log('Test scaffold setup complete.');
2 changes: 1 addition & 1 deletion tests/integration/test-run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"react": "^18.2.0",
"swr": "^1.3.0",
"zenstack": "file:../../../packages/schema/dist",
"zod": "^4.0.0"
"zod": "^3.25.0"
}
}
2 changes: 1 addition & 1 deletion tests/integration/tests/cli/generate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ model Post {
// set up project
fs.writeFileSync('package.json', JSON.stringify({ name: 'my app', version: '1.0.0' }));
createNpmrc();
installPackage('prisma @prisma/client zod@^4.0.0');
installPackage('prisma @prisma/client zod@^3.25.0');
installPackage(path.join(__dirname, '../../../../packages/runtime/dist'));

// set up schema
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/tests/cli/plugins.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('CLI Plugins Tests', () => {
// deps
const ver = require('../../../../packages/schema/package.json').version;
const depPkgs = [
'zod@^4.0.0',
'zod@^3.25.0',
'react',
'swr',
'@tanstack/react-query@5.56.x',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"superjson": "^1.13.0",
"swr": "^2.2.0",
"typescript": "5.x",
"zod": "^4.0.0",
"zod": "^3.25.0",
"@zenstackhq/language": "../../../../../../../packages/language/dist",
"@zenstackhq/runtime": "../../../../../../../packages/runtime/dist",
"@zenstackhq/sdk": "../../../../../../../packages/sdk/dist",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"react-dom": "18.2.0",
"superjson": "^1.13.0",
"typescript": "5.x",
"zod": "^4.0.0",
"zod": "^3.25.0",
"@zenstackhq/language": "../../../../../../../packages/language/dist",
"@zenstackhq/runtime": "../../../../../../../packages/runtime/dist",
"@zenstackhq/sdk": "../../../../../../../packages/sdk/dist",
Expand Down
Loading