Skip to content

Commit

Permalink
Update wordpress monorepo (#25338)
Browse files Browse the repository at this point in the history
* Update wordpress monorepo
* Update indirect deps too
* i18n-loader-webpack-plugin: update snapshots
* Add is-plain-obj to jest transformIgnorePatterns.
* Gutenbug color picker now has "tab" instead of "radio" roles for Solid and
  Background.
* Mock `is-plain-obj` to avoid various bugs

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
  • Loading branch information
3 people committed Aug 19, 2022
1 parent d549824 commit 53dbb2d
Show file tree
Hide file tree
Showing 62 changed files with 1,149 additions and 924 deletions.
1,613 changes: 839 additions & 774 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.
4 changes: 2 additions & 2 deletions projects/js-packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@automattic/jetpack-api",
"version": "0.13.9",
"version": "0.13.10-alpha",
"description": "Jetpack Api Package",
"author": "Automattic",
"license": "GPL-2.0-or-later",
"dependencies": {
"@wordpress/url": "3.13.0",
"@wordpress/url": "3.16.0",
"@automattic/jetpack-config": "workspace:* || ^0.1"
},
"devDependencies": {
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/base-styles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-base-styles",
"version": "0.3.8",
"version": "0.3.9-alpha",
"description": "Jetpack components base styles",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/base-styles/#readme",
"bugs": {
Expand All @@ -20,7 +20,7 @@
"build-production-js": "echo 'Not implemented.'"
},
"devDependencies": {
"@wordpress/base-styles": "4.6.0"
"@wordpress/base-styles": "4.7.0"
},
"engines": {
"node": "^16.13.2",
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: 4 additions & 0 deletions projects/js-packages/components/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ const baseConfig = require( 'jetpack-js-tools/jest/config.base.js' );

module.exports = {
...baseConfig,
setupFilesAfterEnv: [
...baseConfig.setupFilesAfterEnv,
require.resolve( 'jetpack-js-tools/jest/is-plain-obj-hack.js' ),
],
};
10 changes: 5 additions & 5 deletions projects/js-packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"dependencies": {
"@automattic/format-currency": "1.0.1",
"@wordpress/browserslist-config": "4.1.2",
"@wordpress/components": "19.14.0",
"@wordpress/compose": "5.10.0",
"@wordpress/date": "4.12.0",
"@wordpress/i18n": "4.12.0",
"@wordpress/icons": "9.3.0",
"@wordpress/components": "19.17.0",
"@wordpress/compose": "5.13.0",
"@wordpress/date": "4.15.0",
"@wordpress/i18n": "4.15.0",
"@wordpress/icons": "9.6.0",
"classnames": "2.3.1",
"prop-types": "^15.7.2",
"qrcode.react": "2.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.
6 changes: 5 additions & 1 deletion projects/js-packages/connection/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ const baseConfig = require( 'jetpack-js-tools/jest/config.base.js' );

module.exports = {
...baseConfig,
setupFilesAfterEnv: [ ...baseConfig.setupFilesAfterEnv, '<rootDir>/jest.setup.js' ],
setupFilesAfterEnv: [
...baseConfig.setupFilesAfterEnv,
require.resolve( 'jetpack-js-tools/jest/is-plain-obj-hack.js' ),
'<rootDir>/jest.setup.js',
],
};
10 changes: 5 additions & 5 deletions projects/js-packages/connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"@automattic/jetpack-config": "workspace:* || ^0.1",
"@automattic/jetpack-components": "workspace:* || ^0.18",
"@automattic/jetpack-api": "workspace:* || ^0.13",
"@wordpress/base-styles": "4.6.0",
"@wordpress/base-styles": "4.7.0",
"@wordpress/browserslist-config": "4.1.2",
"@wordpress/components": "19.14.0",
"@wordpress/data": "6.12.0",
"@wordpress/element": "4.10.0",
"@wordpress/i18n": "4.12.0",
"@wordpress/components": "19.17.0",
"@wordpress/data": "6.15.0",
"@wordpress/element": "4.13.0",
"@wordpress/i18n": "4.15.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.
6 changes: 3 additions & 3 deletions projects/js-packages/i18n-loader-webpack-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/i18n-loader-webpack-plugin",
"version": "2.0.15",
"version": "2.0.16-alpha",
"description": "A Webpack plugin to load WordPress i18n when Webpack lazy-loads a bundle.",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/i18n-loader-webpack-plugin/#readme",
"bugs": {
Expand All @@ -21,8 +21,8 @@
"debug": "^4.3.2"
},
"devDependencies": {
"@wordpress/dependency-extraction-webpack-plugin": "3.6.0",
"@wordpress/i18n": "4.12.0",
"@wordpress/dependency-extraction-webpack-plugin": "3.7.0",
"@wordpress/i18n": "4.15.0",
"jest": "28.1.0",
"webpack": "5.72.1",
"webpack-cli": "4.9.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -575,14 +575,17 @@ Object {
"jpI18nState": null,
"loader": null,
},
"runtime~bar.asset.php": Object {},
"runtime~bar.js": Object {
"jpI18nState": null,
"loader": null,
},
"runtime~baz.asset.php": Object {},
"runtime~baz.js": Object {
"jpI18nState": null,
"loader": null,
},
"runtime~main.asset.php": Object {},
"runtime~main.js": Object {
"jpI18nState": "/***/ \\"@wordpress/jp-i18n-loader\\":
/*!**************************************!*\\\\
Expand Down Expand Up @@ -623,6 +626,7 @@ module.exports = window[\\"wp\\"][\\"jpI18nLoader\\"];
/******/ };
/******/ })();",
},
"runtime~main2.asset.php": Object {},
"runtime~main2.js": Object {
"jpI18nState": "/***/ \\"@wordpress/jp-i18n-loader\\":
/*!**************************************!*\\\\
Expand Down Expand Up @@ -918,6 +922,7 @@ Object {
"jpI18nState": null,
"loader": null,
},
"runtime.asset.php": Object {},
"runtime.js": Object {
"jpI18nState": "/***/ \\"@wordpress/jp-i18n-loader\\":
/*!**************************************!*\\\\
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:* || ^0.13",
"@automattic/jetpack-base-styles": "workspace:* || ^0.3",
"@automattic/jetpack-components": "workspace:* || ^0.18",
"@wordpress/base-styles": "4.6.0",
"@wordpress/components": "19.14.0",
"@wordpress/compose": "5.10.0",
"@wordpress/data": "6.12.0",
"@wordpress/element": "4.10.0",
"@wordpress/i18n": "4.12.0",
"@wordpress/url": "3.13.0",
"@wordpress/base-styles": "4.7.0",
"@wordpress/components": "19.17.0",
"@wordpress/compose": "5.13.0",
"@wordpress/data": "6.15.0",
"@wordpress/element": "4.13.0",
"@wordpress/i18n": "4.15.0",
"@wordpress/url": "3.16.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.
4 changes: 4 additions & 0 deletions projects/js-packages/licensing/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ const baseConfig = require( 'jetpack-js-tools/jest/config.base.js' );

module.exports = {
...baseConfig,
setupFilesAfterEnv: [
...baseConfig.setupFilesAfterEnv,
require.resolve( 'jetpack-js-tools/jest/is-plain-obj-hack.js' ),
],
};
8 changes: 4 additions & 4 deletions projects/js-packages/licensing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"dependencies": {
"@automattic/jetpack-api": "workspace:* || ^0.13",
"@automattic/jetpack-components": "workspace:* || ^0.18",
"@wordpress/components": "19.14.0",
"@wordpress/element": "4.10.0",
"@wordpress/i18n": "4.12.0",
"@wordpress/icons": "9.3.0",
"@wordpress/components": "19.17.0",
"@wordpress/element": "4.13.0",
"@wordpress/i18n": "4.15.0",
"@wordpress/icons": "9.6.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.
6 changes: 5 additions & 1 deletion projects/js-packages/partner-coupon/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ const baseConfig = require( 'jetpack-js-tools/jest/config.base.js' );

module.exports = {
...baseConfig,
setupFilesAfterEnv: [ ...baseConfig.setupFilesAfterEnv, '<rootDir>/jest.setup.js' ],
setupFilesAfterEnv: [
...baseConfig.setupFilesAfterEnv,
require.resolve( 'jetpack-js-tools/jest/is-plain-obj-hack.js' ),
'<rootDir>/jest.setup.js',
],
};
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 @@ -28,8 +28,8 @@
"@testing-library/react": "12.1.5",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "14.2.1",
"@wordpress/base-styles": "4.6.0",
"@wordpress/data": "6.12.0",
"@wordpress/base-styles": "4.7.0",
"@wordpress/data": "6.15.0",
"jest": "28.1.0",
"jest-environment-jsdom": "28.1.0",
"jest-extended": "2.0.0",
Expand All @@ -44,7 +44,7 @@
"dependencies": {
"@automattic/jetpack-components": "workspace:* || ^0.18",
"@automattic/jetpack-connection": "workspace:* || ^0.18",
"@wordpress/i18n": "4.12.0",
"@wordpress/i18n": "4.15.0",
"classnames": "2.3.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.
16 changes: 8 additions & 8 deletions projects/js-packages/publicize-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"dependencies": {
"@automattic/jetpack-components": "workspace:* || ^0.18",
"@automattic/jetpack-shared-extension-utils": "workspace:* || ^0.6",
"@wordpress/annotations": "2.12.0",
"@wordpress/components": "19.14.0",
"@wordpress/compose": "5.10.0",
"@wordpress/data": "6.12.0",
"@wordpress/editor": "12.11.0",
"@wordpress/element": "4.10.0",
"@wordpress/hooks": "3.12.0",
"@wordpress/i18n": "4.12.0",
"@wordpress/annotations": "2.15.0",
"@wordpress/components": "19.17.0",
"@wordpress/compose": "5.13.0",
"@wordpress/data": "6.15.0",
"@wordpress/editor": "12.14.0",
"@wordpress/element": "4.13.0",
"@wordpress/hooks": "3.15.0",
"@wordpress/i18n": "4.15.0",
"classnames": "2.3.1",
"lodash": "4.17.21",
"prop-types": "15.8.1",
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/shared-extension-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-shared-extension-utils",
"version": "0.6.0",
"version": "0.6.1-alpha",
"description": "Utility functions used by the block editor extensions",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/shared-extension-utils/#readme",
"bugs": {
Expand All @@ -15,10 +15,10 @@
"author": "Automattic",
"scripts": {},
"dependencies": {
"@wordpress/compose": "5.10.0",
"@wordpress/i18n": "4.12.0",
"@wordpress/plugins": "4.10.0",
"@wordpress/url": "3.13.0",
"@wordpress/compose": "5.13.0",
"@wordpress/i18n": "4.15.0",
"@wordpress/plugins": "4.13.0",
"@wordpress/url": "3.16.0",
"lodash": "4.17.21"
},
"devDependencies": {
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/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@
"@storybook/manager-webpack5": "6.5.9",
"@storybook/react": "6.5.9",
"@storybook/source-loader": "6.5.9",
"@wordpress/babel-preset-default": "6.14.0",
"@wordpress/base-styles": "4.6.0",
"@wordpress/block-editor": "9.4.0",
"@wordpress/block-library": "7.9.0",
"@wordpress/components": "19.14.0",
"@wordpress/element": "4.10.0",
"@wordpress/format-library": "3.10.0",
"@wordpress/postcss-plugins-preset": "3.9.0",
"@wordpress/babel-preset-default": "6.17.0",
"@wordpress/base-styles": "4.7.0",
"@wordpress/block-editor": "9.7.0",
"@wordpress/block-library": "7.12.0",
"@wordpress/components": "19.17.0",
"@wordpress/element": "4.13.0",
"@wordpress/format-library": "3.13.0",
"@wordpress/postcss-plugins-preset": "3.10.0",
"autoprefixer": "10.4.2",
"babel-loader": "8.2.5",
"babel-plugin-inline-json-import": "0.3.2",
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/webpack-config/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-webpack-config",
"version": "1.3.8",
"version": "1.3.9-alpha",
"description": "Library of pieces for webpack config in Jetpack projects.",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/webpack-config/#readme",
"bugs": {
Expand Down Expand Up @@ -29,7 +29,7 @@
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@wordpress/browserslist-config": "4.1.2",
"@wordpress/dependency-extraction-webpack-plugin": "3.6.0",
"@wordpress/dependency-extraction-webpack-plugin": "3.7.0",
"babel-loader": "8.2.5",
"browserslist": "4.20.4",
"css-loader": "6.5.1",
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/packages/backup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"@automattic/jetpack-api": "workspace:* || ^0.13",
"@automattic/jetpack-components": "workspace:* || ^0.18",
"@automattic/jetpack-connection": "workspace:* || ^0.18",
"@wordpress/api-fetch": "6.9.0",
"@wordpress/data": "6.12.0",
"@wordpress/element": "4.10.0",
"@wordpress/date": "4.12.0",
"@wordpress/i18n": "4.12.0",
"@wordpress/api-fetch": "6.12.0",
"@wordpress/data": "6.15.0",
"@wordpress/element": "4.13.0",
"@wordpress/date": "4.15.0",
"@wordpress/i18n": "4.15.0",
"react": "17.0.2",
"react-dom": "17.0.2"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated package dependencies.

0 comments on commit 53dbb2d

Please sign in to comment.