-
-
Notifications
You must be signed in to change notification settings - Fork 116
chore: Improve performance for prisma-client generation #2177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
efe65ec
f5e4e7c
251c699
7cc5f00
f7f85ea
689d013
70a81c6
4b7d813
ba80eda
b220213
ff393da
a1dfdcd
584d8af
0107e1c
8934679
d4fb5ab
a4acf35
8a62f63
79197c6
c017a40
2f69aa8
bf9be5c
88f8c77
3895746
b79a749
53bf340
e835599
d8bc32d
19f4870
9596d33
b73b3de
999fdde
3bfa67c
c882c18
6def505
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -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'); | ||||||
installPackage('prisma @prisma/client zod@3'); | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainTest dependency version pinning looks good, but verify necessity. The explicit pinning to Consider running the following to check if the latest zod version would work: 🏁 Script executed: #!/bin/bash
# Check latest zod version and any breaking changes
curl -s https://api.github.com/repos/colinhacks/zod/releases/latest | jq '.tag_name'
# Check if there are any major version differences that would justify pinning
npm view zod versions --json | jq '.[-10:]' Length of output: 436 Update test to use the latest Zod major version Latest stable Zod release is v4.0.5, so pinning to v3 may be unnecessarily restrictive and could prevent us from catching breaking changes or benefiting from fixes in v4. Unless there’s a specific incompatibility with Zod 4, please update the test setup. • Location: - installPackage('prisma @prisma/client zod@3');
+ installPackage('prisma @prisma/client zod@4'); 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||
installPackage(path.join(__dirname, '../../../../packages/runtime/dist')); | ||||||
|
||||||
// set up schema | ||||||
|
Uh oh!
There was an error while loading. Please reload this page.