Skip to content

chore(dependabot): group npm packages that must be upgraded atomically (AI-assisted) - #12664

Merged
slorber merged 1 commit into
mainfrom
claude/dependabot-atomic-groups-26e814
Oct 15, 2026
Merged

slorber merged 1 commit into
mainfrom
claude/dependabot-atomic-groups-26e814

Conversation

@slorber

@slorber slorber commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Pre-flight checklist

  • I have read the Contributing Guidelines on pull requests.
  • If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
  • If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

Dependabot opens one PR per package, so packages that must be upgraded together are split into separate PRs. Merging only one of them leaves the monorepo in a broken or degraded state, as happened with @typescript-eslint/utils in #12638 (fixed in #12634).

This PR adds Dependabot groups for packages that must be upgraded atomically:

Group Packages Why
typescript-eslint typescript-eslint, @typescript-eslint/* Released in lockstep, mixing versions breaks typechecking (#12634)
react react, react-dom React 19 react-dom throws "Incompatible React versions" in dev and SSR unless both versions are exactly the same
react-types @types/react, @types/react-dom @types/react-dom has a peer dependency on the same @types/react version
react-router react-router, react-router-dom react-router-dom pins an exact react-router version; mixing them duplicates react-router and its Router context. Dependabot already opened split PRs for them (#12575, #12577)
workbox workbox-* All Workbox packages pin an exact workbox-core version; mixing them bundles duplicate workbox-core copies in the service worker (the website's sw.js imports workbox-routing/workbox-strategies, plugin-pwa imports workbox-precaching)
svgr @svgr/* @svgr/webpack pins exact @svgr/core and @svgr/plugin-* versions
rsdoctor @rsdoctor/* Both Rsdoctor plugins pin exact @rsdoctor/core, @rsdoctor/sdk, etc. versions

Considered but not added, because mixing versions doesn't break anything:

  • eslint + @eslint/js: released in lockstep, but the monorepo already uses @eslint/js v10 with eslint v9.
  • stylelint + stylelint-config-standard, @rspack/core + @rspack/dev-server: only coupled through peer dependencies on major versions.
  • @swc/core + @swc/html: released together, but they're independent native packages.
  • @babel/*: packages are versioned independently.

Note: this PR also contains the typescript-eslint group added in #12634. Whichever PR merges second will have a trivial conflict in .github/dependabot.yml.

Test Plan

  • Checked the dependency and peer dependency declarations in the installed packages
  • oxfmt --check and YAML parsing of .github/dependabot.yml

Dependabot validates the config once it's merged to main.

Test links

Deploy preview: https://deploy-preview-12664--docusaurus-2.netlify.app/

Related issues/PRs

(AI-assisted)

🤖 Generated with Claude Code

…y (AI-assisted)

Add Dependabot groups for packages released in lockstep, where upgrading
only one of them breaks typechecking, SSR or the runtime, or duplicates
internal packages: typescript-eslint, react, @types/react, react-router,
workbox, svgr, rsdoctor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@slorber
slorber requested a review from Josh-Cena as a code owner October 15, 2026 20:14
@slorber slorber added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label Oct 15, 2026
@meta-cla meta-cla Bot added the CLA Signed Signed Facebook CLA label Oct 15, 2026
@netlify

netlify Bot commented Oct 15, 2026

Copy link
Copy Markdown

✅ [V2]

Name Link
🔨 Latest commit a730225
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6ad1342b1e8bece3f655c0b5
😎 Deploy Preview https://deploy-preview-12664--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@slorber
slorber merged commit ddfbfa9 into main Oct 15, 2026
17 checks passed
@slorber
slorber deleted the claude/dependabot-atomic-groups-26e814 branch October 15, 2026 20:16
@github-actions

Copy link
Copy Markdown

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🟠 73 🟢 98 🟢 100 🟢 100 Report
/docs/installation 🟠 52 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 71 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 66 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 67 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 68 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 69 🟢 100 🟢 100 🟠 86 Report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant