Skip to content

Commit

Permalink
[RELEASE] Move React and ReactDOM to peerDependencies, allow React 16
Browse files Browse the repository at this point in the history
  • Loading branch information
HowlingEverett committed Jul 7, 2017
1 parent bf92542 commit f74c638
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 5.0.0

Upgrades all the React dependencies to Peer Dependencies and allows React 16.
5 changes: 2 additions & 3 deletions packages/stranger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@
"bundle-size": "^1.1.5",
"enzyme": "^2.7.0",
"jest-cli": "^16.0.1",
"react": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15.4.2",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.4.2",
"rimraf": "^2.5.4"
},
"peerDependencies": {
"react": "^15.4.2"
"react": ">= 15.6.1 < 17"
},
"dependencies": {
"@everydayhero/rug": "^2.5.1",
Expand Down
8 changes: 5 additions & 3 deletions packages/translated-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@
"jsdom": "^9.10.0",
"mocha": "^3.2.0",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15.4.2",
"react-dom": "^15.6.1",
"standard": "^7.1.2"
},
"dependencies": {
"country-data": "0.0.31",
"intl-messageformat": "^1.3.0",
"lodash": "^4.17.4",
"prop-types": "^15.5.10",
"react": "^15.4.2"
"prop-types": "^15.5.10"
},
"peerDependencies": {
"react": "^15.6.1"
},
"standard": {
"parser": "babel-eslint"
Expand Down
6 changes: 4 additions & 2 deletions packages/ui-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
"lodash": "^4.17.4",
"prop-types": "^15.5.10",
"raw-loader": "^0.5.1",
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-svg-inline": "^2.0.0",
"webpack": "^2.3.2"
},
"peerDependencies": {
"react-dom": ">= 15.6.1 < 17",
"react": ">= 15.6.1 < 17"
},
"devDependencies": {
"enzyme": "^2.8.0",
"power-assert": "^1.4.2",
Expand Down
6 changes: 4 additions & 2 deletions packages/ui-logo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@
"babel-preset-react": "^6.23.0",
"babel-preset-stage-0": "^6.22.0",
"prop-types": "^15.5.10",
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-svg-inline": "^2.0.0",
"webpack": "^2.3.2"
},
"peerDependencies": {
"react": ">= 15.6.1 < 17",
"react-dom": ">= 15.6.1 < 17"
},
"devDependencies": {
"enzyme": "^2.8.0",
"power-assert": "^1.4.2",
Expand Down

0 comments on commit f74c638

Please sign in to comment.