Skip to content

Commit

Permalink
Update wordpress monorepo (#40564)
Browse files Browse the repository at this point in the history
* Update wordpress monorepo

* Downgrade dataviews, let's leave that for a separate PR.

* Copy `structuredClone` into jest-environment-jsdom

* Add ts-expect-error for WordPress/gutenberg#67847

* Apparently we can't use a ts file everywhere.

---------

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Brad Jorsch <[email protected]>
  • Loading branch information
3 people authored Dec 12, 2024
1 parent 6be299d commit e11a66a
Show file tree
Hide file tree
Showing 92 changed files with 1,848 additions and 1,647 deletions.
2,754 changes: 1,382 additions & 1,372 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.
18 changes: 9 additions & 9 deletions projects/js-packages/ai-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@
"@microsoft/fetch-event-source": "2.0.1",
"@types/react": "18.3.12",
"@types/wordpress__block-editor": "11.5.15",
"@wordpress/api-fetch": "7.13.0",
"@wordpress/blob": "4.13.0",
"@wordpress/block-editor": "14.8.0",
"@wordpress/components": "28.13.0",
"@wordpress/compose": "7.13.0",
"@wordpress/data": "10.13.0",
"@wordpress/element": "6.13.0",
"@wordpress/i18n": "5.13.0",
"@wordpress/icons": "10.13.0",
"@wordpress/api-fetch": "7.14.0",
"@wordpress/blob": "4.14.0",
"@wordpress/block-editor": "14.9.0",
"@wordpress/components": "29.0.0",
"@wordpress/compose": "7.14.0",
"@wordpress/data": "10.14.0",
"@wordpress/element": "6.14.0",
"@wordpress/i18n": "5.14.0",
"@wordpress/icons": "10.14.0",
"clsx": "2.1.1",
"debug": "4.3.4",
"markdown-it": "14.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated 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 @@ -15,7 +15,7 @@
"license": "GPL-2.0-or-later",
"dependencies": {
"@automattic/jetpack-config": "workspace:*",
"@wordpress/url": "4.13.0"
"@wordpress/url": "4.14.0"
},
"devDependencies": {
"jest": "29.7.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.
2 changes: 1 addition & 1 deletion projects/js-packages/base-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"build-production-js": "echo 'Not implemented.'"
},
"devDependencies": {
"@wordpress/base-styles": "5.13.0"
"@wordpress/base-styles": "5.14.0"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated 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 @@ -21,7 +21,7 @@
"test-coverage": "pnpm run test --coverage"
},
"dependencies": {
"@wordpress/i18n": "5.13.0",
"@wordpress/i18n": "5.14.0",
"zod": "3.22.3"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.
18 changes: 9 additions & 9 deletions projects/js-packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@
"@automattic/jetpack-boost-score-api": "workspace:*",
"@automattic/jetpack-scan": "workspace:*",
"@babel/runtime": "^7",
"@wordpress/browserslist-config": "6.13.0",
"@wordpress/components": "28.13.0",
"@wordpress/compose": "7.13.0",
"@wordpress/data": "10.13.0",
"@wordpress/browserslist-config": "6.14.0",
"@wordpress/components": "29.0.0",
"@wordpress/compose": "7.14.0",
"@wordpress/data": "10.14.0",
"@wordpress/dataviews": "4.9.0",
"@wordpress/date": "5.13.0",
"@wordpress/element": "6.13.0",
"@wordpress/i18n": "5.13.0",
"@wordpress/icons": "10.13.0",
"@wordpress/notices": "5.13.0",
"@wordpress/date": "5.14.0",
"@wordpress/element": "6.14.0",
"@wordpress/i18n": "5.14.0",
"@wordpress/icons": "10.14.0",
"@wordpress/notices": "5.14.0",
"clsx": "2.1.1",
"prop-types": "^15.7.2",
"qrcode.react": "3.1.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.
14 changes: 7 additions & 7 deletions projects/js-packages/connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"@automattic/jetpack-components": "workspace:*",
"@automattic/jetpack-config": "workspace:*",
"@automattic/jetpack-script-data": "workspace:*",
"@wordpress/base-styles": "5.13.0",
"@wordpress/browserslist-config": "6.13.0",
"@wordpress/components": "28.13.0",
"@wordpress/data": "10.13.0",
"@wordpress/element": "6.13.0",
"@wordpress/i18n": "5.13.0",
"@wordpress/icons": "10.13.0",
"@wordpress/base-styles": "5.14.0",
"@wordpress/browserslist-config": "6.14.0",
"@wordpress/components": "29.0.0",
"@wordpress/data": "10.14.0",
"@wordpress/element": "6.14.0",
"@wordpress/i18n": "5.14.0",
"@wordpress/icons": "10.14.0",
"clsx": "2.1.1",
"debug": "4.3.4",
"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

Updated package dependencies.
2 changes: 1 addition & 1 deletion projects/js-packages/eslint-config-target-es/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"semver": "^7.3.5"
},
"devDependencies": {
"@wordpress/browserslist-config": "6.13.0",
"@wordpress/browserslist-config": "6.14.0",
"eslint": "9.16.0",
"eslint-plugin-es-x": "7.8.0",
"globals": "15.4.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.
4 changes: 2 additions & 2 deletions projects/js-packages/i18n-loader-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"debug": "^4.3.2"
},
"devDependencies": {
"@wordpress/dependency-extraction-webpack-plugin": "6.13.0",
"@wordpress/i18n": "5.13.0",
"@wordpress/dependency-extraction-webpack-plugin": "6.14.0",
"@wordpress/i18n": "5.14.0",
"jest": "29.7.0",
"webpack": "5.94.0",
"webpack-cli": "4.9.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated 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 @@ -9,13 +9,13 @@
"@automattic/jetpack-api": "workspace:*",
"@automattic/jetpack-base-styles": "workspace:*",
"@automattic/jetpack-components": "workspace:*",
"@wordpress/base-styles": "5.13.0",
"@wordpress/components": "28.13.0",
"@wordpress/compose": "7.13.0",
"@wordpress/data": "10.13.0",
"@wordpress/element": "6.13.0",
"@wordpress/i18n": "5.13.0",
"@wordpress/url": "4.13.0",
"@wordpress/base-styles": "5.14.0",
"@wordpress/components": "29.0.0",
"@wordpress/compose": "7.14.0",
"@wordpress/data": "10.14.0",
"@wordpress/element": "6.14.0",
"@wordpress/i18n": "5.14.0",
"@wordpress/url": "4.14.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

Updated 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 @@ -23,11 +23,11 @@
"@automattic/jetpack-analytics": "workspace:*",
"@automattic/jetpack-api": "workspace:*",
"@automattic/jetpack-components": "workspace:*",
"@wordpress/api-fetch": "7.13.0",
"@wordpress/components": "28.13.0",
"@wordpress/element": "6.13.0",
"@wordpress/i18n": "5.13.0",
"@wordpress/icons": "10.13.0",
"@wordpress/api-fetch": "7.14.0",
"@wordpress/components": "29.0.0",
"@wordpress/element": "6.14.0",
"@wordpress/i18n": "5.14.0",
"@wordpress/icons": "10.14.0",
"clsx": "2.1.1",
"prop-types": "15.7.2"
},
Expand All @@ -40,7 +40,7 @@
"@testing-library/dom": "10.4.0",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@wordpress/babel-plugin-import-jsx-pragma": "5.13.0",
"@wordpress/babel-plugin-import-jsx-pragma": "5.14.0",
"babel-jest": "29.7.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.
6 changes: 3 additions & 3 deletions projects/js-packages/partner-coupon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"@testing-library/dom": "10.4.0",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@wordpress/base-styles": "5.13.0",
"@wordpress/data": "10.13.0",
"@wordpress/base-styles": "5.14.0",
"@wordpress/data": "10.14.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-extended": "4.0.2",
Expand All @@ -42,7 +42,7 @@
"dependencies": {
"@automattic/jetpack-components": "workspace:*",
"@automattic/jetpack-connection": "workspace:*",
"@wordpress/i18n": "5.13.0",
"@wordpress/i18n": "5.14.0",
"clsx": "2.1.1",
"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

Updated package dependencies.
38 changes: 19 additions & 19 deletions projects/js-packages/publicize-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,25 @@
"@automattic/jetpack-shared-extension-utils": "workspace:*",
"@automattic/popup-monitor": "1.0.2",
"@automattic/social-previews": "2.1.0-beta.8",
"@wordpress/annotations": "3.13.0",
"@wordpress/api-fetch": "7.13.0",
"@wordpress/block-editor": "14.8.0",
"@wordpress/blocks": "14.2.0",
"@wordpress/components": "28.13.0",
"@wordpress/compose": "7.13.0",
"@wordpress/core-data": "7.13.0",
"@wordpress/data": "10.13.0",
"@wordpress/annotations": "3.14.0",
"@wordpress/api-fetch": "7.14.0",
"@wordpress/block-editor": "14.9.0",
"@wordpress/blocks": "14.3.0",
"@wordpress/components": "29.0.0",
"@wordpress/compose": "7.14.0",
"@wordpress/core-data": "7.14.0",
"@wordpress/data": "10.14.0",
"@wordpress/dataviews": "4.9.0",
"@wordpress/date": "5.13.0",
"@wordpress/edit-post": "8.13.0",
"@wordpress/editor": "14.13.0",
"@wordpress/element": "6.13.0",
"@wordpress/hooks": "4.13.0",
"@wordpress/html-entities": "4.13.0",
"@wordpress/i18n": "5.13.0",
"@wordpress/icons": "10.13.0",
"@wordpress/media-utils": "5.13.0",
"@wordpress/notices": "5.13.0",
"@wordpress/date": "5.14.0",
"@wordpress/edit-post": "8.14.0",
"@wordpress/editor": "14.14.0",
"@wordpress/element": "6.14.0",
"@wordpress/hooks": "4.14.0",
"@wordpress/html-entities": "4.14.0",
"@wordpress/i18n": "5.14.0",
"@wordpress/icons": "10.14.0",
"@wordpress/media-utils": "5.14.0",
"@wordpress/notices": "5.14.0",
"clsx": "2.1.1",
"prop-types": "15.8.1",
"react-page-visibility": "7.0.0",
Expand All @@ -63,7 +63,7 @@
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.12",
"@types/react": "18.3.12",
"@wordpress/babel-plugin-import-jsx-pragma": "5.13.0",
"@wordpress/babel-plugin-import-jsx-pragma": "5.14.0",
"babel-jest": "29.4.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { SocialImageGeneratorConfig, SocialSettingsFields } from '../types';
* Returns the Social Image Generator settings for the current site.
*/
export const getSocialImageGeneratorConfig = createRegistrySelector( select => () => {
// @ts-expect-error TS2339 - https://github.com/WordPress/gutenberg/issues/67847
const { getSite } = select( coreStore );

const settings = getSite( undefined, { _fields: SIG_SETTINGS_KEY } ) as SocialSettingsFields;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { SocialSettingsFields, UtmSettingsConfig } from '../types';
* Returns the UTM state.
*/
export const getUtmSettings = createRegistrySelector( select => () => {
// @ts-expect-error TS2339 - https://github.com/WordPress/gutenberg/issues/67847
const { getSite } = select( coreStore );

const settings = getSite( undefined, { _fields: UTM_ENABLED_KEY } ) as SocialSettingsFields;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.
10 changes: 5 additions & 5 deletions projects/js-packages/scan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@
"dependencies": {
"@automattic/jetpack-api": "workspace:*",
"@automattic/jetpack-base-styles": "workspace:*",
"@wordpress/api-fetch": "7.13.0",
"@wordpress/element": "6.13.0",
"@wordpress/i18n": "5.13.0",
"@wordpress/url": "4.13.0",
"@wordpress/api-fetch": "7.14.0",
"@wordpress/element": "6.14.0",
"@wordpress/i18n": "5.14.0",
"@wordpress/url": "4.14.0",
"debug": "4.3.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"peerDependencies": {
"@wordpress/i18n": "5.13.0",
"@wordpress/i18n": "5.14.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.
16 changes: 8 additions & 8 deletions projects/js-packages/shared-extension-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"@automattic/jetpack-analytics": "workspace:*",
"@automattic/jetpack-components": "workspace:*",
"@automattic/jetpack-connection": "workspace:*",
"@wordpress/api-fetch": "7.13.0",
"@wordpress/compose": "7.13.0",
"@wordpress/data": "10.13.0",
"@wordpress/element": "6.13.0",
"@wordpress/i18n": "5.13.0",
"@wordpress/plugins": "7.13.0",
"@wordpress/url": "4.13.0",
"@wordpress/api-fetch": "7.14.0",
"@wordpress/compose": "7.14.0",
"@wordpress/data": "10.14.0",
"@wordpress/element": "6.14.0",
"@wordpress/i18n": "5.14.0",
"@wordpress/plugins": "7.14.0",
"@wordpress/url": "4.14.0",
"lodash": "4.17.21"
},
"devDependencies": {
Expand All @@ -38,7 +38,7 @@
"@testing-library/dom": "10.4.0",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@wordpress/babel-plugin-import-jsx-pragma": "5.13.0",
"@wordpress/babel-plugin-import-jsx-pragma": "5.14.0",
"babel-jest": "29.3.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.
Loading

0 comments on commit e11a66a

Please sign in to comment.