From 9e423805707321396eec137f5b732a5b07a0dd3f Mon Sep 17 00:00:00 2001 From: Shashank Bairy R Date: Tue, 4 May 2021 13:34:17 +0530 Subject: [PATCH] feat: added react 17 as peer dependency in packages (#5316) --- packages/netlify-cms-app/package.json | 4 ++-- packages/netlify-cms-backend-azure/package.json | 2 +- packages/netlify-cms-backend-bitbucket/package.json | 2 +- packages/netlify-cms-backend-git-gateway/package.json | 2 +- packages/netlify-cms-backend-github/package.json | 2 +- packages/netlify-cms-backend-gitlab/package.json | 2 +- packages/netlify-cms-backend-proxy/package.json | 2 +- packages/netlify-cms-backend-test/package.json | 2 +- packages/netlify-cms-core/package.json | 4 ++-- packages/netlify-cms-default-exports/package.json | 4 ++-- packages/netlify-cms-editor-component-image/package.json | 2 +- packages/netlify-cms-ui-default/package.json | 2 +- packages/netlify-cms-widget-boolean/package.json | 2 +- packages/netlify-cms-widget-code/package.json | 2 +- packages/netlify-cms-widget-colorstring/package.json | 2 +- packages/netlify-cms-widget-date/package.json | 4 ++-- packages/netlify-cms-widget-datetime/package.json | 2 +- packages/netlify-cms-widget-file/package.json | 2 +- packages/netlify-cms-widget-image/package.json | 2 +- packages/netlify-cms-widget-list/package.json | 2 +- packages/netlify-cms-widget-map/package.json | 2 +- packages/netlify-cms-widget-markdown/package.json | 4 ++-- packages/netlify-cms-widget-number/package.json | 2 +- packages/netlify-cms-widget-object/package.json | 2 +- packages/netlify-cms-widget-relation/package.json | 2 +- packages/netlify-cms-widget-select/package.json | 2 +- packages/netlify-cms-widget-string/package.json | 2 +- packages/netlify-cms-widget-text/package.json | 2 +- 28 files changed, 33 insertions(+), 33 deletions(-) diff --git a/packages/netlify-cms-app/package.json b/packages/netlify-cms-app/package.json index 9ee1405e..d92f7c5a 100644 --- a/packages/netlify-cms-app/package.json +++ b/packages/netlify-cms-app/package.json @@ -68,8 +68,8 @@ "uuid": "^3.3.2" }, "peerDependencies": { - "react": "^16.8.4", - "react-dom": "^16.8.4" + "react": "^16.8.4 || ^17.0.0", + "react-dom": "^16.8.4 || ^17.0.0" }, "incrementToForceBump": 2 } diff --git a/packages/netlify-cms-backend-azure/package.json b/packages/netlify-cms-backend-azure/package.json index 2740cb91..19f416fc 100644 --- a/packages/netlify-cms-backend-azure/package.json +++ b/packages/netlify-cms-backend-azure/package.json @@ -33,6 +33,6 @@ "netlify-cms-lib-util": "^2.12.3", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-backend-bitbucket/package.json b/packages/netlify-cms-backend-bitbucket/package.json index 756cb7e0..126ee04f 100644 --- a/packages/netlify-cms-backend-bitbucket/package.json +++ b/packages/netlify-cms-backend-bitbucket/package.json @@ -34,6 +34,6 @@ "netlify-cms-lib-util": "^2.12.3", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-backend-git-gateway/package.json b/packages/netlify-cms-backend-git-gateway/package.json index 90371fd8..b901b1d8 100644 --- a/packages/netlify-cms-backend-git-gateway/package.json +++ b/packages/netlify-cms-backend-git-gateway/package.json @@ -37,6 +37,6 @@ "netlify-cms-lib-util": "^2.12.3", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-backend-github/package.json b/packages/netlify-cms-backend-github/package.json index a8bafa57..2ac0b775 100644 --- a/packages/netlify-cms-backend-github/package.json +++ b/packages/netlify-cms-backend-github/package.json @@ -39,6 +39,6 @@ "netlify-cms-lib-util": "^2.12.3", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-backend-gitlab/package.json b/packages/netlify-cms-backend-gitlab/package.json index 6e364032..aedd6da3 100644 --- a/packages/netlify-cms-backend-gitlab/package.json +++ b/packages/netlify-cms-backend-gitlab/package.json @@ -32,6 +32,6 @@ "netlify-cms-lib-util": "^2.12.3", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-backend-proxy/package.json b/packages/netlify-cms-backend-proxy/package.json index d34be63d..4f729883 100644 --- a/packages/netlify-cms-backend-proxy/package.json +++ b/packages/netlify-cms-backend-proxy/package.json @@ -24,6 +24,6 @@ "netlify-cms-lib-util": "^2.12.3", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-backend-test/package.json b/packages/netlify-cms-backend-test/package.json index ddb78157..ddf55652 100644 --- a/packages/netlify-cms-backend-test/package.json +++ b/packages/netlify-cms-backend-test/package.json @@ -25,7 +25,7 @@ "netlify-cms-lib-util": "^2.12.3", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4", + "react": "^16.8.4 || ^17.0.0", "uuid": "^3.3.2" } } diff --git a/packages/netlify-cms-core/package.json b/packages/netlify-cms-core/package.json index f7faf422..32768f7e 100644 --- a/packages/netlify-cms-core/package.json +++ b/packages/netlify-cms-core/package.json @@ -84,8 +84,8 @@ "netlify-cms-lib-widgets": "^1.6.1", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4", - "react-dom": "^16.8.4", + "react": "^16.8.4 || ^17.0.0", + "react-dom": "^16.8.4 || ^17.0.0", "react-immutable-proptypes": "^2.1.0" }, "devDependencies": { diff --git a/packages/netlify-cms-default-exports/package.json b/packages/netlify-cms-default-exports/package.json index 9a9cc972..a7d72211 100644 --- a/packages/netlify-cms-default-exports/package.json +++ b/packages/netlify-cms-default-exports/package.json @@ -30,7 +30,7 @@ "uuid": "^3.3.2" }, "peerDependencies": { - "react": "^16.8.4", - "react-dom": "^16.8.4" + "react": "^16.8.4 || ^17.0.0", + "react-dom": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-editor-component-image/package.json b/packages/netlify-cms-editor-component-image/package.json index a308b9ca..29e354c2 100644 --- a/packages/netlify-cms-editor-component-image/package.json +++ b/packages/netlify-cms-editor-component-image/package.json @@ -25,6 +25,6 @@ "webpack-cli": "^4.0.0" }, "peerDependencies": { - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-ui-default/package.json b/packages/netlify-cms-ui-default/package.json index c5a8cfc1..5b4c4fed 100644 --- a/packages/netlify-cms-ui-default/package.json +++ b/packages/netlify-cms-ui-default/package.json @@ -26,6 +26,6 @@ "@emotion/styled": "^10.0.27", "lodash": "^4.17.11", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-widget-boolean/package.json b/packages/netlify-cms-widget-boolean/package.json index 67260992..e1f6d7f3 100644 --- a/packages/netlify-cms-widget-boolean/package.json +++ b/packages/netlify-cms-widget-boolean/package.json @@ -25,7 +25,7 @@ "lodash": "^4.17.11", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4", + "react": "^16.8.4 || ^17.0.0", "react-immutable-proptypes": "^2.1.0" } } diff --git a/packages/netlify-cms-widget-code/package.json b/packages/netlify-cms-widget-code/package.json index ded3c1be..a4811ffb 100644 --- a/packages/netlify-cms-widget-code/package.json +++ b/packages/netlify-cms-widget-code/package.json @@ -29,7 +29,7 @@ "codemirror": "^5.46.0", "lodash": "^4.17.11", "netlify-cms-ui-default": "^2.12.1", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" }, "dependencies": { "react-codemirror2": "^7.0.0", diff --git a/packages/netlify-cms-widget-colorstring/package.json b/packages/netlify-cms-widget-colorstring/package.json index b5c96edb..72717e5b 100644 --- a/packages/netlify-cms-widget-colorstring/package.json +++ b/packages/netlify-cms-widget-colorstring/package.json @@ -29,6 +29,6 @@ "@emotion/styled": "^10.0.27", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-widget-date/package.json b/packages/netlify-cms-widget-date/package.json index 11cca542..4b8f6d44 100644 --- a/packages/netlify-cms-widget-date/package.json +++ b/packages/netlify-cms-widget-date/package.json @@ -30,7 +30,7 @@ "moment": "^2.24.0", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4", - "react-dom": "^16.8.4" + "react": "^16.8.4 || ^17.0.0", + "react-dom": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-widget-datetime/package.json b/packages/netlify-cms-widget-datetime/package.json index 71bba9a5..8614d0f4 100644 --- a/packages/netlify-cms-widget-datetime/package.json +++ b/packages/netlify-cms-widget-datetime/package.json @@ -25,6 +25,6 @@ "peerDependencies": { "@emotion/core": "^10.0.35", "netlify-cms-widget-date": "^2.5.7", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-widget-file/package.json b/packages/netlify-cms-widget-file/package.json index 3518a0ee..026cd30c 100644 --- a/packages/netlify-cms-widget-file/package.json +++ b/packages/netlify-cms-widget-file/package.json @@ -33,7 +33,7 @@ "immutable": "^3.7.6", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4", + "react": "^16.8.4 || ^17.0.0", "react-immutable-proptypes": "^2.1.0", "uuid": "^3.3.2" } diff --git a/packages/netlify-cms-widget-image/package.json b/packages/netlify-cms-widget-image/package.json index 2a33306d..61b87444 100644 --- a/packages/netlify-cms-widget-image/package.json +++ b/packages/netlify-cms-widget-image/package.json @@ -29,6 +29,6 @@ "netlify-cms-ui-default": "^2.12.1", "netlify-cms-widget-file": "^2.9.2", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-widget-list/package.json b/packages/netlify-cms-widget-list/package.json index 5d54335d..b1fbb570 100644 --- a/packages/netlify-cms-widget-list/package.json +++ b/packages/netlify-cms-widget-list/package.json @@ -33,7 +33,7 @@ "netlify-cms-ui-default": "^2.12.1", "netlify-cms-widget-object": "^2.6.2", "prop-types": "^15.7.2", - "react": "^16.8.4", + "react": "^16.8.4 || ^17.0.0", "react-immutable-proptypes": "^2.1.0" } } diff --git a/packages/netlify-cms-widget-map/package.json b/packages/netlify-cms-widget-map/package.json index 0bdaadaa..3659c8ba 100644 --- a/packages/netlify-cms-widget-map/package.json +++ b/packages/netlify-cms-widget-map/package.json @@ -26,7 +26,7 @@ "lodash": "^4.17.11", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4", + "react": "^16.8.4 || ^17.0.0", "react-immutable-proptypes": "^2.1.0" }, "dependencies": { diff --git a/packages/netlify-cms-widget-markdown/package.json b/packages/netlify-cms-widget-markdown/package.json index 66c42a01..5f83c79c 100644 --- a/packages/netlify-cms-widget-markdown/package.json +++ b/packages/netlify-cms-widget-markdown/package.json @@ -49,8 +49,8 @@ "lodash": "^4.17.11", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4", - "react-dom": "^16.8.4", + "react": "^16.8.4 || ^17.0.0", + "react-dom": "^16.8.4 || ^17.0.0", "react-immutable-proptypes": "^2.1.0" }, "devDependencies": { diff --git a/packages/netlify-cms-widget-number/package.json b/packages/netlify-cms-widget-number/package.json index 0923604a..1edfe1e7 100644 --- a/packages/netlify-cms-widget-number/package.json +++ b/packages/netlify-cms-widget-number/package.json @@ -23,6 +23,6 @@ "peerDependencies": { "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-widget-object/package.json b/packages/netlify-cms-widget-object/package.json index 9a7f1ed8..0114cd60 100644 --- a/packages/netlify-cms-widget-object/package.json +++ b/packages/netlify-cms-widget-object/package.json @@ -29,7 +29,7 @@ "lodash": "^4.17.11", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4", + "react": "^16.8.4 || ^17.0.0", "react-immutable-proptypes": "^2.1.0" } } diff --git a/packages/netlify-cms-widget-relation/package.json b/packages/netlify-cms-widget-relation/package.json index 1b168a71..ebffb524 100644 --- a/packages/netlify-cms-widget-relation/package.json +++ b/packages/netlify-cms-widget-relation/package.json @@ -33,7 +33,7 @@ "netlify-cms-lib-widgets": "^1.6.1", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4", + "react": "^16.8.4 || ^17.0.0", "uuid": "^3.3.2" } } diff --git a/packages/netlify-cms-widget-select/package.json b/packages/netlify-cms-widget-select/package.json index b1f6ed74..a1cbfbee 100644 --- a/packages/netlify-cms-widget-select/package.json +++ b/packages/netlify-cms-widget-select/package.json @@ -27,7 +27,7 @@ "netlify-cms-lib-widgets": "^1.6.1", "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4", + "react": "^16.8.4 || ^17.0.0", "react-immutable-proptypes": "^2.1.0" }, "dependencies": { diff --git a/packages/netlify-cms-widget-string/package.json b/packages/netlify-cms-widget-string/package.json index d4c93062..1b4748bd 100644 --- a/packages/netlify-cms-widget-string/package.json +++ b/packages/netlify-cms-widget-string/package.json @@ -23,6 +23,6 @@ "peerDependencies": { "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } } diff --git a/packages/netlify-cms-widget-text/package.json b/packages/netlify-cms-widget-text/package.json index c3240694..e3250cda 100644 --- a/packages/netlify-cms-widget-text/package.json +++ b/packages/netlify-cms-widget-text/package.json @@ -29,6 +29,6 @@ "peerDependencies": { "netlify-cms-ui-default": "^2.12.1", "prop-types": "^15.7.2", - "react": "^16.8.4" + "react": "^16.8.4 || ^17.0.0" } }