Commit d5de99e0 authored by Ville Immonen's avatar Ville Immonen Committed by GitHub
Browse files

Update dependencies (#945)

* Update dependencies

* Use published version of eslint-config-react-app for development

We dogfood on our eslint-config-react-app by using it as our ESLint config,
but installing it from the local folder causes problems when its peerDependencies
are updated, because npm won't update it unless the version number changes.

Use the published version for dogfooding so it can be installed from npm.
parent 59acae6a
No related merge requests found
Showing with 34 additions and 34 deletions
+34 -34
{ {
"lerna": "2.0.0-beta.29", "lerna": "2.0.0-beta.30",
"version": "independent" "version": "independent"
} }
...@@ -11,18 +11,18 @@ ...@@ -11,18 +11,18 @@
"index.js" "index.js"
], ],
"dependencies": { "dependencies": {
"babel-plugin-transform-class-properties": "6.11.5", "babel-plugin-transform-class-properties": "6.16.0",
"babel-plugin-transform-es2015-destructuring": "6.16.0", "babel-plugin-transform-es2015-destructuring": "6.16.0",
"babel-plugin-transform-es2015-parameters": "6.17.0", "babel-plugin-transform-es2015-parameters": "6.17.0",
"babel-plugin-transform-object-rest-spread": "6.8.0", "babel-plugin-transform-object-rest-spread": "6.16.0",
"babel-plugin-transform-react-constant-elements": "6.9.1", "babel-plugin-transform-react-constant-elements": "6.9.1",
"babel-plugin-transform-react-jsx-self": "6.11.0", "babel-plugin-transform-react-jsx-self": "6.11.0",
"babel-plugin-transform-react-jsx-source": "6.9.0", "babel-plugin-transform-react-jsx-source": "6.9.0",
"babel-plugin-transform-regenerator": "6.16.1", "babel-plugin-transform-regenerator": "6.16.1",
"babel-plugin-transform-runtime": "6.15.0", "babel-plugin-transform-runtime": "6.15.0",
"babel-preset-env": "0.0.4", "babel-preset-env": "0.0.6",
"babel-preset-latest": "6.14.0", "babel-preset-latest": "6.16.0",
"babel-preset-react": "6.11.1", "babel-preset-react": "6.16.0",
"babel-runtime": "6.11.6" "babel-runtime": "6.11.6"
} }
} }
...@@ -17,7 +17,7 @@ If you want to use this ESLint configuration in a project not built with Create ...@@ -17,7 +17,7 @@ If you want to use this ESLint configuration in a project not built with Create
First, install this package, ESLint and the necessary plugins. First, install this package, ESLint and the necessary plugins.
```sh ```sh
npm install --save-dev eslint-config-react-app babel-eslint@6.1.2 eslint@3.5.0 eslint-plugin-flowtype@2.18.1 eslint-plugin-import@1.12.0 eslint-plugin-jsx-a11y@2.2.2 eslint-plugin-react@6.3.0 npm install --save-dev eslint-config-react-app babel-eslint@7.0.0 eslint@3.8.1 eslint-plugin-flowtype@2.21.0 eslint-plugin-import@2.0.1 eslint-plugin-jsx-a11y@2.2.3 eslint-plugin-react@6.4.1
``` ```
Then create a file named `.eslintrc` with following contents in the root folder of your project: Then create a file named `.eslintrc` with following contents in the root folder of your project:
......
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
"index.js" "index.js"
], ],
"peerDependencies": { "peerDependencies": {
"babel-eslint": "6.1.2", "babel-eslint": "7.0.0",
"eslint": "3.5.0", "eslint": "3.8.1",
"eslint-plugin-flowtype": "2.18.1", "eslint-plugin-flowtype": "2.21.0",
"eslint-plugin-import": "1.12.0", "eslint-plugin-import": "2.0.1",
"eslint-plugin-jsx-a11y": "2.2.2", "eslint-plugin-jsx-a11y": "2.2.3",
"eslint-plugin-react": "6.3.0" "eslint-plugin-react": "6.4.1"
} }
} }
...@@ -23,39 +23,39 @@ ...@@ -23,39 +23,39 @@
"react-scripts": "./bin/react-scripts.js" "react-scripts": "./bin/react-scripts.js"
}, },
"dependencies": { "dependencies": {
"autoprefixer": "6.4.1", "autoprefixer": "6.5.1",
"babel-core": "6.14.0", "babel-core": "6.17.0",
"babel-eslint": "6.1.2", "babel-eslint": "7.0.0",
"babel-jest": "16.0.0", "babel-jest": "16.0.0",
"babel-loader": "6.2.5", "babel-loader": "6.2.5",
"babel-preset-react-app": "^0.2.1", "babel-preset-react-app": "^0.2.1",
"case-sensitive-paths-webpack-plugin": "1.1.4", "case-sensitive-paths-webpack-plugin": "1.1.4",
"chalk": "1.1.3", "chalk": "1.1.3",
"connect-history-api-fallback": "1.3.0", "connect-history-api-fallback": "1.3.0",
"cross-spawn": "4.0.0", "cross-spawn": "4.0.2",
"css-loader": "0.24.0", "css-loader": "0.25.0",
"detect-port": "1.0.0", "detect-port": "1.0.1",
"dotenv": "2.0.0", "dotenv": "2.0.0",
"eslint": "3.5.0", "eslint": "3.8.1",
"eslint-config-react-app": "^0.2.1", "eslint-config-react-app": "^0.2.1",
"eslint-loader": "1.5.0", "eslint-loader": "1.6.0",
"eslint-plugin-flowtype": "2.18.1", "eslint-plugin-flowtype": "2.21.0",
"eslint-plugin-import": "1.12.0", "eslint-plugin-import": "2.0.1",
"eslint-plugin-jsx-a11y": "2.2.2", "eslint-plugin-jsx-a11y": "2.2.3",
"eslint-plugin-react": "6.3.0", "eslint-plugin-react": "6.4.1",
"extract-text-webpack-plugin": "1.0.1", "extract-text-webpack-plugin": "1.0.1",
"file-loader": "0.9.0", "file-loader": "0.9.0",
"filesize": "3.3.0", "filesize": "3.3.0",
"find-cache-dir": "0.1.1", "find-cache-dir": "0.1.1",
"fs-extra": "0.30.0", "fs-extra": "0.30.0",
"gzip-size": "3.0.0", "gzip-size": "3.0.0",
"html-webpack-plugin": "2.22.0", "html-webpack-plugin": "2.24.0",
"http-proxy-middleware": "0.17.1", "http-proxy-middleware": "0.17.2",
"jest": "16.0.1", "jest": "16.0.2",
"json-loader": "0.5.4", "json-loader": "0.5.4",
"object-assign": "4.1.0", "object-assign": "4.1.0",
"path-exists": "2.1.0", "path-exists": "2.1.0",
"postcss-loader": "0.13.0", "postcss-loader": "1.0.0",
"promise": "7.1.1", "promise": "7.1.1",
"react-dev-utils": "^0.2.1", "react-dev-utils": "^0.2.1",
"recursive-readdir": "2.1.0", "recursive-readdir": "2.1.0",
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,8 @@
"style-loader": "0.13.1", "style-loader": "0.13.1",
"url-loader": "0.5.7", "url-loader": "0.5.7",
"webpack": "1.13.2", "webpack": "1.13.2",
"webpack-dev-server": "1.16.1", "webpack-dev-server": "1.16.2",
"webpack-manifest-plugin": "1.0.1", "webpack-manifest-plugin": "1.1.0",
"whatwg-fetch": "1.0.0" "whatwg-fetch": "1.0.0"
}, },
"devDependencies": { "devDependencies": {
......
...@@ -174,7 +174,7 @@ Then add this block to the `package.json` file of your project: ...@@ -174,7 +174,7 @@ Then add this block to the `package.json` file of your project:
Finally, you will need to install some packages *globally*: Finally, you will need to install some packages *globally*:
```sh ```sh
npm install -g eslint-config-react-app@0.2.1 eslint@3.5.0 babel-eslint@6.1.2 eslint-plugin-react@6.3.0 eslint-plugin-import@1.12.0 eslint-plugin-jsx-a11y@2.2.2 eslint-plugin-flowtype@2.18.1 npm install -g eslint-config-react-app@0.2.1 eslint@3.8.1 babel-eslint@7.0.0 eslint-plugin-react@6.4.1 eslint-plugin-import@2.0.1 eslint-plugin-jsx-a11y@2.2.3 eslint-plugin-flowtype@2.21.0
``` ```
We recognize that this is suboptimal, but it is currently required due to the way we hide the ESLint dependency. The ESLint team is already [working on a solution to this](https://github.com/eslint/eslint/issues/3458) so this may become unnecessary in a couple of months. We recognize that this is suboptimal, but it is currently required due to the way we hide the ESLint dependency. The ESLint team is already [working on a solution to this](https://github.com/eslint/eslint/issues/3458) so this may become unnecessary in a couple of months.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment