Repository navigation
Pin react and react-dom to one version and bump them together - #1715
Merged
Merged
Conversation
Dependabot bumped react to 19.3.1 on its own and left react-dom at 19.3.0. The docs build refuses mismatched React versions, so Deploy Docs failed on every commit to main. Pin both to 19.3.1 exactly, and group them in the Dependabot config so a later bump moves both in one pull request.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Closes #1714.
Summary
mainwithIncompatible React versions: The "react" and "react-dom" packages must have the exact same version. Dependabot bumpedreactto 19.3.1 on its own (Bump react from 19.3.0 to 19.3.1 in /docs.agent-actions #1576) and leftreact-domat 19.3.0.docs.agent-actions/package.jsonpins both to19.3.1exactly, andpackage-lock.jsonresolvesreact-dom19.3.1 (integrity matchesnpm view react-dom@19.3.1 dist.integrity). The lockfile diff is only those entries..github/dependabot.ymlgroupsreactandreact-domfor the docs npm updates, so a later bump moves both in one pull request.Verification
docs.agent-actions/,npm ci && npm run build(the Deploy Docs steps), on this branch:[SUCCESS] Generated static files in "build".main'spackage.jsonand lockfile:[ERROR] Error: Unable to build website for locale en.with[cause]: Error: Incompatible React versions. That is the error in the issue..github/dependabot.ymlparses as YAML.