Skip to content

Commit

Permalink
Update React peer deps to v18 (#28924)
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 authored Feb 22, 2023
1 parent 9f4f494 commit d46a696
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 13 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.
6 changes: 3 additions & 3 deletions projects/js-packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-components",
"version": "0.27.7",
"version": "0.27.8-alpha",
"description": "Jetpack Components Package",
"author": "Automattic",
"license": "GPL-2.0-or-later",
Expand Down 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.
6 changes: 3 additions & 3 deletions projects/js-packages/connection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-connection",
"version": "0.25.1",
"version": "0.25.2-alpha",
"description": "Jetpack Connection Component",
"author": "Automattic",
"license": "GPL-2.0-or-later",
Expand Down 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.
6 changes: 3 additions & 3 deletions projects/js-packages/idc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-idc",
"version": "0.10.34",
"version": "0.10.35-alpha",
"description": "Jetpack Connection Component",
"author": "Automattic",
"license": "GPL-2.0-or-later",
Expand All @@ -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.
6 changes: 3 additions & 3 deletions projects/js-packages/partner-coupon/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-partner-coupon",
"version": "0.2.40",
"version": "0.2.41-alpha",
"description": "This package aims to add components to make it easier to redeem partner coupons",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/partner-coupon/#readme",
"bugs": {
Expand Down Expand Up @@ -36,8 +36,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 @@ -68,6 +68,6 @@
".": "./index.js"
},
"peerDependencies": {
"react-dom": "17.0.2"
"react-dom": "^18.0.0"
}
}

0 comments on commit d46a696

Please sign in to comment.