Skip to content

Commit

Permalink
Move prop-types from peerDependencies into dependencies (#281)
Browse files Browse the repository at this point in the history
* Remove prop-types from peerDependencies
  • Loading branch information
cmfcmf authored and supasate committed Apr 14, 2019
1 parent d327b90 commit df89468
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -29,11 +29,11 @@
},
"dependencies": {
"immutable": "^3.8.1",
"prop-types": "^15.7.2",
"seamless-immutable": "^7.1.3"
},
"peerDependencies": {
"history": "^4.7.2",
"prop-types": "^15.0.0 || ^16.0.0",
"react": "^16.4.0",
"react-redux": "^6.0.0",
"react-router": "^4.3.1 || ^5.0.0",
Expand Down Expand Up @@ -61,7 +61,6 @@
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-react": "^7.11.1",
"jest": "^24.3.1",
"prop-types": "^15.5.8",
"raf": "^3.4.0",
"react": "^16.4.0",
"react-dom": "^16.0.0",
Expand Down
16 changes: 10 additions & 6 deletions yarn.lock
Expand Up @@ -5602,14 +5602,23 @@ prompts@^2.0.1:
kleur "^3.0.2"
sisteransi "^1.0.0"

prop-types@^15.5.7, prop-types@^15.5.8, prop-types@^15.6.2:
prop-types@^15.5.7, prop-types@^15.6.1, prop-types@^15.6.2:
version "15.6.2"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102"
integrity sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==
dependencies:
loose-envify "^1.3.1"
object-assign "^4.1.1"

prop-types@^15.7.2:
version "15.7.2"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==
dependencies:
loose-envify "^1.4.0"
object-assign "^4.1.1"
react-is "^16.8.1"

prr@~1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476"
Expand Down Expand Up @@ -5751,11 +5760,6 @@ react-dom@^16.0.0:
prop-types "^15.6.2"
scheduler "^0.11.2"

react-is@^16.3.2, react-is@^16.6.1, react-is@^16.6.3:
version "16.6.3"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.6.3.tgz#d2d7462fcfcbe6ec0da56ad69047e47e56e7eac0"
integrity sha512-u7FDWtthB4rWibG/+mFbVd5FvdI20yde86qKGx4lVUTWmPlSWQ4QxbBIrrs+HnXGbxOUlUzTAP/VDmvCwaP2yA==

react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.4:
version "16.8.4"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.4.tgz#90f336a68c3a29a096a3d648ab80e87ec61482a2"
Expand Down

0 comments on commit df89468

Please sign in to comment.