Skip to content

Commit 835f3a3

Browse files
committed
fix(Peer Dependencies): Move styled-components, redux, lodash as peer dependencies
#199
1 parent f56a73c commit 835f3a3

File tree

2 files changed

+64
-33
lines changed

2 files changed

+64
-33
lines changed

package.json

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,8 @@
4242
"@terebentina/react-popover": "^2.0.0",
4343
"classnames": "^2.2.6",
4444
"immutability-helper": "^2.8.1",
45-
"lodash": "^4.17.11",
4645
"prop-types": "^15.6.2",
47-
"react-redux": "^5.0.7",
48-
"redux": "^4.0.0",
49-
"redux-actions": "^2.6.1",
50-
"redux-logger": "^3.0.6",
5146
"smooth-dnd": "https://github.com/rcdexta/smooth-dnd",
52-
"styled-components": "4.0.3",
5347
"uuid": "^3.3.2"
5448
},
5549
"devDependencies": {
@@ -101,6 +95,12 @@
10195
"node-sass": "^4.5.3",
10296
"prettier": "1.14.3",
10397
"pretty-quick": "^1.7.0",
98+
"styled-components": "4.0.3",
99+
"lodash": ">= 4.17.11",
100+
"react-redux": ">= 5.0.7",
101+
"redux": ">= 4.0.0",
102+
"redux-actions": ">= 2.6.1",
103+
"redux-logger": ">= 3.0.6",
104104
"react": "^16.2.0",
105105
"react-addons-test-utils": "^15.6.2",
106106
"react-dom": "^16.2.0",
@@ -111,8 +111,14 @@
111111
"webpack": "^3.0.0"
112112
},
113113
"peerDependencies": {
114-
"react": ">= 0.14.0 < 17.0.0-0",
115-
"react-dom": ">= 0.14.0 < 17.0.0-0"
114+
"react": "*",
115+
"react-dom": "*",
116+
"styled-components": ">= 4.0.3",
117+
"lodash": ">= 4.17.11",
118+
"react-redux": ">= 5.0.7",
119+
"redux": ">= 4.0.0",
120+
"redux-actions": ">= 2.6.1",
121+
"redux-logger": ">= 3.0.6"
116122
},
117123
"config": {
118124
"commitizen": {

yarn.lock

Lines changed: 50 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,13 @@
906906
dependencies:
907907
regenerator-runtime "^0.12.0"
908908

909+
"@babel/runtime@^7.3.1":
910+
version "7.3.4"
911+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.3.4.tgz#73d12ba819e365fcf7fd152aed56d6df97d21c83"
912+
integrity sha512-IvfvnMdSaLBateu0jfsYIpZTxAc2cKEXEMiezGGN75QcBcecDUKd3PgLAncT0oOgxKy8dd8hrJKj9MfzgfZd6g==
913+
dependencies:
914+
regenerator-runtime "^0.12.0"
915+
909916
"@babel/template@^7.1.0", "@babel/template@^7.1.2", "@babel/template@^7.2.2":
910917
version "7.2.2"
911918
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.2.2.tgz#005b3fdf0ed96e88041330379e0da9a708eb2907"
@@ -3708,6 +3715,11 @@ camelcase@^5.0.0:
37083715
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.0.0.tgz#03295527d58bd3cd4aa75363f35b2e8d97be2f42"
37093716
integrity sha512-faqwZqnWxbxn+F1d399ygeamQNy3lPp/H9H6rNrqYh4FSVCtcY+3cub1MxA8o9mDd55mM8Aghuu/kuyYA6VTsA==
37103717

3718+
camelize@^1.0.0:
3719+
version "1.0.0"
3720+
resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b"
3721+
integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs=
3722+
37113723
caniuse-lite@^1.0.30000884, caniuse-lite@^1.0.30000921:
37123724
version "1.0.30000925"
37133725
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000925.tgz#f1a3b9aae2a83071b1eccfa39959d72440409b08"
@@ -4457,12 +4469,12 @@ css-selector-tokenizer@^0.7.0:
44574469
regexpu-core "^1.0.0"
44584470

44594471
css-to-react-native@^2.2.2:
4460-
version "2.2.2"
4461-
resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-2.2.2.tgz#c077d0f7bf3e6c915a539e7325821c9dd01f9965"
4462-
integrity sha512-w99Fzop1FO8XKm0VpbQp3y5mnTnaS+rtCvS+ylSEOK76YXO5zoHQx/QMB1N54Cp+Ya9jB9922EHrh14ld4xmmw==
4472+
version "2.3.0"
4473+
resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-2.3.0.tgz#bf80d24ec4a08e430306ef429c0586e6ed5485f7"
4474+
integrity sha512-IhR7bNIrCFwbJbKZOAjNDZdwpsbjTN6f1agXeELHDqg1wHPA8c2QLruttKOW7hgMGetkfraRJCIEMrptifBfVw==
44634475
dependencies:
4476+
camelize "^1.0.0"
44644477
css-color-keywords "^1.0.0"
4465-
fbjs "^0.8.5"
44664478
postcss-value-parser "^3.3.0"
44674479

44684480
@@ -5762,7 +5774,7 @@ fb-watchman@^2.0.0:
57625774
dependencies:
57635775
bser "^2.0.0"
57645776

5765-
fbjs@^0.8.4, fbjs@^0.8.5, fbjs@^0.8.9:
5777+
fbjs@^0.8.4, fbjs@^0.8.9:
57665778
version "0.8.17"
57675779
resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd"
57685780
integrity sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=
@@ -6685,12 +6697,12 @@ [email protected], hoist-non-react-statics@^1.2.0:
66856697
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz#aa448cf0986d55cc40773b17174b7dd066cb7cfb"
66866698
integrity sha1-qkSM8JhtVcxAdzsXF0t90GbLfPs=
66876699

6688-
hoist-non-react-statics@^3.1.0:
6689-
version "3.2.1"
6690-
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.2.1.tgz#c09c0555c84b38a7ede6912b61efddafd6e75e1e"
6691-
integrity sha512-TFsu3TV3YLY+zFTZDrN8L2DTFanObwmBLpWvJs1qfUuEQ5bTAdFcwfx2T/bsCXfM9QHSLvjfP+nihEl0yvozxw==
6700+
hoist-non-react-statics@^3.3.0:
6701+
version "3.3.0"
6702+
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz#b09178f0122184fb95acf525daaecb4d8f45958b"
6703+
integrity sha512-0XsbTXxgiaCDYDIWFcwkmerZPSwywfUqYmwT4jzewKTQSWoE6FCMoUVOeBJWK3E/CrWbxRG3m5GzY4lnIwGRBA==
66926704
dependencies:
6693-
react-is "^16.3.2"
6705+
react-is "^16.7.0"
66946706

66956707
home-or-tmp@^2.0.0:
66966708
version "2.0.0"
@@ -8426,7 +8438,7 @@ lodash.tail@^4.1.1:
84268438
resolved "https://registry.yarnpkg.com/lodash.tail/-/lodash.tail-4.1.1.tgz#d2333a36d9e7717c8ad2f7cacafec7c32b444664"
84278439
integrity sha1-0jM6NtnncXyK0vfKyv7HwytERmQ=
84288440

8429-
[email protected], lodash@^4.0.0, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.4, lodash@^4.17.5, lodash@~4.17.10:
8441+
[email protected], "lodash@>= 4.17.11", lodash@^4.0.0, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.4, lodash@^4.17.5, lodash@~4.17.10:
84308442
version "4.17.11"
84318443
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
84328444
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==
@@ -10157,6 +10169,15 @@ prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.8, prop-types@^15.5.9,
1015710169
loose-envify "^1.3.1"
1015810170
object-assign "^4.1.1"
1015910171

10172+
prop-types@^15.7.2:
10173+
version "15.7.2"
10174+
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
10175+
integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==
10176+
dependencies:
10177+
loose-envify "^1.4.0"
10178+
object-assign "^4.1.1"
10179+
react-is "^16.8.1"
10180+
1016010181
property-information@^5.0.0, property-information@^5.0.1:
1016110182
version "5.0.1"
1016210183
resolved "https://registry.yarnpkg.com/property-information/-/property-information-5.0.1.tgz#c3b09f4f5750b1634c0b24205adbf78f18bdf94f"
@@ -10471,7 +10492,12 @@ react-inspector@^2.3.0:
1047110492
is-dom "^1.0.9"
1047210493
prop-types "^15.6.1"
1047310494

10474-
react-is@^16.3.2, react-is@^16.6.0, react-is@^16.6.3:
10495+
react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.2:
10496+
version "16.8.3"
10497+
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.3.tgz#4ad8b029c2a718fc0cfc746c8d4e1b7221e5387d"
10498+
integrity sha512-Y4rC1ZJmsxxkkPuMLwvKvlL1Zfpbcu+Bf4ZigkHup3v9EfdYhAlWAaVyA19olXq2o2mGn0w+dFKvk3pVVlYcIA==
10499+
10500+
react-is@^16.6.3:
1047510501
version "16.7.0"
1047610502
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.7.0.tgz#c1bd21c64f1f1364c6f70695ec02d69392f41bfa"
1047710503
integrity sha512-Z0VRQdF4NPDoI0tsXVMLkJLiwEBa+RP66g0xDHxgxysxSoCUccSten4RTF/UFvZF1dZvZ9Zu1sx+MDXwcOR34g==
@@ -10491,18 +10517,17 @@ react-modal@^3.6.1:
1049110517
react-lifecycles-compat "^3.0.0"
1049210518
warning "^3.0.0"
1049310519

10494-
react-redux@^5.0.7:
10495-
version "5.1.1"
10496-
resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-5.1.1.tgz#88e368682c7fa80e34e055cd7ac56f5936b0f52f"
10497-
integrity sha512-LE7Ned+cv5qe7tMV5BPYkGQ5Lpg8gzgItK07c67yHvJ8t0iaD9kPFPAli/mYkiyJYrs2pJgExR2ZgsGqlrOApg==
10520+
"react-redux@>= 5.0.7":
10521+
version "6.0.1"
10522+
resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-6.0.1.tgz#0d423e2c1cb10ada87293d47e7de7c329623ba4d"
10523+
integrity sha512-T52I52Kxhbqy/6TEfBv85rQSDz6+Y28V/pf52vDWs1YRXG19mcFOGfHnY2HsNFHyhP+ST34Aih98fvt6tqwVcQ==
1049810524
dependencies:
10499-
"@babel/runtime" "^7.1.2"
10500-
hoist-non-react-statics "^3.1.0"
10525+
"@babel/runtime" "^7.3.1"
10526+
hoist-non-react-statics "^3.3.0"
1050110527
invariant "^2.2.4"
10502-
loose-envify "^1.1.0"
10503-
prop-types "^15.6.1"
10504-
react-is "^16.6.0"
10505-
react-lifecycles-compat "^3.0.0"
10528+
loose-envify "^1.4.0"
10529+
prop-types "^15.7.2"
10530+
react-is "^16.8.2"
1050610531

1050710532
react-split-pane@^0.1.84:
1050810533
version "0.1.85"
@@ -10737,7 +10762,7 @@ reduce-reducers@^0.4.3:
1073710762
resolved "https://registry.yarnpkg.com/reduce-reducers/-/reduce-reducers-0.4.3.tgz#8e052618801cd8fc2714b4915adaa8937eb6d66c"
1073810763
integrity sha512-+CNMnI8QhgVMtAt54uQs3kUxC3Sybpa7Y63HR14uGLgI9/QR5ggHvpxwhGGe3wmx5V91YwqQIblN9k5lspAmGw==
1073910764

10740-
redux-actions@^2.6.1:
10765+
"redux-actions@>= 2.6.1":
1074110766
version "2.6.4"
1074210767
resolved "https://registry.yarnpkg.com/redux-actions/-/redux-actions-2.6.4.tgz#e1d9d7d987d274071b0134b707365d3e25ba3b26"
1074310768
integrity sha512-Gho+gnsvyR5h0pApoMdHLYssVEu4I0DNqyC91u43Xy/BvLrEddEMtukLF8oL3WXUy7DjxqKOKZHKmpKyN6hxlQ==
@@ -10748,14 +10773,14 @@ redux-actions@^2.6.1:
1074810773
reduce-reducers "^0.4.3"
1074910774
to-camel-case "^1.0.0"
1075010775

10751-
redux-logger@^3.0.6:
10776+
"redux-logger@>= 3.0.6":
1075210777
version "3.0.6"
1075310778
resolved "https://registry.yarnpkg.com/redux-logger/-/redux-logger-3.0.6.tgz#f7555966f3098f3c88604c449cf0baf5778274bf"
1075410779
integrity sha1-91VZZvMJjzyIYExEnPC69XeCdL8=
1075510780
dependencies:
1075610781
deep-diff "^0.3.5"
1075710782

10758-
redux@^4.0.0, redux@^4.0.1:
10783+
"redux@>= 4.0.0", redux@^4.0.1:
1075910784
version "4.0.1"
1076010785
resolved "https://registry.yarnpkg.com/redux/-/redux-4.0.1.tgz#436cae6cc40fbe4727689d7c8fae44808f1bfef5"
1076110786
integrity sha512-R7bAtSkk7nY6O/OYMVR9RiBI+XghjF9rlbl5806HJbQph0LJVHZrU5oaO4q70eUKiqMRqm4y07KLTlMZ2BlVmg==

0 commit comments

Comments
 (0)