Skip to content

Commit

Permalink
fix: Updated peerDependencies to fix yarn berry peer requirements
Browse files Browse the repository at this point in the history
Closes #1224
  • Loading branch information
mlaursen committed Aug 15, 2021
1 parent ff221cc commit 28935a8
Show file tree
Hide file tree
Showing 25 changed files with 52 additions and 24 deletions.
3 changes: 2 additions & 1 deletion packages/alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/app-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8.0"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8.0"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8.0"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/chip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8.0"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
4 changes: 4 additions & 0 deletions packages/elevation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
"@react-md/transition": "^3.0.0",
"@react-md/utils": "^3.0.0"
},
"peerDependencies": {
"react": ">= 16.8.0",
"react-dom": ">= 16.8.0"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 2 additions & 1 deletion packages/expansion-panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"react-router-dom": "^5.2.0"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"react-router-dom": "^5.2.0"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": "^15.6.2"
Expand Down
3 changes: 2 additions & 1 deletion packages/list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8.0"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8.0"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/progress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/react-md/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"rollup-plugin-terser": "^7.0.0"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/sheet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/states/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/transition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down
3 changes: 2 additions & 1 deletion packages/tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"react-dom": "^17.0.1"
},
"peerDependencies": {
"react": ">= 16.8"
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"optionalDependencies": {
"prop-types": ">= 15.6"
Expand Down

0 comments on commit 28935a8

Please sign in to comment.