You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: improve Prisma version resolution for pnpm workspaces
- Fix package.json resolution bug that could pick wrong package in pnpm workspaces
- Add fallback to read version directly from node_modules/@prisma/client
- Support workspace: protocol by extracting explicit versions
- Provide helpful error messages for catalog: references
- Zero new dependencies added
Fixes issue where Prisma extension would select wrong version when using pnpm workspaces
without explicit version in trigger.config.ts
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
// If still no version, try to read from installed node_modules
107
109
if(!version){
108
-
thrownewError(
109
-
`PrismaExtension could not determine the version of @prisma/client. It's possible that the @prisma/client was not used in the project. If this isn't the case, please provide a version in the PrismaExtension options.`
110
-
);
110
+
// First, try to read the actual installed @prisma/client version
0 commit comments