Skip to content

Commit 1f46136

Browse files
authored
Fix build (#7662)
1 parent 78fb4cf commit 1f46136

File tree

8 files changed

+16
-18
lines changed

8 files changed

+16
-18
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"compile:lockfile": "node tasks/compile-lockfile.js"
2020
},
2121
"devDependencies": {
22-
"eslint": "6.1.0",
22+
"eslint": "^6.1.0",
2323
"execa": "1.0.0",
2424
"fs-extra": "^7.0.1",
2525
"get-port": "^4.2.0",

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

+7-7
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@
2121
"test.js"
2222
],
2323
"dependencies": {
24-
"@babel/core": "7.5.5",
24+
"@babel/core": "7.6.0",
2525
"@babel/plugin-proposal-class-properties": "7.5.5",
26-
"@babel/plugin-proposal-decorators": "7.4.4",
26+
"@babel/plugin-proposal-decorators": "7.6.0",
2727
"@babel/plugin-proposal-object-rest-spread": "7.5.5",
2828
"@babel/plugin-syntax-dynamic-import": "7.2.0",
29-
"@babel/plugin-transform-destructuring": "7.5.0",
29+
"@babel/plugin-transform-destructuring": "7.6.0",
3030
"@babel/plugin-transform-flow-strip-types": "7.4.4",
3131
"@babel/plugin-transform-react-display-name": "7.2.0",
32-
"@babel/plugin-transform-runtime": "7.5.5",
33-
"@babel/preset-env": "7.5.5",
32+
"@babel/plugin-transform-runtime": "7.6.0",
33+
"@babel/preset-env": "7.6.0",
3434
"@babel/preset-react": "7.0.0",
35-
"@babel/preset-typescript": "7.3.3",
36-
"@babel/runtime": "7.5.5",
35+
"@babel/preset-typescript": "7.6.0",
36+
"@babel/runtime": "7.6.0",
3737
"babel-plugin-dynamic-import-node": "2.3.0",
3838
"babel-plugin-macros": "2.6.1",
3939
"babel-plugin-transform-react-remove-prop-types": "0.4.24"

packages/react-error-overlay/flow/env.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ declare module 'anser' {
22
declare module.exports: any;
33
}
44

5-
declare module 'babel-code-frame' {
5+
declare module '@babel/code-frame' {
66
declare module.exports: any;
77
}
88

packages/react-error-overlay/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
],
3636
"devDependencies": {
3737
"@babel/code-frame": "7.5.5",
38-
"@babel/core": "7.5.5",
38+
"@babel/core": "7.6.0",
3939
"anser": "1.4.8",
40-
"babel-eslint": "10.0.2",
40+
"babel-eslint": "10.0.3",
4141
"babel-jest": "^24.8.0",
4242
"babel-loader": "8.0.6",
4343
"babel-preset-react-app": "^9.0.1",

packages/react-error-overlay/src/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
/* @flow */
98
import {
109
listenToRuntimeErrors,
1110
crashWithFrames,

packages/react-error-overlay/src/listenToRuntimeErrors.js

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
/* @flow */
98
import {
109
register as registerError,
1110
unregister as unregisterError,

packages/react-scripts/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
},
2929
"types": "./lib/react-app.d.ts",
3030
"dependencies": {
31-
"@babel/core": "7.5.5",
31+
"@babel/core": "7.6.0",
3232
"@svgr/webpack": "4.3.2",
3333
"@typescript-eslint/eslint-plugin": "1.13.0",
3434
"@typescript-eslint/parser": "1.13.0",
35-
"babel-eslint": "10.0.2",
35+
"babel-eslint": "10.0.3",
3636
"babel-jest": "^24.8.0",
3737
"babel-loader": "8.0.6",
3838
"babel-plugin-named-asset-import": "^0.3.3",

tasks/e2e-simple.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ startLocalRegistry "$root_path"/tasks/verdaccio.yaml
9494
./node_modules/.bin/eslint --max-warnings 0 packages/eslint-config-react-app/
9595
./node_modules/.bin/eslint --max-warnings 0 packages/react-dev-utils/
9696
./node_modules/.bin/eslint --max-warnings 0 packages/react-scripts/
97+
./node_modules/.bin/eslint --max-warnings 0 packages/react-error-overlay/src/
9798

9899
cd packages/react-error-overlay/
99-
./node_modules/.bin/eslint --max-warnings 0 src/
100100
yarn test
101-
if [ $APPVEYOR != 'True' ]; then
102-
# Flow started hanging on AppVeyor after we moved to Yarn Workspaces :-(
101+
if [ $AGENT_OS != 'Windows_NT' ]; then
102+
# Flow started hanging on Windows build agents
103103
yarn flow
104104
fi
105105
cd ../..

0 commit comments

Comments
 (0)