-
-
Notifications
You must be signed in to change notification settings - Fork 17
Update Prisma Dependencies #33
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
base: master
Are you sure you want to change the base?
Update Prisma Dependencies #33
Conversation
Update Prisma Dependencies to make Prisma Runtime a peerDependency, enabling compatibility with all versions (provided by consuming package)
WalkthroughElementary, the case unfolds with surgical precision. The package configuration has been restructured, promoting Prisma dependencies from the common dependencies to peerDependencies, whilst simultaneously bumping the internal Prisma toolchain to version ^7. The culprit—dependency version conflicts—is thus neutralized with one decisive maneuver. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes The modification is confined to a single file with straightforward dependency reorganization following a consistent pattern. No logic changes or multi-file impact. Poem
Pre-merge checks✅ Passed checks (5 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (6)📚 Learning: 2025-09-17T01:40:46.965ZApplied to files:
📚 Learning: 2025-09-17T01:40:46.965ZApplied to files:
📚 Learning: 2025-09-17T01:40:46.965ZApplied to files:
📚 Learning: 2025-09-17T01:40:46.965ZApplied to files:
📚 Learning: 2025-09-17T01:40:46.965ZApplied to files:
📚 Learning: 2025-09-17T01:40:46.965ZApplied to files:
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Update Prisma Dependencies to make Prisma Runtime a peerDependency, enabling compatibility with all versions (provided by consuming package)
Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
When using Prisma 7+, as the
@prisma/clientruntime dependency is flagged as adependencyand not apeerDependencyonpackage.json, it overwrites the current version, and breaks everything.The fix is as easy as transferring all the runtime dependencies to
peerDependencies.References
Closes #32
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.