Skip to content

Commit

Permalink
Try with more strict @WordPress dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Feb 24, 2023
1 parent 3ec8d39 commit 42fd038
Show file tree
Hide file tree
Showing 43 changed files with 906 additions and 749 deletions.
72 changes: 36 additions & 36 deletions apps/editing-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,39 +72,39 @@
"@emotion/react": "^11.4.1",
"@popperjs/core": "^2.10.2",
"@sentry/browser": "^7.33.0",
"@wordpress/a11y": "^3.9.0",
"@wordpress/api-fetch": "^6.6.0",
"@wordpress/base-styles": "^4.5.0",
"@wordpress/block-editor": "^9.1.0",
"@wordpress/blocks": "^11.8.0",
"@wordpress/components": "^19.15.0",
"@wordpress/compose": "^5.7.0",
"@wordpress/data": "^6.9.0",
"@wordpress/data-controls": "^2.9.0",
"@wordpress/date": "^4.9.0",
"@wordpress/dependency-extraction-webpack-plugin": "^3.5.0",
"@wordpress/dom-ready": "^3.9.0",
"@wordpress/edit-post": "^6.6.0",
"@wordpress/editor": "^12.8.0",
"@wordpress/element": "^4.7.0",
"@wordpress/env": "^4.7.0",
"@wordpress/escape-html": "^2.9.0",
"@wordpress/hooks": "^3.9.0",
"@wordpress/html-entities": "^3.9.0",
"@wordpress/i18n": "^4.9.0",
"@wordpress/icons": "^9.0.0",
"@wordpress/interface": "^5.4.0",
"@wordpress/is-shallow-equal": "^4.9.0",
"@wordpress/keycodes": "^3.9.0",
"@wordpress/notices": "^3.10.0",
"@wordpress/nux": "^5.7.0",
"@wordpress/plugins": "^4.7.0",
"@wordpress/primitives": "^3.7.0",
"@wordpress/react-i18n": "^3.7.0",
"@wordpress/rich-text": "^5.7.0",
"@wordpress/scripts": "^23.1.0",
"@wordpress/server-side-render": "^3.7.0",
"@wordpress/url": "^3.10.0",
"@wordpress/a11y": "~3.9.0",
"@wordpress/api-fetch": "~6.6.0",
"@wordpress/base-styles": "~4.5.0",
"@wordpress/block-editor": "~9.1.0",
"@wordpress/blocks": "~11.8.0",
"@wordpress/components": "~19.15.0",
"@wordpress/compose": "~5.7.0",
"@wordpress/data": "~6.9.0",
"@wordpress/data-controls": "~2.9.0",
"@wordpress/date": "~4.9.0",
"@wordpress/dependency-extraction-webpack-plugin": "~3.5.0",
"@wordpress/dom-ready": "~3.9.0",
"@wordpress/edit-post": "~6.6.0",
"@wordpress/editor": "~12.8.0",
"@wordpress/element": "~4.7.0",
"@wordpress/env": "~4.7.0",
"@wordpress/escape-html": "~2.9.0",
"@wordpress/hooks": "~3.9.0",
"@wordpress/html-entities": "~3.9.0",
"@wordpress/i18n": "~4.9.0",
"@wordpress/icons": "~9.0.0",
"@wordpress/interface": "~5.4.0",
"@wordpress/is-shallow-equal": "~4.9.0",
"@wordpress/keycodes": "~3.9.0",
"@wordpress/notices": "~3.10.0",
"@wordpress/nux": "~5.7.0",
"@wordpress/plugins": "~4.7.0",
"@wordpress/primitives": "~3.7.0",
"@wordpress/react-i18n": "~3.7.0",
"@wordpress/rich-text": "~5.7.0",
"@wordpress/scripts": "~23.1.0",
"@wordpress/server-side-render": "~3.7.0",
"@wordpress/url": "~3.10.0",
"calypso": "workspace:^",
"classnames": "^2.3.1",
"eslint": "^8.34.0",
Expand Down Expand Up @@ -132,9 +132,9 @@
"@testing-library/react": "^12.1.3",
"@types/node": "^18.11.18",
"@types/wordpress__plugins": "^3.0.0",
"@wordpress/eslint-plugin": "^12.3.0",
"@wordpress/jest-preset-default": "^8.2.0",
"@wordpress/readable-js-assets-webpack-plugin": "^1.0.4",
"@wordpress/eslint-plugin": "~12.3.0",
"@wordpress/jest-preset-default": "~8.2.0",
"@wordpress/readable-js-assets-webpack-plugin": "~1.0.4",
"babel-jest": "^27.5.1",
"jest-teamcity": "^1.9.0",
"wait-for-expect": "^3.0.2",
Expand Down
16 changes: 8 additions & 8 deletions apps/happy-blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,21 @@
"@automattic/format-currency": "workspace:^",
"@automattic/typography": "workspace:^",
"@automattic/wp-babel-makepot": "workspace:^",
"@wordpress/base-styles": "^4.5.0",
"@wordpress/block-editor": "^9.1.0",
"@wordpress/blocks": "^11.8.0",
"@wordpress/components": "^19.15.0",
"@wordpress/element": "^4.7.0",
"@wordpress/i18n": "^4.9.0",
"@wordpress/base-styles": "~4.5.0",
"@wordpress/block-editor": "~9.1.0",
"@wordpress/blocks": "~11.8.0",
"@wordpress/components": "~19.15.0",
"@wordpress/element": "~4.7.0",
"@wordpress/i18n": "~4.9.0",
"classnames": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@automattic/calypso-apps-builder": "workspace:^",
"@testing-library/react": "^12.1.3",
"@wordpress/readable-js-assets-webpack-plugin": "^1.0.4",
"@wordpress/scripts": "^23.1.0",
"@wordpress/readable-js-assets-webpack-plugin": "~1.0.4",
"@wordpress/scripts": "~23.1.0",
"jest": "^27.3.1",
"postcss": "^8.4.5",
"webpack": "^5.68.0"
Expand Down
4 changes: 2 additions & 2 deletions apps/happychat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@automattic/calypso-polyfills": "workspace:^",
"@automattic/components": "workspace:^",
"@automattic/happychat-connection": "workspace:^",
"@wordpress/data": "^6.7.0",
"@wordpress/icons": "^8.3.0",
"@wordpress/data": "~6.7.0",
"@wordpress/icons": "~8.3.0",
"calypso": "workspace:^",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down
28 changes: 14 additions & 14 deletions apps/o2-blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@
},
"dependencies": {
"@automattic/calypso-build": "workspace:^",
"@wordpress/api-fetch": "^6.6.0",
"@wordpress/base-styles": "^4.5.0",
"@wordpress/block-editor": "^9.1.0",
"@wordpress/blocks": "^11.8.0",
"@wordpress/components": "^19.15.0",
"@wordpress/data": "^6.9.0",
"@wordpress/editor": "^12.8.0",
"@wordpress/element": "^4.7.0",
"@wordpress/hooks": "^3.9.0",
"@wordpress/i18n": "^4.9.0",
"@wordpress/icons": "^9.5.0",
"@wordpress/is-shallow-equal": "^4.9.0",
"@wordpress/primitives": "^3.7.0",
"@wordpress/api-fetch": "~6.6.0",
"@wordpress/base-styles": "~4.5.0",
"@wordpress/block-editor": "~9.1.0",
"@wordpress/blocks": "~11.8.0",
"@wordpress/components": "~19.15.0",
"@wordpress/data": "~6.9.0",
"@wordpress/editor": "~12.8.0",
"@wordpress/element": "~4.7.0",
"@wordpress/hooks": "~3.9.0",
"@wordpress/i18n": "~4.9.0",
"@wordpress/icons": "~9.5.0",
"@wordpress/is-shallow-equal": "~4.9.0",
"@wordpress/primitives": "~3.7.0",
"classnames": "^2.3.1",
"lodash": "^4.17.21",
"moment": "^2.26.0",
Expand All @@ -47,7 +47,7 @@
"devDependencies": {
"@automattic/calypso-apps-builder": "workspace:^",
"@automattic/calypso-eslint-overrides": "workspace:^",
"@wordpress/readable-js-assets-webpack-plugin": "^1.0.4",
"@wordpress/readable-js-assets-webpack-plugin": "~1.0.4",
"jest": "^27.3.1",
"postcss": "^8.4.5",
"webpack": "^5.68.0"
Expand Down
2 changes: 1 addition & 1 deletion apps/odyssey-stats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@automattic/webpack-extensive-lodash-replacement-plugin": "workspace:^",
"@automattic/webpack-inline-constant-exports-plugin": "workspace:^",
"@automattic/wp-babel-makepot": "workspace:^",
"@wordpress/dependency-extraction-webpack-plugin": "^4.4.0",
"@wordpress/dependency-extraction-webpack-plugin": "~4.4.0",
"autoprefixer": "^10.2.5",
"gettext-parser": "^6.0.0",
"html-webpack-plugin": "^5.0.0-beta.4",
Expand Down
38 changes: 19 additions & 19 deletions apps/wpcom-block-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@
"dependencies": {
"@automattic/typography": "workspace:^",
"@babel/runtime": "^7.17.2",
"@wordpress/base-styles": "^4.5.0",
"@wordpress/block-editor": "^9.1.0",
"@wordpress/blocks": "^11.8.0",
"@wordpress/components": "^19.15.0",
"@wordpress/compose": "^5.7.0",
"@wordpress/data": "^6.9.0",
"@wordpress/dom-ready": "^3.9.0",
"@wordpress/edit-post": "^6.6.0",
"@wordpress/edit-site": "^4.6.0",
"@wordpress/editor": "^12.8.0",
"@wordpress/element": "^4.7.0",
"@wordpress/hooks": "^3.9.0",
"@wordpress/i18n": "^4.9.0",
"@wordpress/icons": "^9.0.0",
"@wordpress/is-shallow-equal": "^4.9.0",
"@wordpress/plugins": "^4.7.0",
"@wordpress/rich-text": "^5.7.0",
"@wordpress/url": "^3.10.0",
"@wordpress/base-styles": "~4.5.0",
"@wordpress/block-editor": "~9.1.0",
"@wordpress/blocks": "~11.8.0",
"@wordpress/components": "~19.15.0",
"@wordpress/compose": "~5.7.0",
"@wordpress/data": "~6.9.0",
"@wordpress/dom-ready": "~3.9.0",
"@wordpress/edit-post": "~6.6.0",
"@wordpress/edit-site": "~4.6.0",
"@wordpress/editor": "~12.8.0",
"@wordpress/element": "~4.7.0",
"@wordpress/hooks": "~3.9.0",
"@wordpress/i18n": "~4.9.0",
"@wordpress/icons": "~9.0.0",
"@wordpress/is-shallow-equal": "~4.9.0",
"@wordpress/plugins": "~4.7.0",
"@wordpress/rich-text": "~5.7.0",
"@wordpress/url": "~3.10.0",
"debug": "^4.3.3",
"lodash": "^4.17.21",
"react": "^17.0.2",
Expand All @@ -53,7 +53,7 @@
"@automattic/calypso-apps-builder": "workspace:^",
"@automattic/calypso-build": "workspace:^",
"@automattic/calypso-eslint-overrides": "workspace:^",
"@wordpress/dependency-extraction-webpack-plugin": "^3.5.0",
"@wordpress/dependency-extraction-webpack-plugin": "~3.5.0",
"jest": "^27.3.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.5",
Expand Down
46 changes: 23 additions & 23 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,29 +75,29 @@
"@sentry/react": "^7.33.0",
"@stripe/react-stripe-js": "^1.4.1",
"@stripe/stripe-js": "1.17.1",
"@wordpress/a11y": "^3.9.0",
"@wordpress/api-fetch": "^6.6.0",
"@wordpress/base-styles": "^4.7.0",
"@wordpress/block-editor": "^9.1.0",
"@wordpress/blocks": "^11.8.0",
"@wordpress/components": "^19.15.0",
"@wordpress/compose": "^5.7.0",
"@wordpress/data": "^6.9.0",
"@wordpress/data-controls": "^2.9.0",
"@wordpress/edit-post": "^6.6.0",
"@wordpress/element": "^4.7.0",
"@wordpress/format-library": "^3.7.0",
"@wordpress/hooks": "^3.9.0",
"@wordpress/html-entities": "^3.9.0",
"@wordpress/i18n": "^4.9.0",
"@wordpress/icons": "^9.0.0",
"@wordpress/is-shallow-equal": "^4.9.0",
"@wordpress/keyboard-shortcuts": "^3.7.0",
"@wordpress/keycodes": "^3.9.0",
"@wordpress/react-i18n": "^3.7.0",
"@wordpress/url": "^3.10.0",
"@wordpress/viewport": "^4.7.0",
"@wordpress/warning": "^2.9.0",
"@wordpress/a11y": "~3.9.0",
"@wordpress/api-fetch": "~6.6.0",
"@wordpress/base-styles": "~4.7.0",
"@wordpress/block-editor": "~9.1.0",
"@wordpress/blocks": "~11.8.0",
"@wordpress/components": "~19.15.0",
"@wordpress/compose": "~5.7.0",
"@wordpress/data": "~6.9.0",
"@wordpress/data-controls": "~2.9.0",
"@wordpress/edit-post": "~6.6.0",
"@wordpress/element": "~4.7.0",
"@wordpress/format-library": "~3.7.0",
"@wordpress/hooks": "~3.9.0",
"@wordpress/html-entities": "~3.9.0",
"@wordpress/i18n": "~4.9.0",
"@wordpress/icons": "~9.0.0",
"@wordpress/is-shallow-equal": "~4.9.0",
"@wordpress/keyboard-shortcuts": "~3.7.0",
"@wordpress/keycodes": "~3.9.0",
"@wordpress/react-i18n": "~3.7.0",
"@wordpress/url": "~3.10.0",
"@wordpress/viewport": "~4.7.0",
"@wordpress/warning": "~2.9.0",
"autosize": "^4.0.4",
"body-parser": "^1.19.0",
"browser-filesaver": "^1.1.1",
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,16 +173,16 @@
"@types/wordpress__data": "^4.6.10",
"@types/wordpress__data-controls": "^2.2.0",
"@types/wordpress__editor": "^10.0.1",
"@wordpress/base-styles": "^4.5.0",
"@wordpress/components": "^19.15.0",
"@wordpress/data": "^6.9.0",
"@wordpress/element": "^4.7.0",
"@wordpress/i18n": "^4.9.0",
"@wordpress/icons": "^9.0.0",
"@wordpress/is-shallow-equal": "^4.9.0",
"@wordpress/jest-preset-default": "^8.2.0",
"@wordpress/primitives": "^3.8.0",
"@wordpress/url": "^3.10.0",
"@wordpress/base-styles": "~4.5.0",
"@wordpress/components": "~19.15.0",
"@wordpress/data": "~6.9.0",
"@wordpress/element": "~4.7.0",
"@wordpress/i18n": "~4.9.0",
"@wordpress/icons": "~9.0.0",
"@wordpress/is-shallow-equal": "~4.9.0",
"@wordpress/jest-preset-default": "~8.2.0",
"@wordpress/primitives": "~3.8.0",
"@wordpress/url": "~3.10.0",
"browserslist": "^4.16.0",
"calypso": "workspace:^",
"calypso-codemods": "workspace:^",
Expand Down Expand Up @@ -222,8 +222,8 @@
"@types/superagent": "^4.1.15",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@wordpress/eslint-plugin": "^12.3.0",
"@wordpress/stylelint-config": "^20.0.2",
"@wordpress/eslint-plugin": "~12.3.0",
"@wordpress/stylelint-config": "~20.0.2",
"babel-loader": "^8.2.3",
"bunyan": "^1.8.15",
"capture-website": "^1.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/block-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"watch": "tsc --build ./tsconfig.json --watch"
},
"dependencies": {
"@wordpress/block-editor": "^9.1.0",
"@wordpress/compose": "^5.7.0",
"@wordpress/block-editor": "~9.1.0",
"@wordpress/compose": "~5.7.0",
"classnames": "^2.3.1",
"react-query": "^3.32.1",
"tslib": "^2.3.0",
Expand All @@ -44,9 +44,9 @@
"typescript": "^4.7.4"
},
"peerDependencies": {
"@wordpress/data": "^6.7.0",
"@wordpress/element": "^4.5.0",
"@wordpress/i18n": "^4.7.0",
"@wordpress/data": "~6.7.0",
"@wordpress/element": "~4.5.0",
"@wordpress/i18n": "~4.7.0",
"debug": "^4.3.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/calypso-babel-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@babel/register": "^7.17.0",
"@babel/runtime": "^7.17.2",
"@emotion/babel-plugin": "^11.3.0",
"@wordpress/babel-plugin-import-jsx-pragma": "^3.1.2",
"@wordpress/babel-plugin-import-jsx-pragma": "~3.1.2",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/calypso-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"@babel/compat-data": "^7.17.0",
"@babel/core": "^7.17.5",
"@types/webpack-env": "^1.16.3",
"@wordpress/browserslist-config": "^4.1.2",
"@wordpress/dependency-extraction-webpack-plugin": "^3.5.0",
"@wordpress/browserslist-config": "~4.1.2",
"@wordpress/dependency-extraction-webpack-plugin": "~3.5.0",
"autoprefixer": "^10.2.5",
"babel-loader": "^8.2.3",
"browserslist": "^4.8.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/calypso-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/jest": "^27.4.0",
"@types/node": "^18.11.18",
"@types/node-fetch": "^2.6.1",
"@wordpress/i18n": "^4.9.0",
"@wordpress/i18n": "~4.9.0",
"asana-phrase": "^0.0.8",
"node-fetch": "^2.6.7",
"typescript": "^4.7.4"
Expand Down
8 changes: 4 additions & 4 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"@automattic/data-stores": "workspace:^",
"@automattic/search": "workspace:^",
"@automattic/typography": "workspace:^",
"@wordpress/base-styles": "^4.5.0",
"@wordpress/components": "^19.15.0",
"@wordpress/icons": "^9.11.0",
"@wordpress/base-styles": "~4.5.0",
"@wordpress/components": "~19.15.0",
"@wordpress/icons": "~9.11.0",
"canvas-confetti": "^1.6.0",
"classnames": "^2.3.1",
"framer-motion": "6.2.8",
Expand All @@ -46,7 +46,7 @@
"wpcom-proxy-request": "workspace:^"
},
"peerDependencies": {
"@wordpress/data": "^6.1.5",
"@wordpress/data": "~6.1.5",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
Expand Down
Loading

0 comments on commit 42fd038

Please sign in to comment.