Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 10 additions & 52 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@
extends: [ 'monorepo:wordpress' ],
separateMajorMinor: false,
prPriority: 1,
// Teams that can help test the bundled packages (dataviews, ui, build, the widget
// dashboard...), which are not externalized to WordPress and can change product UIs.
additionalReviewers: [
'team:jetpack-social', // Social
'team:jetpack-my-jetpack', // My Jetpack
'team:loop', // Newsletter dashboard & subscriber management
'team:jetpack-newsletter', // Newsletter dashboard & subscriber management
'team:jetpack-forms', // Forms and related component work
'team:jetpack-stats', // Premium Analytics
],
},
{
extends: [ 'monorepo:react' ],
Expand Down Expand Up @@ -114,58 +124,6 @@
additionalReviewers: [ 'team:qualityops' ],
},

// Bundled WordPress dependencies are separated from 'monorepo:wordpress' while
// they're still considered unstable and can have significant breaking changes.
// Since they're not externalized to WP, they have higher chance of impacting functionality.
//
// Some related packages are included here too.
{
groupName: 'Bundled @wordpress/* monorepo',
matchPackageNames: [
// Bundled packages, from the list at https://github.com/WordPress/gutenberg/blob/trunk/packages/dependency-extraction-webpack-plugin/lib/util.js#L2
'@wordpress/admin-ui',
'@wordpress/dataviews',
'@wordpress/fields',
'@wordpress/icons',
'@wordpress/interface',
'@wordpress/style-runtime',
'@wordpress/ui',
'@wordpress/undo-manager',
'@wordpress/views',
// Additional packages polyfilled by wp-build-polyfills, which need to be kept in sync with each other.
'@wordpress/a11y',
'@wordpress/boot',
'@wordpress/notices',
'@wordpress/private-apis',
'@wordpress/rich-text',
'@wordpress/route',
'@wordpress/theme',
// Bundled into the rich-text polyfill (rich-text unlocks its private
// APIs at module scope), so it must move in lockstep with rich-text.
'@wordpress/compose',
// Not polyfilled, but notices' store types are generated against data's generics
// (notices 5.53 needs data ^10.53), so data has to move on the same train as notices.
'@wordpress/data',
// @wordpress/build is still heavily developed; its dashboards share the same bundled
// packages and test surface, so exercising build alongside the rest is practical.
'@wordpress/build',
// Widgets Dashboard packages used by Premium Analytics
'@wordpress/grid',
'@wordpress/widget-dashboard',
'@wordpress/widget-primitives',
],
separateMajorMinor: false,
// Teams that can help test the update
additionalReviewers: [
'team:jetpack-social', // Social
'team:jetpack-my-jetpack', // My Jetpack
'team:loop', // Newsletter dashboard & subscriber management
'team:jetpack-newsletter', // Newsletter dashboard & subscriber management
'team:jetpack-forms', // Forms and related component work
'team:jetpack-stats', // Premium Analytics
],
},

// 🤷
{
groupName: 'Instant Search Dependency Updates',
Expand Down
25 changes: 2 additions & 23 deletions .pnpmfile.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ async function fixDeps( pkg ) {
pkg.peerDependencies[ dep ] = ver.replace( /^\^?/, '>=' );
}
}
// Broaden this one further, because they're linked upstream but we update them in different Renovate PRs.
// Broaden this one further until after this is merged and Renovate does a run:
// https://github.com/Automattic/jetpack/pull/52316
if ( pkg.peerDependencies[ '@wordpress/theme' ] ) {
pkg.peerDependencies[ '@wordpress/theme' ] = '*';
}
Expand All @@ -83,10 +84,6 @@ async function fixDeps( pkg ) {
delete pkg.dependencies[ dep ];
pkg.peerDependencies[ dep ] = ver.startsWith( '>' ) ? ver : ver.replace( /^\^?/, '>=' );
}
// Broaden this one further, because they're linked upstream but we update them in different Renovate PRs.
if ( pkg.peerDependencies[ '@wordpress/theme' ] ) {
pkg.peerDependencies[ '@wordpress/theme' ] = '*';
}
}

// Outdated dependencies
Expand Down Expand Up @@ -234,16 +231,6 @@ function fixPeerDeps( pkg ) {
}
}

// @wordpress/build's optional peer on @wordpress/theme stops below 2.0.0, blocking the theme 2.x
// that @wordpress/ui and @wordpress/boot require. Widened upstream, drop once a release carries it.
// @see https://github.com/WordPress/gutenberg/pull/82139
if (
pkg.name === '@wordpress/build' &&
pkg.peerDependencies?.[ '@wordpress/theme' ] === '>=0.8.0 <2.0.0'
) {
pkg.peerDependencies[ '@wordpress/theme' ] = '>=0.8.0 <3.0.0';
}

// We use this under tsdown (Rolldown), not Rollup. The `rollup` peer is only used for one TypeScript type, and it being missing apparently makes no difference in our usage.
// @see https://github.com/mjeanroy/rollup-plugin-license/issues/2110
if ( pkg.name === 'rollup-plugin-license' ) {
Expand All @@ -260,14 +247,6 @@ function fixPeerDeps( pkg ) {
pkg.peerDependenciesMeta[ '@size-limit/file' ] = { optional: true };
}

// Outdated peer dependency because Gutenberg is still on node 20.
if (
pkg.name === '@wordpress/e2e-test-utils-playwright' &&
! pkg.peerDependencies?.[ '@types/node' ]?.includes( '^24.' )
) {
pkg.peerDependencies[ '@types/node' ] += ' || ^24.0.0';
}

// Outdated dependency because Calypso is still on node 22.
if (
pkg.name === '@automattic/calypso-config' &&
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Significance: patch
Type: changed
Comment: Drop the webpack config comment that pointed at the Renovate group merged into monorepo:wordpress.
3 changes: 0 additions & 3 deletions projects/packages/wp-build-polyfills/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,6 @@ const disabledPlugins = {
};

// ── Polyfill definitions ────────────────────────────────────────────────────
//
// If adding or removing something here, you'll probably also want to add or remove it
// from the "Bundled @wordpress/* monorepo" group in `.github/renovate.json5`.

const classicPolyfills = [
{
Expand Down
Loading