Skip to content

Commit

Permalink
Upgrade react + related deps; upgrade react-styleguidist
Browse files Browse the repository at this point in the history
* Upgrades react/react-dom from 16.4.2 => 16.12.0.
  * Also upgrades any deps that rely on certain versions of
    react like enzyme/react-test-renderer
* Upgrades react-styleguidist from 9 => 10. This was the original
  target package to upgrade since it had the outdated
  serialize-javascript dependency
* Sets an explicit version of node in package.json
* Updates circleci config to use node 10 (required by the newer
  version of react-styleguidist)
  • Loading branch information
Will Faurot committed Jan 14, 2020
1 parent 1328898 commit f2e8400
Show file tree
Hide file tree
Showing 3 changed files with 930 additions and 914 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/node:8.11.4
- image: circleci/node:10

working_directory: ~/repo

Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "0.0.143",
"description": "The Instacart Component Library for Web",
"main": "dist/snacks.js",
"engines": {
"node": ">=10.0.0 <11.0.0"
},
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"scripts": {
Expand Down Expand Up @@ -64,7 +67,7 @@
"coveralls": "^3.0.5",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"enzyme-to-json": "^3.3.3",
"enzyme-to-json": "^3.4.3",
"eslint": "6.2.2",
"eslint-import-resolver-webpack": "0.11.0",
"fs-extra": "^5.0.0",
Expand All @@ -73,10 +76,10 @@
"prettier": "1.16.4",
"prompt": "^1.0.0",
"radium": "^0.22.0",
"react": "16.4.2",
"react-dom": "16.4.2",
"react-styleguidist": "9.0.9",
"react-test-renderer": "16.4.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-styleguidist": "^10.2.1",
"react-test-renderer": "^16.12.0",
"react-transition-group": "^2.2.1",
"sinon": "^7.3.2",
"terser-webpack-plugin": "^2.3.2",
Expand Down
Loading

0 comments on commit f2e8400

Please sign in to comment.