mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 17:12:59 +08:00
Update dev deps (#2923)
* Bump deps * Fix linter errors * Whoops * Try to bump webpack * Update peer deps to min for eslint 4.x
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"lerna": "2.0.0-rc.5",
|
||||
"lerna": "2.0.0",
|
||||
"version": "independent",
|
||||
"changelog": {
|
||||
"repo": "facebookincubator/create-react-app",
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
"precommit": "lint-staged"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "3.19.0",
|
||||
"eslint": "^4.4.1",
|
||||
"husky": "^0.13.2",
|
||||
"lerna": "2.0.0-rc.5",
|
||||
"lerna-changelog": "^0.2.3",
|
||||
"lerna": "^2.0.0",
|
||||
"lerna-changelog": "^0.6.0",
|
||||
"lint-staged": "^3.3.1",
|
||||
"prettier": "^1.5.2"
|
||||
},
|
||||
|
||||
@@ -441,7 +441,7 @@ function getPackageName(installPackage) {
|
||||
// Pull package name out of git urls e.g:
|
||||
// git+https://github.com/mycompany/react-scripts.git
|
||||
// git+ssh://github.com/mycompany/react-scripts.git#v1.2.3
|
||||
return Promise.resolve(installPackage.match(/([^\/]+)\.git(#.*)?$/)[1]);
|
||||
return Promise.resolve(installPackage.match(/([^/]+)\.git(#.*)?$/)[1]);
|
||||
} else if (installPackage.match(/.+@/)) {
|
||||
// Do not match @scope/ when stripping off @version or @tag
|
||||
return Promise.resolve(
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
"babel-eslint": "^7.2.3",
|
||||
"eslint": "^4.1.1",
|
||||
"eslint-plugin-flowtype": "^2.34.1",
|
||||
"eslint-plugin-import": "^2.2.0",
|
||||
"eslint-plugin-jsx-a11y": "^5.0.3",
|
||||
"eslint-plugin-react": "^7.0.1"
|
||||
"eslint-plugin-import": "^2.6.0",
|
||||
"eslint-plugin-jsx-a11y": "^5.1.1",
|
||||
"eslint-plugin-react": "^7.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ function formatMessage(message, isError) {
|
||||
// from user code generated by WebPack. For more information see
|
||||
// https://github.com/facebookincubator/create-react-app/pull/1050
|
||||
message = message.replace(
|
||||
/^\s*at\s((?!webpack:).)*:\d+:\d+[\s\)]*(\n|$)/gm,
|
||||
/^\s*at\s((?!webpack:).)*:\d+:\d+[\s)]*(\n|$)/gm,
|
||||
''
|
||||
); // at ... ...:x:y
|
||||
|
||||
|
||||
@@ -38,14 +38,14 @@
|
||||
"anser": "1.4.1",
|
||||
"babel-code-frame": "6.22.0",
|
||||
"chalk": "1.1.3",
|
||||
"cross-spawn": "4.0.2",
|
||||
"cross-spawn": "5.1.0",
|
||||
"detect-port-alt": "1.1.3",
|
||||
"escape-string-regexp": "1.0.5",
|
||||
"filesize": "3.3.0",
|
||||
"filesize": "3.5.10",
|
||||
"global-modules": "1.0.0",
|
||||
"gzip-size": "3.0.0",
|
||||
"html-entities": "1.2.1",
|
||||
"inquirer": "3.1.1",
|
||||
"inquirer": "3.2.1",
|
||||
"is-root": "1.0.0",
|
||||
"opn": "5.1.0",
|
||||
"recursive-readdir": "2.2.1",
|
||||
|
||||
2
packages/react-dev-utils/printBuildError.js
vendored
2
packages/react-dev-utils/printBuildError.js
vendored
@@ -23,7 +23,7 @@ module.exports = function printBuildError(err) {
|
||||
message.indexOf('from UglifyJs') !== -1
|
||||
) {
|
||||
try {
|
||||
const matched = /Unexpected token:(.+)\[(.+)\:(.+)\,(.+)\]\[.+\]/.exec(
|
||||
const matched = /Unexpected token:(.+)\[(.+):(.+),(.+)\]\[.+\]/.exec(
|
||||
stack
|
||||
);
|
||||
if (!matched) {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
"middleware.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"anser": "1.2.5",
|
||||
"anser": "1.4.1",
|
||||
"babel-code-frame": "6.22.0",
|
||||
"babel-runtime": "6.23.0",
|
||||
"react-dev-utils": "^3.0.2",
|
||||
@@ -42,16 +42,16 @@
|
||||
"babel-cli": "6.24.1",
|
||||
"babel-eslint": "7.2.3",
|
||||
"babel-preset-react-app": "^3.0.1",
|
||||
"cross-env": "5.0.0",
|
||||
"eslint": "3.19.0",
|
||||
"cross-env": "5.0.5",
|
||||
"eslint": "4.4.1",
|
||||
"eslint-config-react-app": "^1.0.5",
|
||||
"eslint-plugin-flowtype": "2.33.0",
|
||||
"eslint-plugin-import": "2.2.0",
|
||||
"eslint-plugin-jsx-a11y": "5.0.3",
|
||||
"eslint-plugin-react": "7.0.1",
|
||||
"flow-bin": "0.49.1",
|
||||
"jest": "20.0.1",
|
||||
"jest-fetch-mock": "1.1.1"
|
||||
"eslint-plugin-flowtype": "2.35.0",
|
||||
"eslint-plugin-import": "2.7.0",
|
||||
"eslint-plugin-jsx-a11y": "5.1.1",
|
||||
"eslint-plugin-react": "7.1.0",
|
||||
"flow-bin": "0.52.0",
|
||||
"jest": "20.0.4",
|
||||
"jest-fetch-mock": "1.2.1"
|
||||
},
|
||||
"jest": {
|
||||
"setupFiles": [
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"react-scripts": "./bin/react-scripts.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"autoprefixer": "7.1.1",
|
||||
"autoprefixer": "7.1.2",
|
||||
"babel-core": "6.25.0",
|
||||
"babel-eslint": "7.2.3",
|
||||
"babel-jest": "20.0.3",
|
||||
@@ -32,10 +32,10 @@
|
||||
"chalk": "1.1.3",
|
||||
"css-loader": "0.28.4",
|
||||
"dotenv": "4.0.0",
|
||||
"eslint": "4.1.1",
|
||||
"eslint": "4.4.1",
|
||||
"eslint-config-react-app": "^1.0.5",
|
||||
"eslint-loader": "1.9.0",
|
||||
"eslint-plugin-flowtype": "2.34.0",
|
||||
"eslint-plugin-flowtype": "2.35.0",
|
||||
"eslint-plugin-import": "2.7.0",
|
||||
"eslint-plugin-jsx-a11y": "5.1.1",
|
||||
"eslint-plugin-react": "7.1.0",
|
||||
@@ -45,7 +45,7 @@
|
||||
"html-webpack-plugin": "2.29.0",
|
||||
"jest": "20.0.4",
|
||||
"object-assign": "4.1.1",
|
||||
"postcss-flexbugs-fixes": "3.0.0",
|
||||
"postcss-flexbugs-fixes": "3.2.0",
|
||||
"postcss-loader": "2.0.6",
|
||||
"promise": "8.0.1",
|
||||
"react-dev-utils": "^3.0.2",
|
||||
@@ -53,8 +53,8 @@
|
||||
"style-loader": "0.18.2",
|
||||
"sw-precache-webpack-plugin": "0.11.4",
|
||||
"url-loader": "0.5.9",
|
||||
"webpack": "3.4.1",
|
||||
"webpack-dev-server": "2.6.1",
|
||||
"webpack": "3.5.1",
|
||||
"webpack-dev-server": "2.7.1",
|
||||
"webpack-manifest-plugin": "1.2.1",
|
||||
"whatwg-fetch": "2.0.3"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user