mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
Fix CI and upgrade dependencies (#6137)
* Upgrade a bunch of dependencies * Turn off nightly Yarn
This commit is contained in:
@@ -10,7 +10,7 @@ cache:
|
||||
directories:
|
||||
- .npm
|
||||
before_install:
|
||||
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --nightly
|
||||
- curl -o- -L https://yarnpkg.com/install.sh | bash -s
|
||||
- export PATH="$HOME/.yarn/bin:$PATH"
|
||||
install: true
|
||||
script:
|
||||
|
||||
@@ -37,7 +37,7 @@ platform:
|
||||
install:
|
||||
- ps: Install-Product node $env:nodejs_version $env:platform
|
||||
- ps: |
|
||||
(New-Object Net.WebClient).DownloadFile("https://nightly.yarnpkg.com/latest.msi", "$env:temp\yarn.msi")
|
||||
(New-Object Net.WebClient).DownloadFile("https://yarnpkg.com/latest.msi", "$env:temp\yarn.msi")
|
||||
cmd /c start /wait msiexec.exe /i $env:temp\yarn.msi /quiet /qn /norestart
|
||||
|
||||
build: off
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"compile:lockfile": "node tasks/compile-lockfile.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "5.6.0",
|
||||
"eslint": "5.12.0",
|
||||
"execa": "1.0.0",
|
||||
"fs-extra": "^7.0.0",
|
||||
"get-port": "^4.0.0",
|
||||
|
||||
@@ -17,24 +17,24 @@
|
||||
"test.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/core": "7.1.6",
|
||||
"@babel/plugin-proposal-class-properties": "7.1.0",
|
||||
"@babel/plugin-proposal-decorators": "7.1.6",
|
||||
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
|
||||
"@babel/plugin-syntax-dynamic-import": "7.0.0",
|
||||
"@babel/plugin-transform-classes": "7.1.0",
|
||||
"@babel/plugin-transform-destructuring": "7.1.3",
|
||||
"@babel/plugin-transform-flow-strip-types": "7.1.6",
|
||||
"@babel/plugin-transform-react-constant-elements": "7.0.0",
|
||||
"@babel/plugin-transform-react-display-name": "7.0.0",
|
||||
"@babel/plugin-transform-runtime": "7.1.0",
|
||||
"@babel/preset-env": "7.1.6",
|
||||
"@babel/core": "7.2.2",
|
||||
"@babel/plugin-proposal-class-properties": "7.2.3",
|
||||
"@babel/plugin-proposal-decorators": "7.2.3",
|
||||
"@babel/plugin-proposal-object-rest-spread": "7.2.0",
|
||||
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
||||
"@babel/plugin-transform-classes": "7.2.2",
|
||||
"@babel/plugin-transform-destructuring": "7.2.0",
|
||||
"@babel/plugin-transform-flow-strip-types": "7.2.3",
|
||||
"@babel/plugin-transform-react-constant-elements": "7.2.0",
|
||||
"@babel/plugin-transform-react-display-name": "7.2.0",
|
||||
"@babel/plugin-transform-runtime": "7.2.0",
|
||||
"@babel/preset-env": "7.2.3",
|
||||
"@babel/preset-react": "7.0.0",
|
||||
"@babel/preset-typescript": "7.1.0",
|
||||
"@babel/runtime": "7.1.5",
|
||||
"babel-loader": "8.0.4",
|
||||
"@babel/runtime": "7.2.0",
|
||||
"babel-loader": "8.0.5",
|
||||
"babel-plugin-dynamic-import-node": "2.2.0",
|
||||
"babel-plugin-macros": "2.4.2",
|
||||
"babel-plugin-transform-react-remove-prop-types": "0.4.20"
|
||||
"babel-plugin-macros": "2.4.4",
|
||||
"babel-plugin-transform-react-remove-prop-types": "0.4.21"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
"jsdom.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"core-js": "2.5.7",
|
||||
"core-js": "2.6.1",
|
||||
"object-assign": "4.1.1",
|
||||
"promise": "8.0.2",
|
||||
"raf": "3.4.0",
|
||||
"raf": "3.4.1",
|
||||
"whatwg-fetch": "3.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,32 +46,32 @@
|
||||
"dependencies": {
|
||||
"@babel/code-frame": "7.0.0",
|
||||
"address": "1.0.3",
|
||||
"browserslist": "4.1.1",
|
||||
"chalk": "2.4.1",
|
||||
"browserslist": "4.3.7",
|
||||
"chalk": "2.4.2",
|
||||
"cross-spawn": "6.0.5",
|
||||
"detect-port-alt": "1.1.6",
|
||||
"escape-string-regexp": "1.0.5",
|
||||
"filesize": "3.6.1",
|
||||
"find-up": "3.0.0",
|
||||
"global-modules": "1.0.0",
|
||||
"global-modules": "2.0.0",
|
||||
"globby": "8.0.1",
|
||||
"gzip-size": "5.0.0",
|
||||
"immer": "1.7.2",
|
||||
"inquirer": "6.2.0",
|
||||
"immer": "1.10.0",
|
||||
"inquirer": "6.2.1",
|
||||
"is-root": "2.0.0",
|
||||
"loader-utils": "1.1.0",
|
||||
"loader-utils": "1.2.3",
|
||||
"opn": "5.4.0",
|
||||
"pkg-up": "2.0.0",
|
||||
"react-error-overlay": "^5.1.2",
|
||||
"recursive-readdir": "2.2.2",
|
||||
"shell-quote": "1.6.1",
|
||||
"sockjs-client": "1.1.5",
|
||||
"strip-ansi": "4.0.0",
|
||||
"sockjs-client": "1.3.0",
|
||||
"strip-ansi": "5.0.0",
|
||||
"text-table": "0.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cross-env": "^5.2.0",
|
||||
"jest": "23.6.0"
|
||||
"jest": "^23.6.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "cross-env FORCE_COLOR=true jest"
|
||||
|
||||
@@ -31,22 +31,22 @@
|
||||
],
|
||||
"devDependencies": {
|
||||
"@babel/code-frame": "7.0.0",
|
||||
"@babel/core": "7.1.0",
|
||||
"anser": "1.4.7",
|
||||
"@babel/core": "7.2.2",
|
||||
"anser": "1.4.8",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-eslint": "9.0.0",
|
||||
"babel-jest": "23.6.0",
|
||||
"babel-loader": "8.0.4",
|
||||
"babel-loader": "8.0.5",
|
||||
"babel-preset-react-app": "^7.0.0",
|
||||
"chalk": "^2.3.2",
|
||||
"chalk": "^2.4.2",
|
||||
"chokidar": "^2.0.2",
|
||||
"cross-env": "5.2.0",
|
||||
"eslint": "5.6.0",
|
||||
"eslint": "5.12.0",
|
||||
"eslint-config-react-app": "^3.0.6",
|
||||
"eslint-plugin-flowtype": "2.50.1",
|
||||
"eslint-plugin-import": "2.14.0",
|
||||
"eslint-plugin-jsx-a11y": "6.1.1",
|
||||
"eslint-plugin-react": "7.11.1",
|
||||
"eslint-plugin-jsx-a11y": "6.1.2",
|
||||
"eslint-plugin-react": "7.12.3",
|
||||
"flow-bin": "^0.63.1",
|
||||
"html-entities": "1.2.1",
|
||||
"jest": "23.6.0",
|
||||
@@ -60,7 +60,7 @@
|
||||
"rimraf": "^2.6.2",
|
||||
"settle-promise": "1.0.0",
|
||||
"source-map": "0.5.6",
|
||||
"terser-webpack-plugin": "1.1.0",
|
||||
"terser-webpack-plugin": "1.2.1",
|
||||
"webpack": "^4.8.1"
|
||||
},
|
||||
"jest": {
|
||||
|
||||
@@ -24,21 +24,21 @@
|
||||
},
|
||||
"types": "./lib/react-app.d.ts",
|
||||
"dependencies": {
|
||||
"@babel/core": "7.1.6",
|
||||
"@babel/core": "7.2.2",
|
||||
"@svgr/webpack": "2.4.1",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-eslint": "9.0.0",
|
||||
"babel-jest": "23.6.0",
|
||||
"babel-loader": "8.0.4",
|
||||
"babel-loader": "8.0.5",
|
||||
"babel-plugin-named-asset-import": "^0.3.0",
|
||||
"babel-preset-react-app": "^7.0.0",
|
||||
"bfj": "6.1.1",
|
||||
"case-sensitive-paths-webpack-plugin": "2.1.2",
|
||||
"chalk": "2.4.1",
|
||||
"chalk": "2.4.2",
|
||||
"css-loader": "1.0.0",
|
||||
"dotenv": "6.0.0",
|
||||
"dotenv-expand": "4.2.0",
|
||||
"eslint": "5.6.0",
|
||||
"eslint": "5.12.0",
|
||||
"eslint-config-react-app": "^3.0.6",
|
||||
"eslint-loader": "2.1.1",
|
||||
"eslint-plugin-flowtype": "2.50.1",
|
||||
@@ -47,27 +47,27 @@
|
||||
"eslint-plugin-react": "7.11.1",
|
||||
"file-loader": "2.0.0",
|
||||
"fork-ts-checker-webpack-plugin-alt": "0.4.14",
|
||||
"fs-extra": "7.0.0",
|
||||
"fs-extra": "7.0.1",
|
||||
"html-webpack-plugin": "4.0.0-alpha.2",
|
||||
"identity-obj-proxy": "3.0.0",
|
||||
"jest": "23.6.0",
|
||||
"jest-pnp-resolver": "1.0.1",
|
||||
"jest-pnp-resolver": "1.0.2",
|
||||
"jest-resolve": "23.6.0",
|
||||
"mini-css-extract-plugin": "0.4.3",
|
||||
"optimize-css-assets-webpack-plugin": "5.0.1",
|
||||
"pnp-webpack-plugin": "1.1.0",
|
||||
"pnp-webpack-plugin": "1.2.1",
|
||||
"postcss-flexbugs-fixes": "4.1.0",
|
||||
"postcss-loader": "3.0.0",
|
||||
"postcss-preset-env": "6.3.1",
|
||||
"postcss-preset-env": "6.5.0",
|
||||
"postcss-safe-parser": "4.0.1",
|
||||
"react-app-polyfill": "^0.2.0",
|
||||
"react-dev-utils": "^7.0.1",
|
||||
"resolve": "1.8.1",
|
||||
"resolve": "1.9.0",
|
||||
"sass-loader": "7.1.0",
|
||||
"style-loader": "0.23.0",
|
||||
"terser-webpack-plugin": "1.1.0",
|
||||
"url-loader": "1.1.1",
|
||||
"webpack": "4.19.1",
|
||||
"style-loader": "0.23.1",
|
||||
"terser-webpack-plugin": "1.2.1",
|
||||
"url-loader": "1.1.2",
|
||||
"webpack": "4.28.3",
|
||||
"webpack-dev-server": "3.1.14",
|
||||
"webpack-manifest-plugin": "2.0.4",
|
||||
"workbox-webpack-plugin": "3.6.3"
|
||||
|
||||
Reference in New Issue
Block a user