chore(renovate): group @wordpress/* updates and run npm dedupe#1895
Merged
Conversation
Adds the monorepo:wordpress preset so all @wordpress/* direct deps (scripts, eslint-plugin, e2e-test-utils-playwright, etc.) bump in a single PR. Combined with postUpdateOptions: [npmDedupe] this lets Renovate produce a coherent lockfile when @wordpress/scripts requires a newer transitive @wordpress/* on a new React major. Motivated by PR #1891, where @wordpress/scripts@32.3.0 (React 19) was bumped but @wordpress/babel-preset-default, @wordpress/element, and @wordpress/theme stayed pinned on React 18 in the lockfile, causing a persistent ERESOLVE peer-dep failure in CI.
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.
Refs #1891.
Renovate cannot regenerate
package-lock.jsonwhen@wordpress/scriptscrosses a React major because other@wordpress/*transitives stay pinned to the older React. Grouping the WordPress monorepo updates and runningnpm dedupeafter the install lets the resolver pull compatible transitive versions in the same PR.monorepo:wordpresspreset to group all@wordpress/*direct deps into one PRpostUpdateOptions: ["npmDedupe"]so Renovate runsnpm dedupeafter each updateChecklist
contributing.md).Release Changelog
Release Checklist
masterbranch.readme.txt.stream.php.Stable taginreadme.txt.classes/class-plugin.php.Change
[ ]to[x]to mark the items as done.