Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a16f966
Update Bundled @wordpress/* monorepo
renovate-bot Sep 10, 2026
8c71400
Fix patch for `@wordpress/build` v0.23.0
anomiex Sep 10, 2026
46e721f
Merge remote-tracking branch 'origin/trunk' into renovate/bundled-@wo…
retrofox Sep 14, 2026
2a61458
align protect a11y pin with the bundled group
retrofox Sep 14, 2026
731c566
Backup: report unknown activity totals as null to DataViews
retrofox Sep 14, 2026
4e737dd
wp-build-polyfills: keep reusable-blocks on the private-apis allowlist
retrofox Sep 14, 2026
ef3b1f0
Premium Analytics: cast the report params Edit control like its key
retrofox Sep 14, 2026
f0e81b1
Merge remote-tracking branch 'origin/trunk' into renovate/bundled-@wo…
retrofox Sep 14, 2026
ed3f312
Boost: expect the theme 2.1 warning color in the overview e2e
retrofox Sep 14, 2026
08a70ae
update @wordpress/* packages to the .55 train
retrofox Sep 14, 2026
3720958
pnpmfile: drop the dataviews dependency hack
retrofox Sep 14, 2026
d83cd3c
Merge remote-tracking branch 'origin/trunk' into renovate/bundled-@wo…
retrofox Sep 14, 2026
657f8b0
refresh the pnpmfile checksum in the lockfile
retrofox Sep 14, 2026
590b109
Merge remote-tracking branch 'origin/trunk' into renovate/bundled-@wo…
retrofox Sep 15, 2026
96c39ac
align My Jetpack wp-build pins with the round
retrofox Sep 15, 2026
92f6ee1
dedupe the lockfile after the trunk merge
retrofox Sep 15, 2026
db49677
Forms: assert the console error useCreateForm logs
retrofox Sep 15, 2026
670b673
Charts: wrap useElementSize test updates in act()
retrofox Sep 15, 2026
669e09f
Social: pre-fill the Bluesky handle on reconnect
retrofox Sep 15, 2026
43072f4
Jetpack: await the Newsletter email toggle in its test
retrofox Sep 15, 2026
b5bf678
Jetpack: fix the Popover ignoreContext prop type
retrofox Sep 15, 2026
e5151b7
VideoPress: narrow the files transform before calling it
retrofox Sep 15, 2026
bfddfc0
e2e: accept both labels of the preview menu item
retrofox Sep 15, 2026
a628506
e2e: match the View button exactly
retrofox Sep 15, 2026
008a1f7
PayPal: drop the spy tracking jest-console needed
retrofox Sep 15, 2026
655bbc1
recolor stroke-based icons with color, not fill
retrofox Sep 15, 2026
984da3b
Merge remote-tracking branch 'origin/trunk' into renovate/bundled-@wo…
retrofox Sep 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .pnpm-patches/@wordpress__build.patch
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,3 @@ index 96c4627..48fcf28 100644
@@ -182 +201 @@
- JS;
+JS;
@@ -331 +350,6 @@
- <div id="{{PAGE_SLUG}}-wp-admin-app"></div>
+ <?php
+ // Core's pre-CSS Modules Boot layout uses this class for viewport sizing.
+ // Remove it when the minimum supported WordPress version includes the Boot
+ // changes from Gutenberg #81756.
+ ?>
+ <div id="{{PAGE_SLUG}}-wp-admin-app" class="boot-layout-container"></div>
80 changes: 1 addition & 79 deletions .pnpmfile.cjs
Original file line number Diff line number Diff line change
@@ -1,54 +1,3 @@
// Packages we need to copy versions from for `@wordpress/dataviews/wp`.
const wpPkgs = [
[ '@wordpress/components', 'change-case' ],
[ '@wordpress/components', '@emotion/cache' ],
[ '@wordpress/components', '@emotion/css' ],
[ '@wordpress/components', '@emotion/react' ],
[ '@wordpress/components', '@emotion/styled' ],
[ '@wordpress/components', '@emotion/utils' ],
[ '@wordpress/components', '@floating-ui/react-dom' ],
[ '@wordpress/components', 'framer-motion' ],
[ '@wordpress/components', 'highlight-words-core' ],
[ '@wordpress/components', 'is-plain-object' ],
[ '@wordpress/components', 'memize' ],
[ '@wordpress/components', '@use-gesture/react' ],
[ '@wordpress/components', 'uuid' ],
[ '@wordpress/components', '@wordpress/hooks' ],
[ '@wordpress/components', 'react-colorful' ],
[ '@wordpress/data', 'use-memo-one' ],
[ '@wordpress/ui', '@base-ui/react' ],
[ '@wordpress/ui', '@daypicker/react' ],
[ '@wordpress/ui', '@wordpress/theme', 'colorjs.io' ],
];
const wpPkgFetches = {};
const wpPkgsUsed = new Set();
const addWpPkgDep = async ( pkg, fromPkg, ver, deplist ) => {
const [ dep, ...rest ] = deplist;

if ( ! wpPkgFetches[ fromPkg ] ) {
wpPkgFetches[ fromPkg ] = fetch( `https://registry.npmjs.org/${ fromPkg }` ).then( r =>
r.json()
);
}
const deps = ( await wpPkgFetches[ fromPkg ] ).versions[ ver ].dependencies;

if ( rest.length > 0 ) {
if ( deps[ dep ] === undefined ) {
// This version of the package lacks the dep? We'll check in afterAllResolved for no version having it.
return;
}
const ver2 = deps[ dep ].replace( /^\^/, '' ).replace( /\+[0-9a-f]+$/, '' );
await addWpPkgDep( pkg, dep, ver2, rest );
} else {
if ( deps[ dep ] === undefined ) {
// Ditto.
return;
}
wpPkgsUsed.add( dep );
pkg.optionalDependencies[ dep ] = deps[ dep ];
}
};

/**
* Fix package dependencies.
*
Expand Down Expand Up @@ -146,21 +95,6 @@ async function fixDeps( pkg ) {
pkg.peerDependencies.react = '^18';
}

// We need to add the missing deps for `@wordpress/dataviews` because
// the build fails when using pnpm with hoisting.
// @see https://github.com/WordPress/gutenberg/issues/67864
if ( pkg.name === '@wordpress/dataviews' ) {
for ( const deplist of wpPkgs ) {
const [ fromPkg, ...rest ] = deplist;
if ( ! pkg.dependencies[ fromPkg ] ) {
// Old version of dataviews lacks a new dep? We'll check in afterAllResolved for it being an old dep instead.
continue;
}
const ver = pkg.dependencies[ fromPkg ].replace( /^\^/, '' ).replace( /\+[0-9a-f]+$/, '' );
await addWpPkgDep( pkg, fromPkg, ver, rest );
}
}

// Turn @wordpress/eslint-plugin's eslint plugin deps into peer deps.
// https://github.com/WordPress/gutenberg/issues/39810
if ( pkg.name === '@wordpress/eslint-plugin' ) {
Expand Down Expand Up @@ -447,10 +381,9 @@ async function readPackage( pkg, context ) {
*
* @see https://pnpm.io/pnpmfile#hooksafterallresolvedlockfile-context-lockfile--promiselockfile
* @param {object} lockfile - Lockfile data.
* @param {object} context - Pnpm object of some sort.
* @return {object} Modified lockfile.
*/
function afterAllResolved( lockfile, context ) {
function afterAllResolved( lockfile ) {
// If there's only one "importer", it's probably pnpx rather than the monorepo. Don't interfere.
if ( Object.keys( lockfile.importers ).length === 1 ) {
return lockfile;
Expand Down Expand Up @@ -489,17 +422,6 @@ function afterAllResolved( lockfile, context ) {
}
}

for ( const deplist of wpPkgs ) {
for ( const dep of deplist ) {
if ( ! wpPkgFetches[ dep ] && ! wpPkgsUsed.has( dep ) ) {
context.log(
// prettier-ignore
`pnpmfile hack needs updating: wpPkgs entry [ ${ deplist.join( ', ' ) } ] was not used. Is it obsolete?`
);
}
}
}

return lockfile;
}

Expand Down
Loading
Loading