Repository navigation
chore(dependabot): group npm packages that must be upgraded atomically (AI-assisted) - #12664
Merged
Merged
Conversation
…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]>
✅ [V2]
To edit notification comments on pull requests, go to your Netlify project configuration. |
2 of 3 tasks
⚡️ Lighthouse report for the deploy preview of this PR
|
Merged
1 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pre-flight checklist
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/utilsin #12638 (fixed in #12634).This PR adds Dependabot groups for packages that must be upgraded atomically:
typescript-eslinttypescript-eslint,@typescript-eslint/*reactreact,react-domreact-domthrows "Incompatible React versions" in dev and SSR unless both versions are exactly the samereact-types@types/react,@types/react-dom@types/react-domhas a peer dependency on the same@types/reactversionreact-routerreact-router,react-router-domreact-router-dompins an exactreact-routerversion; mixing them duplicatesreact-routerand its Router context. Dependabot already opened split PRs for them (#12575, #12577)workboxworkbox-*workbox-coreversion; mixing them bundles duplicateworkbox-corecopies in the service worker (the website'ssw.jsimportsworkbox-routing/workbox-strategies,plugin-pwaimportsworkbox-precaching)svgr@svgr/*@svgr/webpackpins exact@svgr/coreand@svgr/plugin-*versionsrsdoctor@rsdoctor/*@rsdoctor/core,@rsdoctor/sdk, etc. versionsConsidered but not added, because mixing versions doesn't break anything:
eslint+@eslint/js: released in lockstep, but the monorepo already uses@eslint/jsv10 witheslintv9.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-eslintgroup added in #12634. Whichever PR merges second will have a trivial conflict in.github/dependabot.yml.Test Plan
oxfmt --checkand YAML parsing of.github/dependabot.ymlDependabot validates the config once it's merged to
main.Test links
Deploy preview: https://deploy-preview-12664--docusaurus-2.netlify.app/
Related issues/PRs
pnpm typecheck:testsscript, fix existing test type errors (AI-assisted) #12634codeql-actiongroup)(AI-assisted)
🤖 Generated with Claude Code