mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-29 01:45:40 +08:00
Upgrade dependencies (#6614)
* Upgrade dependencies * Upgrade a couple missed deps * Run Prettier over codebase
This commit is contained in:
committed by
Ian Sutherland
parent
5b77280dad
commit
3c9c21a285
@@ -24,27 +24,27 @@
|
||||
},
|
||||
"types": "./lib/react-app.d.ts",
|
||||
"dependencies": {
|
||||
"@babel/core": "7.2.2",
|
||||
"@babel/core": "7.3.4",
|
||||
"@svgr/webpack": "4.1.0",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-eslint": "9.0.0",
|
||||
"babel-eslint": "10.0.1",
|
||||
"babel-jest": "23.6.0",
|
||||
"babel-loader": "8.0.5",
|
||||
"babel-plugin-named-asset-import": "^0.3.1",
|
||||
"babel-preset-react-app": "^7.0.2",
|
||||
"bfj": "6.1.1",
|
||||
"case-sensitive-paths-webpack-plugin": "2.2.0",
|
||||
"css-loader": "1.0.0",
|
||||
"dotenv": "6.0.0",
|
||||
"css-loader": "2.1.1",
|
||||
"dotenv": "6.2.0",
|
||||
"dotenv-expand": "4.2.0",
|
||||
"eslint": "5.12.0",
|
||||
"eslint": "5.15.1",
|
||||
"eslint-config-react-app": "^3.0.8",
|
||||
"eslint-loader": "2.1.1",
|
||||
"eslint-loader": "2.1.2",
|
||||
"eslint-plugin-flowtype": "2.50.1",
|
||||
"eslint-plugin-import": "2.14.0",
|
||||
"eslint-plugin-jsx-a11y": "6.1.2",
|
||||
"eslint-plugin-import": "2.16.0",
|
||||
"eslint-plugin-jsx-a11y": "6.2.1",
|
||||
"eslint-plugin-react": "7.12.4",
|
||||
"file-loader": "2.0.0",
|
||||
"file-loader": "3.0.1",
|
||||
"fs-extra": "7.0.1",
|
||||
"html-webpack-plugin": "4.0.0-beta.5",
|
||||
"identity-obj-proxy": "3.0.0",
|
||||
@@ -57,26 +57,26 @@
|
||||
"pnp-webpack-plugin": "1.2.1",
|
||||
"postcss-flexbugs-fixes": "4.1.0",
|
||||
"postcss-loader": "3.0.0",
|
||||
"postcss-preset-env": "6.5.0",
|
||||
"postcss-preset-env": "6.6.0",
|
||||
"postcss-safe-parser": "4.0.1",
|
||||
"react-app-polyfill": "^0.2.2",
|
||||
"react-dev-utils": "^8.0.0",
|
||||
"resolve": "1.10.0",
|
||||
"sass-loader": "7.1.0",
|
||||
"style-loader": "0.23.1",
|
||||
"terser-webpack-plugin": "1.2.2",
|
||||
"terser-webpack-plugin": "1.2.3",
|
||||
"url-loader": "1.1.2",
|
||||
"webpack": "4.28.3",
|
||||
"webpack": "4.29.6",
|
||||
"webpack-dev-server": "3.2.1",
|
||||
"webpack-manifest-plugin": "2.0.4",
|
||||
"workbox-webpack-plugin": "3.6.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"react": "^16.3.2",
|
||||
"react-dom": "^16.3.2"
|
||||
"react": "^16.8.4",
|
||||
"react-dom": "^16.8.4"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"fsevents": "1.2.4"
|
||||
"fsevents": "1.2.7"
|
||||
},
|
||||
"browserslist": [
|
||||
">0.2%",
|
||||
|
||||
@@ -22,7 +22,10 @@ function writeJson(fileName, object) {
|
||||
}
|
||||
|
||||
function verifyNoTypeScript() {
|
||||
const typescriptFiles = globby(['**/*.(ts|tsx)', '!**/node_modules', '!**/*.d.ts'], { cwd: paths.appSrc });
|
||||
const typescriptFiles = globby(
|
||||
['**/*.(ts|tsx)', '!**/node_modules', '!**/*.d.ts'],
|
||||
{ cwd: paths.appSrc }
|
||||
);
|
||||
if (typescriptFiles.length > 0) {
|
||||
console.warn(
|
||||
chalk.yellow(
|
||||
|
||||
Reference in New Issue
Block a user