Skip to content

Commit 44fc725

Browse files
committedJun 21, 2023
Remove RTK peerDep
1 parent 5c76414 commit 44fc725

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed
 

‎package.json

-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"coverage": "codecov"
4141
},
4242
"peerDependencies": {
43-
"@reduxjs/toolkit": "^1 || ^2.0.0-beta.0",
4443
"@types/react": "^16.8 || ^17.0 || ^18.0",
4544
"@types/react-dom": "^16.8 || ^17.0 || ^18.0",
4645
"react": "^16.8 || ^17.0 || ^18.0",
@@ -49,9 +48,6 @@
4948
"redux": "^4 || ^5.0.0-beta.0"
5049
},
5150
"peerDependenciesMeta": {
52-
"@reduxjs/toolkit": {
53-
"optional": true
54-
},
5551
"@types/react": {
5652
"optional": true
5753
},

‎yarn.lock

-3
Original file line numberDiff line numberDiff line change
@@ -8931,16 +8931,13 @@ __metadata:
89318931
typescript: ^4.3.4
89328932
use-sync-external-store: ^1.0.0
89338933
peerDependencies:
8934-
"@reduxjs/toolkit": ^1 || ^2.0.0-beta.0
89358934
"@types/react": ^16.8 || ^17.0 || ^18.0
89368935
"@types/react-dom": ^16.8 || ^17.0 || ^18.0
89378936
react: ^16.8 || ^17.0 || ^18.0
89388937
react-dom: ^16.8 || ^17.0 || ^18.0
89398938
react-native: ">=0.59"
89408939
redux: ^4 || ^5.0.0-beta.0
89418940
peerDependenciesMeta:
8942-
"@reduxjs/toolkit":
8943-
optional: true
89448941
"@types/react":
89458942
optional: true
89468943
"@types/react-dom":

3 commit comments

Comments
 (3)

ryota-murakami commented on Jun 21, 2023

@ryota-murakami

@markerikson ```json
"@reduxjs/toolkit": {
"optional": true
},


This cause show 'unmet peer dependency' massage while npm install?

markerikson commented on Jun 21, 2023

@markerikson
ContributorAuthor

@ryota-murakami I added that thinking it would maybe help in general, but it ended up breaking some Yarn Workspaces setups:

#2020

ryota-murakami commented on Jun 21, 2023

@ryota-murakami

@markerikson Wow, it's crazy move... Thanks!

Please sign in to comment.