Skip to content

chore(deps): update next and @opennextjs/cloudflare in one Dependabot group - #187

Merged
anurag629 merged 1 commit into
developfrom
chore/dependabot-next-group
Oct 17, 2026
Merged

anurag629 merged 1 commit into
developfrom
chore/dependabot-next-group

Conversation

@anurag629

Copy link
Copy Markdown
Member

What and why

Dependabot opens one PR for next and another for @opennextjs/cloudflare. That's how v0.7.0 broke: #169 moved next to 16.4.0 while OpenNext stayed on 1.20.10, which can't run Next 16.4, and every page threw until #184 moved both.

This adds a next group with next, @opennextjs/cloudflare and eslint-config-next, so their updates arrive in one PR and get tested together. Dependabot puts a dependency in the first group it matches, so the group sits above dev-dependencies; otherwise eslint-config-next would stay in that one.

What it doesn't cover:

  • Groups apply to version updates only (the default for applies-to), so a security update for next still comes on its own.
  • If Next ships before OpenNext supports it, the grouped PR still has the new next with the current OpenNext.

#186 is what catches both of those: CI now runs the built Worker, so a bad pair fails the PR instead of production.

How I tested this

  • Parsed the file with PyYAML: next has the three patterns and comes before dev-dependencies.
  • Checked the keys and the first-match rule against GitHub's Dependabot options reference.

The first real test is the next weekly run.

Type of change

  • Refactor or cleanup

@anurag629
anurag629 merged commit 689a201 into develop Oct 17, 2026
3 checks passed
@anurag629
anurag629 deleted the chore/dependabot-next-group branch October 17, 2026 03:09
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