Skip to content

Commit

Permalink
Use react@^16.8.3 as minimum (uber#1324)
Browse files Browse the repository at this point in the history
* Use react@^16.8.3 as minimum

Update pre-commit script to run the remove-unpm-rfs script

* re-generate lock file
  • Loading branch information
Xiot authored May 23, 2020
1 parent fa32e96 commit ed46029
Show file tree
Hide file tree
Showing 5 changed files with 2,023 additions and 57 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"husky": {
"hooks": {
"pre-push": "npm run remove-unpm-rfs"
"pre-commit": "npm run remove-unpm-rfs && git add yarn.lock"
}
},
"babel": {
Expand Down
12 changes: 8 additions & 4 deletions packages/react-vis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
"uglify-js": "^2.8.22"
},
"peerDependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.8.3",
"react-dom": "^16.8.3"
},
"keywords": [
"d3",
Expand Down Expand Up @@ -144,7 +144,11 @@
]
},
"engines": {
"node": ">=0.10.0",
"npm": ">=3.0"
"node": ">=8.17.0",
"npm": ">=6.13.0"
},
"volta": {
"node": "10.20.1",
"yarn": "1.22.4"
}
}
9 changes: 6 additions & 3 deletions packages/showcase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"devDependencies": {
"babel-loader": "^7",
"css-loader": "^0.26.1",
"extract-text-webpack-plugin": "^3.0.2",
"mini-css-extract-plugin": "^0.9.0",
"sass-loader": "^8.0.2",
"style-loader": "^0.13.1",
Expand All @@ -23,10 +22,14 @@
"dependencies": {
"d3-force": "^1.0.6",
"d3-random": "^1.1.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-vis": "^1.11.7"
},
"volta": {
"node": "10.20.1",
"yarn": "1.22.4"
}
}
8 changes: 5 additions & 3 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@
"storybook-addon-jsx": "^7.2.3"
},
"dependencies": {
"react": "^16.8.3",
"react-dom": "^16.8.3",
"d3-force": "^1.0.6",
"d3-random": "^1.1.0",
"ocular": "0.6.2",
"react-virtualized": "^9.18.5",
"react-vis": "^1.11.2"
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
"volta": {
"node": "10.20.1",
"yarn": "1.22.4"
}
}
Loading

0 comments on commit ed46029

Please sign in to comment.