-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
Only generate the prisma client if it's not found #3855
Conversation
🦋 Changeset detectedLatest commit: 6185f2e The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure it works in monorepos?
From what I saw, it finds a prisma client in the monorepo's root node_modules
, while I guess it should look for a particular app's node_modules
.
Closes: #3801 , #3776
What are the changes and their implications?
Only generate the prisma client if it's not found. It checks for both
@prisma/client
and.prisma
.