Skip to content

Commit 4c886b8

Browse files
committed
Dependancies update
This PR is a suggestion to move `emotion` to `"peerDependencies"` avoid conflict with apps running other version of `emotion`
1 parent 112bd83 commit 4c886b8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/react-select/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,26 @@
1111
"repository": "https://github.com/JedWatson/react-select/tree/master/packages/react-select",
1212
"dependencies": {
1313
"@babel/runtime": "^7.12.0",
14-
"@emotion/cache": "^11.4.0",
15-
"@emotion/react": "^11.8.1",
1614
"@floating-ui/dom": "^1.0.1",
17-
"@types/react-transition-group": "^4.4.0",
1815
"memoize-one": "^6.0.0",
1916
"prop-types": "^15.6.0",
2017
"react-transition-group": "^4.3.0",
2118
"use-isomorphic-layout-effect": "^1.1.2"
2219
},
2320
"devDependencies": {
21+
"@emotion/cache": "^11.4.0",
22+
"@emotion/react": "^11.8.1",
2423
"@types/jest-in-case": "^1.0.6",
24+
"@types/react-transition-group": "^4.4.0",
2525
"enzyme": "^3.8.0",
2626
"enzyme-to-json": "^3.3.0",
2727
"jest-in-case": "^1.0.2",
2828
"react": "^16.13.0",
2929
"react-dom": "^16.13.0"
3030
},
3131
"peerDependencies": {
32+
"@emotion/cache": "^11.4.0",
33+
"@emotion/react": "^11.8.1",
3234
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
3335
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
3436
},

0 commit comments

Comments
 (0)