diff --git a/packages/reactant-router/package.json b/packages/reactant-router/package.json index 6f7bc00a..7cbacd56 100644 --- a/packages/reactant-router/package.json +++ b/packages/reactant-router/package.json @@ -26,7 +26,7 @@ "Michael Lin (https://github.com/unadlib)" ], "peerDependencies": { - "react": "^16.12.0 || ^17", + "react": "^16.12.0 || ^17 || ^18", "react-redux": "^7.2.8", "reactant-module": "*", "redux": "^4.1.0" diff --git a/packages/reactant-share/package.json b/packages/reactant-share/package.json index 0c0f2b13..d15579a7 100644 --- a/packages/reactant-share/package.json +++ b/packages/reactant-share/package.json @@ -29,7 +29,7 @@ "peerDependencies": { "broadcast-channel": "^5 || ^4", "data-transport": "^5.0.3", - "react": "^16.12.0 || ^17" + "react": "^16.12.0 || ^17 || ^18" }, "dependencies": { "broadcast-channel": "^5.3.0", @@ -40,7 +40,7 @@ "reactant-storage": "^0.148.0" }, "devDependencies": { - "react": "^16.12.0 || ^17", + "react": "^17.0.2", "reactant-web": "^0.148.0" } } diff --git a/packages/reactant-ssr/package.json b/packages/reactant-ssr/package.json index e3ac46d9..e2d774ea 100644 --- a/packages/reactant-ssr/package.json +++ b/packages/reactant-ssr/package.json @@ -36,7 +36,7 @@ "license": "MIT", "peerDependencies": { "next": "^12.1.0", - "react": "^16.12.0 || ^17" + "react": "^16.12.0 || ^17 || ^18" }, "dependencies": { "next": "^12.2.5", diff --git a/packages/reactant-storage/package.json b/packages/reactant-storage/package.json index 29bbcd11..3ff837ae 100644 --- a/packages/reactant-storage/package.json +++ b/packages/reactant-storage/package.json @@ -28,7 +28,7 @@ ], "license": "MIT", "peerDependencies": { - "react": "^16.12.0 || ^17", + "react": "^16.12.0 || ^17 || ^18", "react-redux": "^7.2.8", "reactant-module": "*", "redux": "^4.1.0", diff --git a/packages/reactant-web/package.json b/packages/reactant-web/package.json index 95e26f14..24ac6f9c 100644 --- a/packages/reactant-web/package.json +++ b/packages/reactant-web/package.json @@ -24,7 +24,7 @@ ], "license": "MIT", "peerDependencies": { - "react-dom": "^16.14.0 || ^17" + "react-dom": "^16.14.0 || ^17 || ^18" }, "dependencies": { "reactant-router-dom": "^0.148.0" diff --git a/packages/reactant/package.json b/packages/reactant/package.json index d5e91de3..1e221781 100644 --- a/packages/reactant/package.json +++ b/packages/reactant/package.json @@ -33,7 +33,7 @@ ], "license": "MIT", "peerDependencies": { - "react": "^16.12.0 || ^17" + "react": "^16.12.0 || ^17 || ^18" }, "dependencies": { "react-redux": "^7.2.8", diff --git a/yarn.lock b/yarn.lock index 89f14fd2..e1dbefee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10886,7 +10886,7 @@ react-shallow-renderer@^16.15.0: object-assign "^4.1.1" react-is "^16.12.0 || ^17.0.0 || ^18.0.0" -"react@^16.12.0 || ^17", react@^17.0.2: +react@^17.0.2: version "17.0.2" resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037" integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==