Skip to content

Commit ca4edba

Browse files
fsonfeiqitian
authored andcommitted
Update dependencies (facebook#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.
1 parent 494914e commit ca4edba

File tree

7 files changed

+34
-34
lines changed

7 files changed

+34
-34
lines changed

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lerna": "2.0.0-beta.29",
2+
"lerna": "2.0.0-beta.30",
33
"version": "independent"
44
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
"devDependencies": {
1313
"babel-eslint": "6.1.2",
1414
"eslint": "3.5.0",
15-
"eslint-config-react-app": "file:packages/eslint-config-react-app",
15+
"eslint-config-react-app": "0.2.1",
1616
"eslint-plugin-flowtype": "2.18.1",
1717
"eslint-plugin-import": "1.12.0",
1818
"eslint-plugin-jsx-a11y": "2.2.2",
1919
"eslint-plugin-react": "6.3.0",
20-
"lerna": "2.0.0-beta.29"
20+
"lerna": "2.0.0-beta.30"
2121
}
2222
}

packages/babel-preset-react-app/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
"index.js"
1212
],
1313
"dependencies": {
14-
"babel-plugin-transform-class-properties": "6.11.5",
14+
"babel-plugin-transform-class-properties": "6.16.0",
1515
"babel-plugin-transform-es2015-destructuring": "6.16.0",
1616
"babel-plugin-transform-es2015-parameters": "6.17.0",
17-
"babel-plugin-transform-object-rest-spread": "6.8.0",
17+
"babel-plugin-transform-object-rest-spread": "6.16.0",
1818
"babel-plugin-transform-react-constant-elements": "6.9.1",
1919
"babel-plugin-transform-react-jsx-self": "6.11.0",
2020
"babel-plugin-transform-react-jsx-source": "6.9.0",
2121
"babel-plugin-transform-regenerator": "6.16.1",
2222
"babel-plugin-transform-runtime": "6.15.0",
23-
"babel-preset-env": "0.0.4",
24-
"babel-preset-latest": "6.14.0",
25-
"babel-preset-react": "6.11.1",
23+
"babel-preset-env": "0.0.6",
24+
"babel-preset-latest": "6.16.0",
25+
"babel-preset-react": "6.16.0",
2626
"babel-runtime": "6.11.6"
2727
}
2828
}

packages/eslint-config-react-app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you want to use this ESLint configuration in a project not built with Create
1717
First, install this package, ESLint and the necessary plugins.
1818

1919
```sh
20-
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 [email protected].2 eslint-plugin-react@6.3.0
20+
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 [email protected].3 eslint-plugin-react@6.4.1
2121
```
2222

2323
Then create a file named `.eslintrc` with following contents in the root folder of your project:

packages/eslint-config-react-app/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
"index.js"
1212
],
1313
"peerDependencies": {
14-
"babel-eslint": "6.1.2",
15-
"eslint": "3.5.0",
16-
"eslint-plugin-flowtype": "2.18.1",
17-
"eslint-plugin-import": "1.12.0",
18-
"eslint-plugin-jsx-a11y": "2.2.2",
19-
"eslint-plugin-react": "6.3.0"
14+
"babel-eslint": "7.0.0",
15+
"eslint": "3.8.1",
16+
"eslint-plugin-flowtype": "2.21.0",
17+
"eslint-plugin-import": "2.0.1",
18+
"eslint-plugin-jsx-a11y": "2.2.3",
19+
"eslint-plugin-react": "6.4.1"
2020
}
2121
}

packages/react-scripts/package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,39 +23,39 @@
2323
"react-scripts": "./bin/react-scripts.js"
2424
},
2525
"dependencies": {
26-
"autoprefixer": "6.4.1",
27-
"babel-core": "6.14.0",
28-
"babel-eslint": "6.1.2",
26+
"autoprefixer": "6.5.1",
27+
"babel-core": "6.17.0",
28+
"babel-eslint": "7.0.0",
2929
"babel-jest": "16.0.0",
3030
"babel-loader": "6.2.5",
3131
"babel-preset-react-app": "^0.2.1",
3232
"case-sensitive-paths-webpack-plugin": "1.1.4",
3333
"chalk": "1.1.3",
3434
"connect-history-api-fallback": "1.3.0",
35-
"cross-spawn": "4.0.0",
36-
"css-loader": "0.24.0",
37-
"detect-port": "1.0.0",
35+
"cross-spawn": "4.0.2",
36+
"css-loader": "0.25.0",
37+
"detect-port": "1.0.1",
3838
"dotenv": "2.0.0",
39-
"eslint": "3.5.0",
39+
"eslint": "3.8.1",
4040
"eslint-config-react-app": "^0.2.1",
41-
"eslint-loader": "1.5.0",
42-
"eslint-plugin-flowtype": "2.18.1",
43-
"eslint-plugin-import": "1.12.0",
44-
"eslint-plugin-jsx-a11y": "2.2.2",
45-
"eslint-plugin-react": "6.3.0",
41+
"eslint-loader": "1.6.0",
42+
"eslint-plugin-flowtype": "2.21.0",
43+
"eslint-plugin-import": "2.0.1",
44+
"eslint-plugin-jsx-a11y": "2.2.3",
45+
"eslint-plugin-react": "6.4.1",
4646
"extract-text-webpack-plugin": "1.0.1",
4747
"file-loader": "0.9.0",
4848
"filesize": "3.3.0",
4949
"find-cache-dir": "0.1.1",
5050
"fs-extra": "0.30.0",
5151
"gzip-size": "3.0.0",
52-
"html-webpack-plugin": "2.22.0",
53-
"http-proxy-middleware": "0.17.1",
54-
"jest": "16.0.1",
52+
"html-webpack-plugin": "2.24.0",
53+
"http-proxy-middleware": "0.17.2",
54+
"jest": "16.0.2",
5555
"json-loader": "0.5.4",
5656
"object-assign": "4.1.0",
5757
"path-exists": "2.1.0",
58-
"postcss-loader": "0.13.0",
58+
"postcss-loader": "1.0.0",
5959
"promise": "7.1.1",
6060
"react-dev-utils": "^0.2.1",
6161
"recursive-readdir": "2.1.0",
@@ -64,8 +64,8 @@
6464
"style-loader": "0.13.1",
6565
"url-loader": "0.5.7",
6666
"webpack": "1.13.2",
67-
"webpack-dev-server": "1.16.1",
68-
"webpack-manifest-plugin": "1.0.1",
67+
"webpack-dev-server": "1.16.2",
68+
"webpack-manifest-plugin": "1.1.0",
6969
"whatwg-fetch": "1.0.0"
7070
},
7171
"devDependencies": {

packages/react-scripts/template/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Then add this block to the `package.json` file of your project:
174174
Finally, you will need to install some packages *globally*:
175175

176176
```sh
177-
npm install -g [email protected] eslint@3.5.0 babel-eslint@6.1.2 eslint-plugin-react@6.3.0 eslint-plugin-import@1.12.0 [email protected].2 eslint-plugin-flowtype@2.18.1
177+
npm install -g [email protected] eslint@3.8.1 babel-eslint@7.0.0 eslint-plugin-react@6.4.1 eslint-plugin-import@2.0.1 [email protected].3 eslint-plugin-flowtype@2.21.0
178178
```
179179

180180
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.

0 commit comments

Comments
 (0)