Skip to content
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

fix: make prisma packages optional #2602

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

Cherry
Copy link
Contributor

@Cherry Cherry commented Jul 8, 2024

Similar to #1714, #2478 added a Prisma driver, but didn't mark the dependencies as optional, resulting in both prisma and @prisma/client being installed with every drizzle-orm install now.

This results in unnecessary inflation of node_modules in projects that do not use prisma.

@AndriiSherman
Copy link
Member

thanks! merging it right after all checks are completed

@AndriiSherman
Copy link
Member

that error is fine, I'll fix test runs for forks before releasing this patch

@Cherry
Copy link
Contributor Author

Cherry commented Jul 8, 2024

Thank you! ❤️

@AndriiSherman AndriiSherman merged commit 0865432 into drizzle-team:main Jul 8, 2024
6 of 7 checks passed
@Cherry Cherry deleted the fix/prisma-optional-dep branch July 8, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants