diff --git a/packages/a11y/package.json b/packages/a11y/package.json index 4d4be5cdbfa66..ed3bf6526faad 100644 --- a/packages/a11y/package.json +++ b/packages/a11y/package.json @@ -26,8 +26,10 @@ "types": "build-types", "dependencies": { "@babel/runtime": "^7.11.2", - "@wordpress/dom-ready": "file:../dom-ready", - "@wordpress/i18n": "file:../i18n" + "@wordpress/dom-ready": "file:../dom-ready" + }, + "peerDependencies": { + "@wordpress/i18n": "^3.16.0" }, "publishConfig": { "access": "public" diff --git a/packages/annotations/package.json b/packages/annotations/package.json index 956f3e3a4b599..21bc9dc641c94 100644 --- a/packages/annotations/package.json +++ b/packages/annotations/package.json @@ -23,14 +23,16 @@ "react-native": "src/index", "dependencies": { "@babel/runtime": "^7.11.2", - "@wordpress/data": "file:../data", - "@wordpress/hooks": "file:../hooks", - "@wordpress/i18n": "file:../i18n", - "@wordpress/rich-text": "file:../rich-text", "lodash": "^4.17.19", "rememo": "^3.0.0", "uuid": "^8.3.0" }, + "peerDependencies": { + "@wordpress/data": "^4.25.0", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/rich-text": "^3.23.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/api-fetch/package.json b/packages/api-fetch/package.json index 8f5225db3178b..1a74623bdb105 100644 --- a/packages/api-fetch/package.json +++ b/packages/api-fetch/package.json @@ -24,9 +24,11 @@ "react-native": "src/index", "dependencies": { "@babel/runtime": "^7.11.2", - "@wordpress/i18n": "file:../i18n", "@wordpress/url": "file:../url" }, + "peerDependencies": { + "@wordpress/i18n": "^3.16.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/block-directory/package.json b/packages/block-directory/package.json index dbd6182594eb4..d8169c7813548 100644 --- a/packages/block-directory/package.json +++ b/packages/block-directory/package.json @@ -25,23 +25,26 @@ "@babel/runtime": "^7.11.2", "@wordpress/a11y": "file:../a11y", "@wordpress/api-fetch": "file:../api-fetch", - "@wordpress/block-editor": "file:../block-editor", - "@wordpress/blocks": "file:../blocks", "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", - "@wordpress/data": "file:../data", "@wordpress/data-controls": "file:../data-controls", - "@wordpress/edit-post": "file:../edit-post", "@wordpress/element": "file:../element", - "@wordpress/hooks": "file:../hooks", "@wordpress/html-entities": "file:../html-entities", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", - "@wordpress/notices": "file:../notices", - "@wordpress/plugins": "file:../plugins", "@wordpress/url": "file:../url", "lodash": "^4.17.19" }, + "peerDependencies": { + "@wordpress/block-editor": "^5.1.2", + "@wordpress/blocks": "^6.24.1", + "@wordpress/data": "^4.25.0", + "@wordpress/edit-post": "^3.25.2", + "@wordpress/editor": "^9.24.2", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/notices": "^2.11.0", + "@wordpress/plugins": "^2.23.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/block-editor/package.json b/packages/block-editor/package.json index 7fc434dc3e565..46b687d23908a 100644 --- a/packages/block-editor/package.json +++ b/packages/block-editor/package.json @@ -31,26 +31,18 @@ "@babel/runtime": "^7.11.2", "@wordpress/a11y": "file:../a11y", "@wordpress/blob": "file:../blob", - "@wordpress/blocks": "file:../blocks", "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", - "@wordpress/data": "file:../data", "@wordpress/deprecated": "file:../deprecated", "@wordpress/dom": "file:../dom", "@wordpress/element": "file:../element", - "@wordpress/hooks": "file:../hooks", "@wordpress/html-entities": "file:../html-entities", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", "@wordpress/is-shallow-equal": "file:../is-shallow-equal", - "@wordpress/keyboard-shortcuts": "file:../keyboard-shortcuts", "@wordpress/keycodes": "file:../keycodes", - "@wordpress/notices": "file:../notices", - "@wordpress/rich-text": "file:../rich-text", "@wordpress/shortcode": "file:../shortcode", "@wordpress/token-list": "file:../token-list", "@wordpress/url": "file:../url", - "@wordpress/viewport": "file:../viewport", "@wordpress/warning": "file:../warning", "@wordpress/wordcount": "file:../wordcount", "classnames": "^2.2.5", @@ -70,6 +62,16 @@ "tinycolor2": "^1.4.1", "traverse": "^0.6.6" }, + "peerDependencies": { + "@wordpress/blocks": "^6.24.1", + "@wordpress/data": "^4.25.0", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/keyboard-shortcuts": "^1.12.0", + "@wordpress/notices": "^2.11.0", + "@wordpress/rich-text": "^3.23.0", + "@wordpress/viewport": "^2.24.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/block-library/package.json b/packages/block-library/package.json index 42adc1e8f4ba4..216d8e947e74c 100644 --- a/packages/block-library/package.json +++ b/packages/block-library/package.json @@ -31,30 +31,19 @@ "@wordpress/api-fetch": "file:../api-fetch", "@wordpress/autop": "file:../autop", "@wordpress/blob": "file:../blob", - "@wordpress/block-editor": "file:../block-editor", - "@wordpress/blocks": "file:../blocks", "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", - "@wordpress/core-data": "file:../core-data", - "@wordpress/data": "file:../data", "@wordpress/date": "file:../date", "@wordpress/deprecated": "file:../deprecated", "@wordpress/dom": "file:../dom", - "@wordpress/editor": "file:../editor", "@wordpress/element": "file:../element", "@wordpress/escape-html": "file:../escape-html", - "@wordpress/hooks": "file:../hooks", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", "@wordpress/is-shallow-equal": "file:../is-shallow-equal", "@wordpress/keycodes": "file:../keycodes", - "@wordpress/notices": "file:../notices", "@wordpress/primitives": "file:../primitives", - "@wordpress/reusable-blocks": "file:../reusable-blocks", - "@wordpress/rich-text": "file:../rich-text", "@wordpress/server-side-render": "file:../server-side-render", "@wordpress/url": "file:../url", - "@wordpress/viewport": "file:../viewport", "classnames": "^2.2.5", "fast-average-color": "4.3.0", "lodash": "^4.17.19", @@ -64,6 +53,19 @@ "reakit": "1.1.0", "tinycolor2": "^1.4.1" }, + "peerDependencies": { + "@wordpress/block-editor": "^5.1.2", + "@wordpress/blocks": "^6.24.1", + "@wordpress/core-data": "^2.24.1", + "@wordpress/data": "^4.25.0", + "@wordpress/editor": "^9.24.2", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/notices": "^2.11.0", + "@wordpress/reusable-blocks": "^1.0.2", + "@wordpress/rich-text": "^3.23.0", + "@wordpress/viewport": "^2.24.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/blocks/package.json b/packages/blocks/package.json index 22a7807f46ec9..a35cf24bd5699 100644 --- a/packages/blocks/package.json +++ b/packages/blocks/package.json @@ -30,13 +30,10 @@ "@wordpress/blob": "file:../blob", "@wordpress/block-serialization-default-parser": "file:../block-serialization-default-parser", "@wordpress/compose": "file:../compose", - "@wordpress/data": "file:../data", "@wordpress/deprecated": "file:../deprecated", "@wordpress/dom": "file:../dom", "@wordpress/element": "file:../element", - "@wordpress/hooks": "file:../hooks", "@wordpress/html-entities": "file:../html-entities", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", "@wordpress/is-shallow-equal": "file:../is-shallow-equal", "@wordpress/shortcode": "file:../shortcode", @@ -48,6 +45,11 @@ "tinycolor2": "^1.4.1", "uuid": "^8.3.0" }, + "peerDependencies": { + "@wordpress/data": "^4.25.0", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/components/package.json b/packages/components/package.json index 02feffdfebe8b..9b17986199f06 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -37,13 +37,10 @@ "@wordpress/deprecated": "file:../deprecated", "@wordpress/dom": "file:../dom", "@wordpress/element": "file:../element", - "@wordpress/hooks": "file:../hooks", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", "@wordpress/is-shallow-equal": "file:../is-shallow-equal", "@wordpress/keycodes": "file:../keycodes", "@wordpress/primitives": "file:../primitives", - "@wordpress/rich-text": "file:../rich-text", "@wordpress/warning": "file:../warning", "classnames": "^2.2.5", "dom-scroll-into-view": "^1.2.1", @@ -63,6 +60,12 @@ "tinycolor2": "^1.4.1", "uuid": "^8.3.0" }, + "peerDependencies": { + "@wordpress/blocks": "^6.24.1", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/rich-text": "^3.23.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/core-data/package.json b/packages/core-data/package.json index 47ddfbab6de83..4c9da4c23ba21 100644 --- a/packages/core-data/package.json +++ b/packages/core-data/package.json @@ -28,12 +28,9 @@ "dependencies": { "@babel/runtime": "^7.11.2", "@wordpress/api-fetch": "file:../api-fetch", - "@wordpress/blocks": "file:../blocks", - "@wordpress/data": "file:../data", "@wordpress/data-controls": "file:../data-controls", "@wordpress/deprecated": "file:../deprecated", "@wordpress/element": "file:../element", - "@wordpress/i18n": "file:../i18n", "@wordpress/is-shallow-equal": "file:../is-shallow-equal", "@wordpress/url": "file:../url", "equivalent-key-map": "^0.2.2", @@ -41,6 +38,11 @@ "rememo": "^3.0.0", "uuid": "^8.3.0" }, + "peerDependencies": { + "@wordpress/blocks": "^6.24.1", + "@wordpress/data": "^4.25.0", + "@wordpress/i18n": "^3.16.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/data-controls/package.json b/packages/data-controls/package.json index b659653c9537d..edc26dd8de151 100644 --- a/packages/data-controls/package.json +++ b/packages/data-controls/package.json @@ -25,9 +25,11 @@ "dependencies": { "@babel/runtime": "^7.11.2", "@wordpress/api-fetch": "file:../api-fetch", - "@wordpress/data": "file:../data", "@wordpress/deprecated": "file:../deprecated" }, + "peerDependencies": { + "@wordpress/data": "^4.25.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/dependency-extraction-webpack-plugin/package.json b/packages/dependency-extraction-webpack-plugin/package.json index c11ba4edd1aa9..52e33f7436fc5 100644 --- a/packages/dependency-extraction-webpack-plugin/package.json +++ b/packages/dependency-extraction-webpack-plugin/package.json @@ -27,9 +27,11 @@ "types": "build-types", "dependencies": { "json2php": "^0.0.4", - "webpack": "^4.8.3", "webpack-sources": "^1.3.0" }, + "peerDependencies": { + "webpack": "^4.8.3" + }, "publishConfig": { "access": "public" } diff --git a/packages/deprecated/package.json b/packages/deprecated/package.json index b6c895c48ebaa..b0bd3fcfe35cb 100644 --- a/packages/deprecated/package.json +++ b/packages/deprecated/package.json @@ -23,8 +23,10 @@ "react-native": "src/index", "sideEffects": false, "dependencies": { - "@babel/runtime": "^7.11.2", - "@wordpress/hooks": "file:../hooks" + "@babel/runtime": "^7.11.2" + }, + "peerDependencies": { + "@wordpress/hooks": "^2.10.0" }, "publishConfig": { "access": "public" diff --git a/packages/edit-navigation/package.json b/packages/edit-navigation/package.json index 9ae48fcf31a72..500e02e592043 100644 --- a/packages/edit-navigation/package.json +++ b/packages/edit-navigation/package.json @@ -26,29 +26,31 @@ "dependencies": { "@babel/runtime": "^7.11.2", "@wordpress/api-fetch": "file:../api-fetch", - "@wordpress/block-editor": "file:../block-editor", "@wordpress/block-library": "file:../block-library", - "@wordpress/blocks": "file:../blocks", "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", - "@wordpress/core-data": "file:../core-data", - "@wordpress/data": "file:../data", "@wordpress/data-controls": "file:../data-controls", "@wordpress/dom-ready": "file:../dom-ready", "@wordpress/element": "file:../element", - "@wordpress/hooks": "file:../hooks", "@wordpress/html-entities": "file:../html-entities", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", - "@wordpress/keyboard-shortcuts": "file:../keyboard-shortcuts", "@wordpress/media-utils": "file:../media-utils", - "@wordpress/notices": "file:../notices", "@wordpress/url": "file:../url", "classnames": "^2.2.5", "lodash": "^4.17.19", "rememo": "^3.0.0", "uuid": "^8.3.0" }, + "peerDependencies": { + "@wordpress/block-editor": "^5.1.2", + "@wordpress/blocks": "^6.24.1", + "@wordpress/core-data": "^2.24.1", + "@wordpress/data": "^4.25.0", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/keyboard-shortcuts": "^1.12.0", + "@wordpress/notices": "^2.11.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/edit-post/package.json b/packages/edit-post/package.json index 0b6da85948a95..a3347751758a3 100644 --- a/packages/edit-post/package.json +++ b/packages/edit-post/package.json @@ -26,28 +26,15 @@ "@babel/runtime": "^7.11.2", "@wordpress/a11y": "file:../a11y", "@wordpress/api-fetch": "file:../api-fetch", - "@wordpress/block-editor": "file:../block-editor", "@wordpress/block-library": "file:../block-library", - "@wordpress/blocks": "file:../blocks", "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", - "@wordpress/core-data": "file:../core-data", - "@wordpress/data": "file:../data", - "@wordpress/editor": "file:../editor", "@wordpress/element": "file:../element", - "@wordpress/hooks": "file:../hooks", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", - "@wordpress/interface": "file:../interface", - "@wordpress/keyboard-shortcuts": "file:../keyboard-shortcuts", "@wordpress/keycodes": "file:../keycodes", "@wordpress/media-utils": "file:../media-utils", - "@wordpress/notices": "file:../notices", - "@wordpress/plugins": "file:../plugins", "@wordpress/primitives": "file:../primitives", - "@wordpress/reusable-blocks": "file:../reusable-blocks", "@wordpress/url": "file:../url", - "@wordpress/viewport": "file:../viewport", "@wordpress/warning": "file:../warning", "classnames": "^2.2.5", "lodash": "^4.17.19", @@ -55,6 +42,21 @@ "refx": "^3.0.0", "rememo": "^3.0.0" }, + "peerDependencies": { + "@wordpress/block-editor": "^5.1.2", + "@wordpress/blocks": "^6.24.1", + "@wordpress/core-data": "^2.24.1", + "@wordpress/data": "^4.25.0", + "@wordpress/editor": "^9.24.2", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/interface": "^0.10.2", + "@wordpress/keyboard-shortcuts": "^1.12.0", + "@wordpress/notices": "^2.11.0", + "@wordpress/plugins": "^2.23.0", + "@wordpress/reusable-blocks": "^1.0.2", + "@wordpress/viewport": "^2.24.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/edit-site/package.json b/packages/edit-site/package.json index ae6511351f056..cfb7e8b22d717 100644 --- a/packages/edit-site/package.json +++ b/packages/edit-site/package.json @@ -26,25 +26,14 @@ "@babel/runtime": "^7.11.2", "@wordpress/a11y": "file:../a11y", "@wordpress/api-fetch": "file:../api-fetch", - "@wordpress/block-editor": "file:../block-editor", "@wordpress/block-library": "file:../block-library", - "@wordpress/blocks": "file:../blocks", "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", - "@wordpress/core-data": "file:../core-data", - "@wordpress/data": "file:../data", "@wordpress/data-controls": "file:../data-controls", - "@wordpress/editor": "file:../editor", "@wordpress/element": "file:../element", - "@wordpress/hooks": "file:../hooks", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", - "@wordpress/interface": "file:../interface", - "@wordpress/keyboard-shortcuts": "file:../keyboard-shortcuts", "@wordpress/keycodes": "file:../keycodes", "@wordpress/media-utils": "file:../media-utils", - "@wordpress/notices": "file:../notices", - "@wordpress/plugins": "file:../plugins", "@wordpress/primitives": "file:../primitives", "@wordpress/url": "file:../url", "classnames": "^2.2.5", @@ -54,6 +43,19 @@ "lodash": "^4.17.19", "rememo": "^3.0.0" }, + "peerDependencies": { + "@wordpress/block-editor": "^5.1.2", + "@wordpress/blocks": "^6.24.1", + "@wordpress/core-data": "^2.24.1", + "@wordpress/data": "^4.25.0", + "@wordpress/editor": "^9.24.2", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/interface": "^0.10.2", + "@wordpress/keyboard-shortcuts": "^1.12.0", + "@wordpress/notices": "^2.11.0", + "@wordpress/plugins": "^2.23.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/edit-widgets/package.json b/packages/edit-widgets/package.json index 63686ea6bbfb0..56091be5bbd9a 100644 --- a/packages/edit-widgets/package.json +++ b/packages/edit-widgets/package.json @@ -25,25 +25,14 @@ "dependencies": { "@babel/runtime": "^7.11.2", "@wordpress/api-fetch": "file:../api-fetch", - "@wordpress/block-editor": "file:../block-editor", "@wordpress/block-library": "file:../block-library", - "@wordpress/blocks": "file:../blocks", "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", - "@wordpress/core-data": "file:../core-data", - "@wordpress/data": "file:../data", "@wordpress/data-controls": "file:../data-controls", "@wordpress/element": "file:../element", - "@wordpress/hooks": "file:../hooks", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", - "@wordpress/interface": "file:../interface", - "@wordpress/keyboard-shortcuts": "file:../keyboard-shortcuts", "@wordpress/keycodes": "file:../keycodes", "@wordpress/media-utils": "file:../media-utils", - "@wordpress/notices": "file:../notices", - "@wordpress/plugins": "file:../plugins", - "@wordpress/reusable-blocks": "file:../reusable-blocks", "@wordpress/server-side-render": "file:../server-side-render", "@wordpress/url": "file:../url", "classnames": "^2.2.5", @@ -52,6 +41,19 @@ "rememo": "^3.0.0", "uuid": "^8.3.0" }, + "peerDependencies": { + "@wordpress/block-editor": "^5.1.2", + "@wordpress/blocks": "^6.24.1", + "@wordpress/core-data": "^2.24.1", + "@wordpress/data": "^4.25.0", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/interface": "^0.10.2", + "@wordpress/keyboard-shortcuts": "^1.12.0", + "@wordpress/notices": "^2.11.0", + "@wordpress/plugins": "^2.23.0", + "@wordpress/reusable-blocks": "^1.0.2" + }, "publishConfig": { "access": "public" } diff --git a/packages/editor/package.json b/packages/editor/package.json index e57318ca515d0..852708006b134 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -31,30 +31,19 @@ "@wordpress/api-fetch": "file:../api-fetch", "@wordpress/autop": "file:../autop", "@wordpress/blob": "file:../blob", - "@wordpress/block-editor": "file:../block-editor", - "@wordpress/blocks": "file:../blocks", "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", - "@wordpress/core-data": "file:../core-data", - "@wordpress/data": "file:../data", "@wordpress/data-controls": "file:../data-controls", "@wordpress/date": "file:../date", "@wordpress/deprecated": "file:../deprecated", "@wordpress/element": "file:../element", - "@wordpress/hooks": "file:../hooks", "@wordpress/html-entities": "file:../html-entities", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", "@wordpress/is-shallow-equal": "file:../is-shallow-equal", - "@wordpress/keyboard-shortcuts": "file:../keyboard-shortcuts", "@wordpress/keycodes": "file:../keycodes", "@wordpress/media-utils": "file:../media-utils", - "@wordpress/notices": "file:../notices", - "@wordpress/reusable-blocks": "file:../reusable-blocks", - "@wordpress/rich-text": "file:../rich-text", "@wordpress/server-side-render": "file:../server-side-render", "@wordpress/url": "file:../url", - "@wordpress/viewport": "file:../viewport", "@wordpress/wordcount": "file:../wordcount", "classnames": "^2.2.5", "lodash": "^4.17.19", @@ -64,6 +53,19 @@ "refx": "^3.0.0", "rememo": "^3.0.0" }, + "peerDependencies": { + "@wordpress/block-editor": "^5.1.2", + "@wordpress/blocks": "^6.24.1", + "@wordpress/core-data": "^2.24.1", + "@wordpress/data": "^4.25.0", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/keyboard-shortcuts": "^1.12.0", + "@wordpress/notices": "^2.11.0", + "@wordpress/reusable-blocks": "^1.0.2", + "@wordpress/rich-text": "^3.23.0", + "@wordpress/viewport": "^2.24.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/format-library/package.json b/packages/format-library/package.json index 75572c2c1860d..4365b4d4349aa 100644 --- a/packages/format-library/package.json +++ b/packages/format-library/package.json @@ -24,20 +24,22 @@ "dependencies": { "@babel/runtime": "^7.11.2", "@wordpress/a11y": "file:../a11y", - "@wordpress/block-editor": "file:../block-editor", "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", - "@wordpress/data": "file:../data", "@wordpress/dom": "file:../dom", "@wordpress/element": "file:../element", "@wordpress/html-entities": "file:../html-entities", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", "@wordpress/keycodes": "file:../keycodes", - "@wordpress/rich-text": "file:../rich-text", "@wordpress/url": "file:../url", "lodash": "^4.17.19" }, + "peerDependencies": { + "@wordpress/block-editor": "^5.1.2", + "@wordpress/data": "^4.25.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/rich-text": "^3.23.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/interface/package.json b/packages/interface/package.json index bc0dea1b155c3..c55e186a868dd 100644 --- a/packages/interface/package.json +++ b/packages/interface/package.json @@ -30,15 +30,17 @@ "dependencies": { "@babel/runtime": "^7.11.2", "@wordpress/components": "file:../components", - "@wordpress/data": "file:../data", "@wordpress/deprecated": "file:../deprecated", "@wordpress/element": "file:../element", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", - "@wordpress/plugins": "file:../plugins", "classnames": "^2.2.5", "lodash": "^4.17.19" }, + "peerDependencies": { + "@wordpress/data": "^4.25.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/plugins": "^2.23.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/keyboard-shortcuts/package.json b/packages/keyboard-shortcuts/package.json index 644ab39c61670..9c67ff9e00ea1 100644 --- a/packages/keyboard-shortcuts/package.json +++ b/packages/keyboard-shortcuts/package.json @@ -24,12 +24,14 @@ "dependencies": { "@babel/runtime": "^7.11.2", "@wordpress/compose": "file:../compose", - "@wordpress/data": "file:../data", "@wordpress/element": "file:../element", "@wordpress/keycodes": "file:../keycodes", "lodash": "^4.17.19", "rememo": "^3.0.0" }, + "peerDependencies": { + "@wordpress/data": "^4.25.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/keycodes/package.json b/packages/keycodes/package.json index 536e77bd6d92b..570d41d0b9d42 100644 --- a/packages/keycodes/package.json +++ b/packages/keycodes/package.json @@ -24,9 +24,11 @@ "sideEffects": false, "dependencies": { "@babel/runtime": "^7.11.2", - "@wordpress/i18n": "file:../i18n", "lodash": "^4.17.19" }, + "peerDependencies": { + "@wordpress/i18n": "^3.16.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/list-reusable-blocks/package.json b/packages/list-reusable-blocks/package.json index 7e61f085427c8..6500b9f357595 100644 --- a/packages/list-reusable-blocks/package.json +++ b/packages/list-reusable-blocks/package.json @@ -27,9 +27,11 @@ "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", "@wordpress/element": "file:../element", - "@wordpress/i18n": "file:../i18n", "lodash": "^4.17.19" }, + "peerDependencies": { + "@wordpress/i18n": "^3.16.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/media-utils/package.json b/packages/media-utils/package.json index 9cab8621a7692..8406826136461 100644 --- a/packages/media-utils/package.json +++ b/packages/media-utils/package.json @@ -26,9 +26,11 @@ "@wordpress/api-fetch": "file:../api-fetch", "@wordpress/blob": "file:../blob", "@wordpress/element": "file:../element", - "@wordpress/i18n": "file:../i18n", "lodash": "^4.17.19" }, + "peerDependencies": { + "@wordpress/i18n": "^3.16.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/notices/package.json b/packages/notices/package.json index 1fc7c40f86fc4..30961999b6f0c 100644 --- a/packages/notices/package.json +++ b/packages/notices/package.json @@ -24,9 +24,11 @@ "dependencies": { "@babel/runtime": "^7.11.2", "@wordpress/a11y": "file:../a11y", - "@wordpress/data": "file:../data", "lodash": "^4.17.19" }, + "peerDependencies": { + "@wordpress/data": "^4.25.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/nux/package.json b/packages/nux/package.json index 11131a75aef3f..9f10bea7f2bb4 100644 --- a/packages/nux/package.json +++ b/packages/nux/package.json @@ -30,14 +30,16 @@ "@babel/runtime": "^7.11.2", "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", - "@wordpress/data": "file:../data", "@wordpress/deprecated": "file:../deprecated", "@wordpress/element": "file:../element", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", "lodash": "^4.17.19", "rememo": "^3.0.0" }, + "peerDependencies": { + "@wordpress/data": "^4.25.0", + "@wordpress/i18n": "^3.16.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/plugins/package.json b/packages/plugins/package.json index 37c3ee207f4ce..a6800c52ea06f 100644 --- a/packages/plugins/package.json +++ b/packages/plugins/package.json @@ -25,10 +25,12 @@ "@babel/runtime": "^7.11.2", "@wordpress/compose": "file:../compose", "@wordpress/element": "file:../element", - "@wordpress/hooks": "file:../hooks", "@wordpress/icons": "file:../icons", "lodash": "^4.17.19" }, + "peerDependencies": { + "@wordpress/hooks": "^2.10.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/react-native-editor/package.json b/packages/react-native-editor/package.json index f98ff063cd721..77f8d0987ca3b 100644 --- a/packages/react-native-editor/package.json +++ b/packages/react-native-editor/package.json @@ -38,15 +38,10 @@ "@react-navigation/routers": "5.4.9", "@react-navigation/stack": "5.6.2", "@wordpress/api-fetch": "file:../api-fetch", - "@wordpress/block-editor": "file:../block-editor", "@wordpress/block-library": "file:../block-library", - "@wordpress/blocks": "file:../blocks", "@wordpress/components": "file:../components", - "@wordpress/data": "file:../data", "@wordpress/edit-post": "file:../edit-post", "@wordpress/element": "file:../element", - "@wordpress/hooks": "file:../hooks", - "@wordpress/i18n": "file:../i18n", "@wordpress/react-native-aztec": "file:../react-native-aztec", "@wordpress/react-native-bridge": "file:../react-native-bridge", "fast-average-color": "^4.3.0", @@ -74,6 +69,13 @@ "react-native-url-polyfill": "^1.1.2", "react-native-video": "git+https://github.com/wordpress-mobile/react-native-video.git#1b964b107863351ed744fc104d7952bbec3e2d4f" }, + "peerDependencies": { + "@wordpress/block-editor": "^5.1.2", + "@wordpress/blocks": "^6.24.1", + "@wordpress/data": "^4.25.0", + "@wordpress/hooks": "^2.10.0", + "@wordpress/i18n": "^3.16.0" + }, "publishConfig": { "access": "public" }, diff --git a/packages/reusable-blocks/package.json b/packages/reusable-blocks/package.json index 053f169e56128..2a208ce22ab30 100644 --- a/packages/reusable-blocks/package.json +++ b/packages/reusable-blocks/package.json @@ -25,18 +25,20 @@ "{src,build,build-module}/{index.js,store/index.js}" ], "dependencies": { - "@wordpress/block-editor": "file:../block-editor", - "@wordpress/blocks": "file:../blocks", "@wordpress/components": "file:../components", "@wordpress/compose": "file:../compose", - "@wordpress/core-data": "file:../core-data", - "@wordpress/data": "file:../data", "@wordpress/element": "file:../element", - "@wordpress/i18n": "file:../i18n", "@wordpress/icons": "file:../icons", - "@wordpress/notices": "file:../notices", "lodash": "^4.17.19" }, + "peerDependencies": { + "@wordpress/block-editor": "^5.1.2", + "@wordpress/blocks": "^6.24.1", + "@wordpress/core-data": "^2.24.1", + "@wordpress/data": "^4.25.0", + "@wordpress/i18n": "^3.16.0", + "@wordpress/notices": "^2.11.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/rich-text/package.json b/packages/rich-text/package.json index 219908bad0d01..f09fcc03501d8 100644 --- a/packages/rich-text/package.json +++ b/packages/rich-text/package.json @@ -28,7 +28,6 @@ "dependencies": { "@babel/runtime": "^7.11.2", "@wordpress/compose": "file:../compose", - "@wordpress/data": "file:../data", "@wordpress/deprecated": "file:../deprecated", "@wordpress/dom": "file:../dom", "@wordpress/element": "file:../element", @@ -40,6 +39,9 @@ "memize": "^1.1.0", "rememo": "^3.0.0" }, + "peerDependencies": { + "@wordpress/data": "^4.25.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/server-side-render/package.json b/packages/server-side-render/package.json index 80b45c5d2ff6e..8262459d7a6fb 100644 --- a/packages/server-side-render/package.json +++ b/packages/server-side-render/package.json @@ -26,13 +26,16 @@ "@babel/runtime": "^7.11.2", "@wordpress/api-fetch": "file:../api-fetch", "@wordpress/components": "file:../components", - "@wordpress/data": "file:../data", "@wordpress/deprecated": "file:../deprecated", "@wordpress/element": "file:../element", - "@wordpress/i18n": "file:../i18n", "@wordpress/url": "file:../url", "lodash": "^4.17.19" }, + "peerDependencies": { + "@wordpress/data": "^4.25.0", + "@wordpress/editor": "^9.24.2", + "@wordpress/i18n": "^3.16.0" + }, "publishConfig": { "access": "public" } diff --git a/packages/viewport/package.json b/packages/viewport/package.json index e428301295c93..3d608353df026 100644 --- a/packages/viewport/package.json +++ b/packages/viewport/package.json @@ -24,9 +24,11 @@ "dependencies": { "@babel/runtime": "^7.11.2", "@wordpress/compose": "file:../compose", - "@wordpress/data": "file:../data", "lodash": "^4.17.19" }, + "peerDependencies": { + "@wordpress/data": "^4.25.0" + }, "publishConfig": { "access": "public" }