diff --git a/packages/react/package.json b/packages/react/package.json index 9890615..64c18b3 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -26,7 +26,7 @@ "clean": "rimraf lib tsconfig.tsbuildinfo" }, "peerDependencies": { - "react": "^16.13.1", + "react": "^16.13.1 || ^17.0.0", "react-dom": "^16.13.1" }, "dependencies": { @@ -70,7 +70,7 @@ "optimize-css-assets-webpack-plugin": "5.0.4", "postcss-loader": "4.0.2", "prettier": "2.1.1", - "react": "16.13.1", + "react": "17.0.0", "react-dom": "16.13.1", "react-svg-loader": "3.0.3", "regenerator-runtime": "0.13.7", diff --git a/packages/vue/package.json b/packages/vue/package.json index 6fcb463..49e57a7 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -26,7 +26,7 @@ "clean": "rimraf lib tsconfig.tsbuildinfo" }, "peerDependencies": { - "react": "^16.13.1", + "react": "^16.13.1 || ^17.0.0", "react-dom": "^16.13.1" }, "dependencies": { diff --git a/yarn.lock b/yarn.lock index 861aca3..f425aed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10958,14 +10958,13 @@ react-svg-loader@3.0.3: loader-utils "^1.2.3" react-svg-core "^3.0.3" -react@16.13.1: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react/-/react-16.13.1.tgz#2e818822f1a9743122c063d6410d85c1e3afe48e" - integrity sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w== +react@17.0.0: + version "17.0.0" + resolved "https://registry.yarnpkg.com/react/-/react-17.0.0.tgz#ad96d5fa1a33bb9b06d0cc52672f7992d84aa662" + integrity sha512-rG9bqS3LMuetoSUKHN8G3fMNuQOePKDThK6+2yXFWtoeTDLVNh/QCaxT+Jr+rNf4lwNXpx+atdn3Aa0oi8/6eQ== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" - prop-types "^15.6.2" read-cmd-shim@^1.0.1: version "1.0.5"