Skip to content

Commit

Permalink
Update React peer deps to v18
Browse files Browse the repository at this point in the history
When #28710 updated the React dependencies, our packages' peer
dependencies were overlooked. Update them too.
  • Loading branch information
anomiex committed Feb 13, 2023
1 parent 3f3887b commit c3bd837
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Update React peer dependencies to match updated dev dependencies.
4 changes: 2 additions & 2 deletions projects/js-packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"webpack-cli": "4.9.1"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"type": "module",
"browserslist": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Update React peer dependencies to match updated dev dependencies.
4 changes: 2 additions & 2 deletions projects/js-packages/connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"react-test-renderer": "18.2.0"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"type": "module",
"exports": {
Expand Down
4 changes: 4 additions & 0 deletions projects/js-packages/idc/changelog/update-react-peer-deps
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Update React peer dependencies to match updated dev dependencies.
4 changes: 2 additions & 2 deletions projects/js-packages/idc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"react-test-renderer": "18.2.0"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"type": "module",
"exports": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Update React peer dependencies to match updated dev dependencies.
4 changes: 2 additions & 2 deletions projects/js-packages/partner-coupon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react-test-renderer": "18.2.0"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "17.0.2"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"dependencies": {
"@automattic/jetpack-components": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Update React peer dependencies to match updated dev dependencies.
2 changes: 1 addition & 1 deletion projects/js-packages/publicize-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@
".": "./index.js"
},
"peerDependencies": {
"react-dom": "17.0.2"
"react-dom": "^18.0.0"
}
}

0 comments on commit c3bd837

Please sign in to comment.