Skip to content

chore: keep prisma CLI and client in one dependabot group - #15

Merged
iblh merged 1 commit into
mainfrom
chore/dependabot-prisma-group
Sep 17, 2026
Merged

iblh merged 1 commit into
mainfrom
chore/dependabot-prisma-group

Conversation

@iblh

@iblh iblh commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Why

prisma (the CLI) is a devDependency and @prisma/client is a dependency, so the dependency-type groups split them across two separate PRs. The two packages must move together — a mismatched pair fails prisma generate during postinstall:

Error: Cannot find module '.../@prisma+client@7.10.0_prisma@6.2.1_.../generator-build/index.js'

and from the other side:

Error code: P1012
error: The datasource property `url` is no longer supported in schema files.

This has now happened three times: #6/#7, then #10/#11, then #10/#14. Every one of those six PRs was closed unmerged because neither half could pass CI on its own.

What changed

Group prisma and @prisma/* by name, and exclude them from both dependency-type groups so they cannot be split again. Prisma upgrades will now arrive as a single reviewable PR.

Test plan

  • Dependabot's next weekly run opens one Prisma PR instead of two halves
  • Non-Prisma production and development groups still open as before

Note: this only fixes the grouping. The actual Prisma 7 upgrade still needs its own PR — it requires bumping client + CLI together, adding prisma.config.ts, and moving datasource.url out of prisma/schema.prisma.

🤖 Generated with Claude Code

`prisma` is a devDependency and `@prisma/client` is a dependency, so the
dependency-type groups split them across two PRs. The two packages must
move together -- a mismatched pair fails `prisma generate` in postinstall:

  Error: Cannot find module
  '.../@prisma+client@7.10.0_prisma@6.2.1_.../generator-build/index.js'

That is what broke #6/#7, then #10/#11, then #10/#14; each pair was closed
unmerged. Group the two packages by name and exclude them from the
dependency-type groups so Prisma upgrades arrive as a single reviewable PR.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
uplotr Ready Ready Preview Sep 14, 2026 7:35am UTC

@iblh
iblh merged commit ac0fdb9 into main Sep 17, 2026
4 checks passed
@iblh
iblh deleted the chore/dependabot-prisma-group branch September 17, 2026 19:29

This branch was successfully deployed

1 active deployment
Preview 4a1210bf Deployed Sep 14, 2026 by vercel[bot]
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.

1 participant