Skip to content

Commit

Permalink
fix: allow react v17 and v18 in peerDependencies and mark them as opt…
Browse files Browse the repository at this point in the history
…ional
  • Loading branch information
XhmikosR committed Jul 25, 2024
1 parent ef591fc commit 4f1765c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 26 deletions.
47 changes: 25 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,16 @@
"throttles": "^1.0.1"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
"react": "^16.8.0 || ^17 || ^18",
"react-dom": "^16.8.0 || ^17 || ^18"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.24.8",
Expand All @@ -65,8 +73,8 @@
"microbundle": "0.15.1",
"npm-run-all2": "^6.2.2",
"puppeteer": "^22.13.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sirv-cli": "^2.0.2",
"size-limit": "^11.1.4",
"uvu": "^0.5.6"
Expand Down

0 comments on commit 4f1765c

Please sign in to comment.