Skip to content

Commit

Permalink
Packages: Fix missing peer dependencies where React used indirectly (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Dec 28, 2021
1 parent 434b108 commit 5404904
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/block-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
"rememo": "^3.0.0",
"traverse": "^0.6.6"
},
"peerDependencies": {
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"publishConfig": {
"access": "public"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
"rememo": "^3.0.0",
"uuid": "^8.3.0"
},
"peerDependencies": {
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/compose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
"react-resize-aware": "^3.1.0",
"use-memo-one": "^1.1.1"
},
"peerDependencies": {
"react": "^17.0.0"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 3 additions & 0 deletions packages/data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
"turbo-combine-reducers": "^1.0.2",
"use-memo-one": "^1.1.1"
},
"peerDependencies": {
"react": "^17.0.0"
},
"publishConfig": {
"access": "public"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
"react-autosize-textarea": "^7.1.0",
"rememo": "^3.0.0"
},
"peerDependencies": {
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"publishConfig": {
"access": "public"
}
Expand Down
4 changes: 3 additions & 1 deletion packages/jest-preset-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
},
"peerDependencies": {
"@babel/core": ">=7",
"jest": ">=26"
"jest": ">=26",
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 5404904

Please sign in to comment.