From e3d1151f2e1d420963c2e1bb391fb08860213ec1 Mon Sep 17 00:00:00 2001 From: Mikael Korpela Date: Tue, 28 Jul 2026 16:49:10 +0300 Subject: [PATCH 1/2] Renovate: merge WP deps config blocks --- .github/renovate.json5 | 60 ++++--------------- .../update-renovate-wordpress-monorepo | 3 + .../wp-build-polyfills/webpack.config.js | 3 +- 3 files changed, 15 insertions(+), 51 deletions(-) create mode 100644 projects/packages/wp-build-polyfills/changelog/update-renovate-wordpress-monorepo diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 8a522833e3bd..7b32e0cda2d6 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -51,6 +51,17 @@ extends: [ 'monorepo:wordpress' ], separateMajorMinor: false, prPriority: 1, + // Bundled WordPress dependencies are still considered unstable and can have + // significant breaking changes. Since they're not externalized to WP, they have + // a higher chance of impacting functionality. + 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' ], @@ -110,55 +121,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', - // 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', - '@wordpress/notices', - '@wordpress/private-apis', - '@wordpress/rich-text', - '@wordpress/route', - '@wordpress/theme', - // @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', diff --git a/projects/packages/wp-build-polyfills/changelog/update-renovate-wordpress-monorepo b/projects/packages/wp-build-polyfills/changelog/update-renovate-wordpress-monorepo new file mode 100644 index 000000000000..65f58009c8e3 --- /dev/null +++ b/projects/packages/wp-build-polyfills/changelog/update-renovate-wordpress-monorepo @@ -0,0 +1,3 @@ +Significance: patch +Type: changed +Comment: Update comment after Renovate config change. diff --git a/projects/packages/wp-build-polyfills/webpack.config.js b/projects/packages/wp-build-polyfills/webpack.config.js index 94c0b7d4e11a..8dadecff3315 100644 --- a/projects/packages/wp-build-polyfills/webpack.config.js +++ b/projects/packages/wp-build-polyfills/webpack.config.js @@ -170,8 +170,7 @@ 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`. +// Keep these package versions in sync with each other. const classicPolyfills = [ { From b19474804952fe399be353b511a14a2b53d6cab6 Mon Sep 17 00:00:00 2001 From: Mikael Korpela Date: Mon, 17 Aug 2026 13:22:03 +0300 Subject: [PATCH 2/2] Update webpack.config.js --- projects/packages/wp-build-polyfills/webpack.config.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/projects/packages/wp-build-polyfills/webpack.config.js b/projects/packages/wp-build-polyfills/webpack.config.js index 8dadecff3315..37c8b65e6c71 100644 --- a/projects/packages/wp-build-polyfills/webpack.config.js +++ b/projects/packages/wp-build-polyfills/webpack.config.js @@ -169,8 +169,6 @@ const disabledPlugins = { }; // ── Polyfill definitions ──────────────────────────────────────────────────── -// -// Keep these package versions in sync with each other. const classicPolyfills = [ {