Skip to content

Commit 466568a

Browse files
committed
Widen React peer deps and add optional Redux dep for types
1 parent 6aefb35 commit 466568a

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

package.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@
4040
"coverage": "codecov"
4141
},
4242
"peerDependencies": {
43-
"@types/react": "^18.0.0",
44-
"react": "^18.0.0",
45-
"react-dom": "^18.0.0",
46-
"react-native": "^0.64.1"
43+
"@types/react": "^16.8 || ^17.0 || ^18.0",
44+
"react": "^16.8 || ^17.0 || ^18.0",
45+
"react-dom": "^16.8 || ^17.0 || ^18.0",
46+
"react-native": "^0.59",
47+
"redux": "^4"
4748
},
4849
"peerDependenciesMeta": {
4950
"@types/react": {
@@ -54,6 +55,9 @@
5455
},
5556
"react-native": {
5657
"optional": true
58+
},
59+
"redux": {
60+
"optional": true
5761
}
5862
},
5963
"dependencies": {

yarn.lock

+7-4
Original file line numberDiff line numberDiff line change
@@ -8931,17 +8931,20 @@ __metadata:
89318931
typescript: ^4.3.4
89328932
use-sync-external-store: ^1.0.0
89338933
peerDependencies:
8934-
"@types/react": ^18.0.0
8935-
react: ^18.0.0
8936-
react-dom: ^18.0.0
8937-
react-native: ^0.64.1
8934+
"@types/react": ^16.8 || ^17.0 || ^18.0
8935+
react: ^16.8 || ^17.0 || ^18.0
8936+
react-dom: ^16.8 || ^17.0 || ^18.0
8937+
react-native: ^0.59
8938+
redux: ^4
89388939
peerDependenciesMeta:
89398940
"@types/react":
89408941
optional: true
89418942
react-dom:
89428943
optional: true
89438944
react-native:
89448945
optional: true
8946+
redux:
8947+
optional: true
89458948
languageName: unknown
89468949
linkType: soft
89478950

0 commit comments

Comments
 (0)