Skip to content

Commit

Permalink
Merge pull request #659 from thebuilder/feat/react-dom-peer
Browse files Browse the repository at this point in the history
Add react-dom as a peer dependency
  • Loading branch information
thebuilder authored Feb 1, 2024
2 parents af78a9a + 00a9139 commit db19517
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@
}
],
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
"react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^8.2.4",
Expand Down Expand Up @@ -148,6 +149,11 @@
"typescript": "^5.2.2",
"vitest": "^0.32.2"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
}
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
Expand Down

0 comments on commit db19517

Please sign in to comment.