From 44377b2312c4c50af600dfc7eec99203b5c98833 Mon Sep 17 00:00:00 2001 From: Ville Immonen Date: Sat, 22 Oct 2016 22:36:15 +0300 Subject: [PATCH] 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. --- lerna.json | 2 +- package.json | 4 +-- packages/babel-preset-react-app/package.json | 10 +++--- packages/eslint-config-react-app/README.md | 2 +- packages/eslint-config-react-app/package.json | 12 +++---- packages/react-scripts/package.json | 36 +++++++++---------- packages/react-scripts/template/README.md | 2 +- 7 files changed, 34 insertions(+), 34 deletions(-) diff --git a/lerna.json b/lerna.json index efe8073fd0c..dfcc2e9f35f 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { - "lerna": "2.0.0-beta.29", + "lerna": "2.0.0-beta.30", "version": "independent" } diff --git a/package.json b/package.json index 1029bc47758..1ac6081b7b3 100644 --- a/package.json +++ b/package.json @@ -12,11 +12,11 @@ "devDependencies": { "babel-eslint": "6.1.2", "eslint": "3.5.0", - "eslint-config-react-app": "file:packages/eslint-config-react-app", + "eslint-config-react-app": "0.2.1", "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", - "lerna": "2.0.0-beta.29" + "lerna": "2.0.0-beta.30" } } diff --git a/packages/babel-preset-react-app/package.json b/packages/babel-preset-react-app/package.json index 3778880b5ce..28c61a31d84 100644 --- a/packages/babel-preset-react-app/package.json +++ b/packages/babel-preset-react-app/package.json @@ -11,18 +11,18 @@ "index.js" ], "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-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-jsx-self": "6.11.0", "babel-plugin-transform-react-jsx-source": "6.9.0", "babel-plugin-transform-regenerator": "6.16.1", "babel-plugin-transform-runtime": "6.15.0", - "babel-preset-env": "0.0.4", - "babel-preset-latest": "6.14.0", - "babel-preset-react": "6.11.1", + "babel-preset-env": "0.0.6", + "babel-preset-latest": "6.16.0", + "babel-preset-react": "6.16.0", "babel-runtime": "6.11.6" } } diff --git a/packages/eslint-config-react-app/README.md b/packages/eslint-config-react-app/README.md index e4fac03e54d..5c20f50ca2e 100644 --- a/packages/eslint-config-react-app/README.md +++ b/packages/eslint-config-react-app/README.md @@ -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. ```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: diff --git a/packages/eslint-config-react-app/package.json b/packages/eslint-config-react-app/package.json index 90c6a21f269..8ae92c5f489 100644 --- a/packages/eslint-config-react-app/package.json +++ b/packages/eslint-config-react-app/package.json @@ -11,11 +11,11 @@ "index.js" ], "peerDependencies": { - "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" + "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" } } diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 004ba9ee088..fb0ea4ebe82 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -23,39 +23,39 @@ "react-scripts": "./bin/react-scripts.js" }, "dependencies": { - "autoprefixer": "6.4.1", - "babel-core": "6.14.0", - "babel-eslint": "6.1.2", + "autoprefixer": "6.5.1", + "babel-core": "6.17.0", + "babel-eslint": "7.0.0", "babel-jest": "16.0.0", "babel-loader": "6.2.5", "babel-preset-react-app": "^0.2.1", "case-sensitive-paths-webpack-plugin": "1.1.4", "chalk": "1.1.3", "connect-history-api-fallback": "1.3.0", - "cross-spawn": "4.0.0", - "css-loader": "0.24.0", - "detect-port": "1.0.0", + "cross-spawn": "4.0.2", + "css-loader": "0.25.0", + "detect-port": "1.0.1", "dotenv": "2.0.0", - "eslint": "3.5.0", + "eslint": "3.8.1", "eslint-config-react-app": "^0.2.1", - "eslint-loader": "1.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", + "eslint-loader": "1.6.0", + "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", "extract-text-webpack-plugin": "1.0.1", "file-loader": "0.9.0", "filesize": "3.3.0", "find-cache-dir": "0.1.1", "fs-extra": "0.30.0", "gzip-size": "3.0.0", - "html-webpack-plugin": "2.22.0", - "http-proxy-middleware": "0.17.1", - "jest": "16.0.1", + "html-webpack-plugin": "2.24.0", + "http-proxy-middleware": "0.17.2", + "jest": "16.0.2", "json-loader": "0.5.4", "object-assign": "4.1.0", "path-exists": "2.1.0", - "postcss-loader": "0.13.0", + "postcss-loader": "1.0.0", "promise": "7.1.1", "react-dev-utils": "^0.2.1", "recursive-readdir": "2.1.0", @@ -64,8 +64,8 @@ "style-loader": "0.13.1", "url-loader": "0.5.7", "webpack": "1.13.2", - "webpack-dev-server": "1.16.1", - "webpack-manifest-plugin": "1.0.1", + "webpack-dev-server": "1.16.2", + "webpack-manifest-plugin": "1.1.0", "whatwg-fetch": "1.0.0" }, "devDependencies": { diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 0ac0e0b8929..d7167ba5aa2 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -175,7 +175,7 @@ Then add this block to the `package.json` file of your project: Finally, you will need to install some packages *globally*: ```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.