Skip to content

Commit 82cbe67

Browse files
committed
Try to fix CI
1 parent 19e0bb1 commit 82cbe67

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dependencies": {
1515
"@babel/core": "7.0.0-beta.37",
1616
"@babel/plugin-proposal-class-properties": "7.0.0-beta.37",
17-
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.37",
17+
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.37",
1818
"@babel/plugin-transform-classes": "7.0.0-beta.37",
1919
"@babel/plugin-transform-destructuring": "7.0.0-beta.37",
2020
"@babel/plugin-transform-react-constant-elements": "7.0.0-beta.37",

packages/react-scripts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"autoprefixer": "7.2.5",
2727
"babel-core": "7.0.0-bridge.0",
2828
"babel-eslint": "8.2.1",
29-
"babel-jest": "22.0.6",
29+
"babel-jest": "22.1.0",
3030
"babel-loader": "8.0.0-beta.0",
3131
"babel-preset-react-app": "^3.1.1",
3232
"case-sensitive-paths-webpack-plugin": "2.1.1",
@@ -45,7 +45,7 @@
4545
"file-loader": "1.1.6",
4646
"fs-extra": "5.0.0",
4747
"html-webpack-plugin": "2.30.1",
48-
"jest": "22.0.6",
48+
"jest": "22.1.1",
4949
"object-assign": "4.1.1",
5050
"postcss-flexbugs-fixes": "3.2.0",
5151
"postcss-loader": "2.0.10",

packages/react-scripts/scripts/eject.js

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -237,21 +237,8 @@ inquirer
237237
}
238238

239239
if (fs.existsSync(paths.yarnLockFile)) {
240-
// TODO: this is disabled for three reasons.
241-
//
242-
// 1. It produces garbage warnings on Windows on some systems:
243-
// https://github.com/facebookincubator/create-react-app/issues/2030
244-
//
245-
// 2. For the above reason, it breaks Windows CI:
246-
// https://github.com/facebookincubator/create-react-app/issues/2624
247-
//
248-
// 3. It is wrong anyway: re-running yarn will respect the lockfile
249-
// rather than package.json we just updated. Instead we should have
250-
// updated the lockfile. So we might as well not do it while it's broken.
251-
// https://github.com/facebookincubator/create-react-app/issues/2627
252-
//
253-
// console.log(cyan('Running yarn...'));
254-
// spawnSync('yarnpkg', [], { stdio: 'inherit' });
240+
console.log(cyan('Running yarn...'));
241+
spawnSync('yarnpkg', ['--cwd', process.cwd()], { stdio: 'inherit' });
255242
} else {
256243
console.log(cyan('Running npm install...'));
257244
spawnSync('npm', ['install', '--loglevel', 'error'], {

0 commit comments

Comments
 (0)