Skip to content

Commit

Permalink
Widen React peer deps and add optional Redux dep for types
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Apr 13, 2022
1 parent 6aefb35 commit db94ad0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@
"coverage": "codecov"
},
"peerDependencies": {
"@types/react": "^18.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-native": "^0.64.1"
"@types/react": "^16.8 || ^17.0 || ^18.0",
"react": "^16.8 || ^17.0 || ^18.0",
"react-dom": "^16.8 || ^17.0 || ^18.0",
"react-native": ">=0.59",
"redux": "^4"
},
"peerDependenciesMeta": {
"@types/react": {
Expand All @@ -54,6 +55,9 @@
},
"react-native": {
"optional": true
},
"redux": {
"optional": true
}
},
"dependencies": {
Expand Down
11 changes: 7 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8931,17 +8931,20 @@ __metadata:
typescript: ^4.3.4
use-sync-external-store: ^1.0.0
peerDependencies:
"@types/react": ^18.0.0
react: ^18.0.0
react-dom: ^18.0.0
react-native: ^0.64.1
"@types/react": ^16.8 || ^17.0 || ^18.0
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
react-native: ">=0.59"
redux: ^4
peerDependenciesMeta:
"@types/react":
optional: true
react-dom:
optional: true
react-native:
optional: true
redux:
optional: true
languageName: unknown
linkType: soft

Expand Down

0 comments on commit db94ad0

Please sign in to comment.