Skip to content
Open
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
22 changes: 19 additions & 3 deletions .pnpm-patches/@wordpress__build.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
diff --git a/templates/page-wp-admin.php.template b/templates/page-wp-admin.php.template
index 96c4627..48fcf28 100644
index 5b0d639..ef8b9a1 100644
--- a/templates/page-wp-admin.php.template
+++ b/templates/page-wp-admin.php.template
@@ -171,7 +171,26 @@ function {{PREFIX}}_{{PAGE_SLUG_UNDERSCORE}}_wp_admin_enqueue_scripts( $hook_suf
@@ -147,7 +147,8 @@ function {{PREFIX}}_{{PAGE_SLUG_UNDERSCORE}}_wp_admin_enqueue_scripts( $hook_suf
$current_screen &&
'{{PAGE_SLUG}}' === $current_screen->id &&
isset( $GLOBALS['pagenow'] ) &&
- '{{PAGE_SLUG}}.php' === $GLOBALS['pagenow']
+ // Jetpack serves its pages at admin.php?page=… and aliases the screen ID there.
+ in_array( $GLOBALS['pagenow'], array( '{{PAGE_SLUG}}.php', 'admin.php' ), true )
)
);

@@ -199,7 +200,26 @@ function {{PREFIX}}_{{PAGE_SLUG_UNDERSCORE}}_wp_admin_enqueue_scripts( $hook_suf
( mountId, routes, initModules ) => {
const run = async () => {
const mod = await import( "@wordpress/boot" );
Expand Down Expand Up @@ -30,6 +40,12 @@ index 96c4627..48fcf28 100644
};
if ( document.readyState === "loading" ) {
document.addEventListener( "DOMContentLoaded", run );
@@ -182 +201 @@
@@ -207,7 +227,7 @@ function {{PREFIX}}_{{PAGE_SLUG_UNDERSCORE}}_wp_admin_enqueue_scripts( $hook_suf
run();
}
}
- JS;
+JS;
wp_add_inline_script(
'{{PAGE_SLUG}}-wp-admin-prerequisites',
sprintf(
6 changes: 0 additions & 6 deletions .pnpmfile.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,6 @@ function fixPeerDeps( pkg ) {

// Bump problematic ranges for now; should be safe:
// p1792520152276519-slack-C05Q5HSS013
if (
pkg.name === '@wordpress/build' &&
pkg.peerDependencies?.[ '@wordpress/theme' ] === '>=0.8.0 <3.0.0'
) {
pkg.peerDependencies[ '@wordpress/theme' ] = '>=0.8.0 <=3.0.0';
}
if (
pkg.name === '@automattic/launchpad' &&
pkg.peerDependencies?.[ '@wordpress/i18n' ] === '^6.21.0'
Expand Down
4,981 changes: 2,639 additions & 2,342 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ patchedDependencies:
# the option, so init modules never run there. The patch runs them in the
# inline bootstrap instead. Remove once the template runs init modules itself
# upstream (or Jetpack's WP floor ships a boot with initModules support).
# It also restores the `boot-layout-container` class on the mount element,
# which those older cores' Boot uses to size the page to the viewport; 0.22.0
# dropped it and WordPress/gutenberg#82112 (unreleased) brings it back.
# 0.28.0 also requires $pagenow to be <slug>.php before enqueueing; the patch
# accepts admin.php too, where Jetpack aliases the screen ID to the page slug.
"@wordpress/build": .pnpm-patches/@wordpress__build.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
30 changes: 15 additions & 15 deletions projects/js-packages/ai-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@
"@types/jest": "30.0.0",
"@types/react": "19.3.0",
"@types/wordpress__block-editor": "15.0.8",
"@wordpress/api-fetch": "8.1.0",
"@wordpress/base-styles": "15.0.0",
"@wordpress/blob": "5.1.0",
"@wordpress/block-editor": "20.0.0",
"@wordpress/blocks": "17.1.0",
"@wordpress/components": "44.0.0",
"@wordpress/compose": "9.1.0",
"@wordpress/data": "11.1.0",
"@wordpress/editor": "16.1.0",
"@wordpress/element": "10.1.0",
"@wordpress/i18n": "7.1.0",
"@wordpress/icons": "20.0.0",
"@wordpress/primitives": "5.1.0",
"@wordpress/ui": "0.26.0",
"@wordpress/url": "5.1.0",
"@wordpress/api-fetch": "8.2.0",
"@wordpress/base-styles": "15.1.0",
"@wordpress/blob": "5.2.0",
"@wordpress/block-editor": "20.1.0",
"@wordpress/blocks": "17.2.0",
"@wordpress/components": "45.0.0",
"@wordpress/compose": "9.2.0",
"@wordpress/data": "11.2.0",
"@wordpress/editor": "16.2.0",
"@wordpress/element": "10.2.0",
"@wordpress/i18n": "7.2.0",
"@wordpress/icons": "21.0.0",
"@wordpress/primitives": "5.2.0",
"@wordpress/ui": "0.27.0",
"@wordpress/url": "5.2.0",
"clsx": "2.1.1",
"debug": "4.4.3",
"markdown-it": "14.3.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useAnalytics } from '@automattic/jetpack-shared-extension-utils';
import { Button } from '@wordpress/components';
import { createInterpolateElement } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
import { Icon, cautionFilled as warning } from '@wordpress/icons';
import { Icon, caution as warning } from '@wordpress/icons';
/**
* Internal dependencies
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
2 changes: 1 addition & 1 deletion projects/js-packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"dependencies": {
"@automattic/jetpack-config": "workspace:*",
"@wordpress/url": "5.1.0"
"@wordpress/url": "5.2.0"
},
"devDependencies": {
"jest": "30.5.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
2 changes: 1 addition & 1 deletion projects/js-packages/boost-score-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"watch": "tsgo --project tsconfig.build.json --watch"
},
"dependencies": {
"@wordpress/i18n": "7.1.0",
"@wordpress/i18n": "7.2.0",
"zod": "4.6.6"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
8 changes: 4 additions & 4 deletions projects/js-packages/charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@
"@visx/vendor": "^4.0.0",
"@visx/xychart": "^4.0.0",
"@wordpress/i18n": "^7.0.0",
"@wordpress/icons": "^20.0.0",
"@wordpress/theme": "4.0.0",
"@wordpress/ui": "0.26.0",
"@wordpress/icons": "^21.0.0",
"@wordpress/theme": "5.0.0",
"@wordpress/ui": "0.27.0",
"clsx": "2.1.1",
"date-fns": "^4.1.0",
"deepmerge": "4.3.1",
Expand All @@ -116,7 +116,7 @@
"@types/react-dom": "19.3.0",
"@typescript/native-preview": "7.0.0-dev.20260707.2",
"@visx/glyph": "4.0.0",
"@wordpress/theme-build-tools": "1.0.0",
"@wordpress/theme-build-tools": "1.1.0",
"babel-jest": "30.5.2",
"identity-obj-proxy": "^3.0.0",
"jest": "30.5.2",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports[`JetpackFooter Render the component should match the snapshot: all props
/>
</svg>
<span
class="_9745ffa515d864cf__text _326aee4184d261fd__heading _698099e25b0fb1a6__p _0c6da4457aec9e62__body-md"
class="_071bdd99bfd7971d__text _48f5e2ad729cc233__heading _56028dfe751232df__p _330441fcf3fa3e88__body-md"
>
Jetpack
</span>
Expand All @@ -45,7 +45,7 @@ exports[`JetpackFooter Render the component should match the snapshot: all props
>
<li>
<a
class="e9576240835601ba__a ccc29f9575c4c758__box-sizing c20f61b115485a7f__outset-ring--focus-except-active a574f9f242212d58__link _69f40d9212adc58d__is-brand _9745ffa515d864cf__text _326aee4184d261fd__heading _698099e25b0fb1a6__p _0c6da4457aec9e62__body-md jetpack-footer__menu-item"
class="fba8c89ccbfb853b__a ccc29f9575c4c758__box-sizing c20f61b115485a7f__outset-ring--focus-except-active _37fee74d1dbea108__link _3c28bf5c32a6f83e__is-brand _071bdd99bfd7971d__text _48f5e2ad729cc233__heading _56028dfe751232df__p _330441fcf3fa3e88__body-md jetpack-footer__menu-item"
href="undefinedadmin.php?page=my-jetpack#/features"
title=""
>
Expand All @@ -54,7 +54,7 @@ exports[`JetpackFooter Render the component should match the snapshot: all props
</li>
<li>
<a
class="e9576240835601ba__a ccc29f9575c4c758__box-sizing c20f61b115485a7f__outset-ring--focus-except-active a574f9f242212d58__link _69f40d9212adc58d__is-brand _9745ffa515d864cf__text _326aee4184d261fd__heading _698099e25b0fb1a6__p _0c6da4457aec9e62__body-md jetpack-footer__menu-item"
class="fba8c89ccbfb853b__a ccc29f9575c4c758__box-sizing c20f61b115485a7f__outset-ring--focus-except-active _37fee74d1dbea108__link _3c28bf5c32a6f83e__is-brand _071bdd99bfd7971d__text _48f5e2ad729cc233__heading _56028dfe751232df__p _330441fcf3fa3e88__body-md jetpack-footer__menu-item"
href="undefinedadmin.php?page=my-jetpack#/help"
title=""
>
Expand All @@ -63,7 +63,7 @@ exports[`JetpackFooter Render the component should match the snapshot: all props
</li>
<li>
<a
class="e9576240835601ba__a ccc29f9575c4c758__box-sizing c20f61b115485a7f__outset-ring--focus-except-active a574f9f242212d58__link _69f40d9212adc58d__is-brand _9745ffa515d864cf__text _326aee4184d261fd__heading _698099e25b0fb1a6__p _0c6da4457aec9e62__body-md jetpack-footer__menu-item"
class="fba8c89ccbfb853b__a ccc29f9575c4c758__box-sizing c20f61b115485a7f__outset-ring--focus-except-active _37fee74d1dbea108__link _3c28bf5c32a6f83e__is-brand _071bdd99bfd7971d__text _48f5e2ad729cc233__heading _56028dfe751232df__p _330441fcf3fa3e88__body-md jetpack-footer__menu-item"
href="/"
title=""
>
Expand All @@ -72,7 +72,7 @@ exports[`JetpackFooter Render the component should match the snapshot: all props
</li>
<li>
<span
class="e9576240835601ba__a ccc29f9575c4c758__box-sizing c20f61b115485a7f__outset-ring--focus-except-active a574f9f242212d58__link _69f40d9212adc58d__is-brand _9745ffa515d864cf__text _326aee4184d261fd__heading _698099e25b0fb1a6__p _0c6da4457aec9e62__body-md jetpack-footer__menu-item"
class="fba8c89ccbfb853b__a ccc29f9575c4c758__box-sizing c20f61b115485a7f__outset-ring--focus-except-active _37fee74d1dbea108__link _3c28bf5c32a6f83e__is-brand _071bdd99bfd7971d__text _48f5e2ad729cc233__heading _56028dfe751232df__p _330441fcf3fa3e88__body-md jetpack-footer__menu-item"
role="button"
tabindex="0"
title=""
Expand Down
28 changes: 14 additions & 14 deletions projects/js-packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,19 +122,19 @@
"@automattic/number-formatters": "workspace:*",
"@babel/runtime": "^7",
"@gravatar-com/hovercards": "0.17.0",
"@wordpress/a11y": "5.1.0",
"@wordpress/admin-ui": "3.1.0",
"@wordpress/browserslist-config": "7.1.0",
"@wordpress/components": "44.0.0",
"@wordpress/compose": "9.1.0",
"@wordpress/data": "11.1.0",
"@wordpress/date": "6.1.0",
"@wordpress/dom": "5.1.0",
"@wordpress/element": "10.1.0",
"@wordpress/i18n": "7.1.0",
"@wordpress/icons": "20.0.0",
"@wordpress/theme": "4.0.0",
"@wordpress/ui": "0.26.0",
"@wordpress/a11y": "5.2.0",
"@wordpress/admin-ui": "3.2.0",
"@wordpress/browserslist-config": "7.2.0",
"@wordpress/components": "45.0.0",
"@wordpress/compose": "9.2.0",
"@wordpress/data": "11.2.0",
"@wordpress/date": "6.2.0",
"@wordpress/dom": "5.2.0",
"@wordpress/element": "10.2.0",
"@wordpress/i18n": "7.2.0",
"@wordpress/icons": "21.0.0",
"@wordpress/theme": "5.0.0",
"@wordpress/ui": "0.27.0",
"clsx": "2.1.1",
"js-sha256": "0.11.1",
"prop-types": "^15.7.2",
Expand All @@ -156,7 +156,7 @@
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@typescript/native-preview": "7.0.0-dev.20260707.2",
"@wordpress/base-styles": "15.0.0",
"@wordpress/base-styles": "15.1.0",
"jest": "30.5.2",
"react": "19.3.0",
"react-dom": "19.3.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
22 changes: 11 additions & 11 deletions projects/js-packages/connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@
"@automattic/jetpack-components": "workspace:*",
"@automattic/jetpack-config": "workspace:*",
"@automattic/jetpack-script-data": "workspace:*",
"@wordpress/base-styles": "15.0.0",
"@wordpress/browserslist-config": "7.1.0",
"@wordpress/components": "44.0.0",
"@wordpress/compose": "9.1.0",
"@wordpress/data": "11.1.0",
"@wordpress/element": "10.1.0",
"@wordpress/html-entities": "5.1.0",
"@wordpress/i18n": "7.1.0",
"@wordpress/icons": "20.0.0",
"@wordpress/ui": "0.26.0",
"@wordpress/url": "5.1.0",
"@wordpress/base-styles": "15.1.0",
"@wordpress/browserslist-config": "7.2.0",
"@wordpress/components": "45.0.0",
"@wordpress/compose": "9.2.0",
"@wordpress/data": "11.2.0",
"@wordpress/element": "10.2.0",
"@wordpress/html-entities": "5.2.0",
"@wordpress/i18n": "7.2.0",
"@wordpress/icons": "21.0.0",
"@wordpress/ui": "0.27.0",
"@wordpress/url": "5.2.0",
"clsx": "2.1.1",
"debug": "4.4.3",
"prop-types": "^15.7.2"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"semver": "^7.3.5"
},
"devDependencies": {
"@wordpress/browserslist-config": "7.1.0",
"@wordpress/browserslist-config": "7.2.0",
"eslint": "10.14.0",
"eslint-plugin-es-x": "9.7.0",
"globals": "16.5.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"debug": "^4.3.2"
},
"devDependencies": {
"@wordpress/dependency-extraction-webpack-plugin": "7.1.0",
"@wordpress/i18n": "7.1.0",
"@wordpress/dependency-extraction-webpack-plugin": "7.2.0",
"@wordpress/i18n": "7.2.0",
"jest": "30.5.2",
"webpack": "5.113.0",
"webpack-cli": "7.2.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
14 changes: 7 additions & 7 deletions projects/js-packages/idc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"@automattic/jetpack-api": "workspace:*",
"@automattic/jetpack-base-styles": "workspace:*",
"@automattic/jetpack-components": "workspace:*",
"@wordpress/base-styles": "15.0.0",
"@wordpress/components": "44.0.0",
"@wordpress/compose": "9.1.0",
"@wordpress/data": "11.1.0",
"@wordpress/element": "10.1.0",
"@wordpress/i18n": "7.1.0",
"@wordpress/url": "5.1.0",
"@wordpress/base-styles": "15.1.0",
"@wordpress/components": "45.0.0",
"@wordpress/compose": "9.2.0",
"@wordpress/data": "11.2.0",
"@wordpress/element": "10.2.0",
"@wordpress/i18n": "7.2.0",
"@wordpress/url": "5.2.0",
"prop-types": "^15.7.2"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
2 changes: 1 addition & 1 deletion projects/js-packages/image-guide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"watch": "pnpm run dev"
},
"dependencies": {
"@wordpress/data": "11.1.0"
"@wordpress/data": "11.2.0"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
4 changes: 2 additions & 2 deletions projects/js-packages/jetpack-shared-stores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
},
"dependencies": {
"@automattic/jetpack-script-data": "workspace:*",
"@wordpress/api-fetch": "8.1.0",
"@wordpress/data": "11.1.0"
"@wordpress/api-fetch": "8.2.0",
"@wordpress/data": "11.2.0"
},
"devDependencies": {
"@automattic/jetpack-webpack-config": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Update package dependencies.
12 changes: 6 additions & 6 deletions projects/js-packages/licensing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"@automattic/jetpack-components": "workspace:*",
"@automattic/jetpack-connection": "workspace:*",
"@automattic/jetpack-script-data": "workspace:*",
"@wordpress/api-fetch": "8.1.0",
"@wordpress/components": "44.0.0",
"@wordpress/element": "10.1.0",
"@wordpress/i18n": "7.1.0",
"@wordpress/icons": "20.0.0",
"@wordpress/ui": "0.26.0",
"@wordpress/api-fetch": "8.2.0",
"@wordpress/components": "45.0.0",
"@wordpress/element": "10.2.0",
"@wordpress/i18n": "7.2.0",
"@wordpress/icons": "21.0.0",
"@wordpress/ui": "0.27.0",
"clsx": "2.1.1",
"prop-types": "15.8.1"
},
Expand Down
Loading
Loading