Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Widen React peer deps and add optional Redux dep for types
  • Loading branch information
markerikson committed Apr 13, 2022
commit db94ad09eb2b9daf65098c82bf21d21ecd7f3b79
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