mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
Bump dependencies (#3785)
* Bump dependencies * Use a more sensible way to compile error overlay * Keep old chalk for global CLI
This commit is contained in:
@@ -12,19 +12,19 @@
|
||||
"dependencies.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/core": "7.0.0-beta.36",
|
||||
"@babel/plugin-proposal-class-properties": "7.0.0-beta.36",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.36",
|
||||
"@babel/plugin-transform-classes": "7.0.0-beta.36",
|
||||
"@babel/plugin-transform-destructuring": "7.0.0-beta.36",
|
||||
"@babel/plugin-transform-react-constant-elements": "7.0.0-beta.36",
|
||||
"@babel/plugin-transform-react-display-name": "7.0.0-beta.36",
|
||||
"@babel/plugin-transform-react-jsx": "7.0.0-beta.36",
|
||||
"@babel/plugin-transform-regenerator": "7.0.0-beta.36",
|
||||
"@babel/plugin-transform-runtime": "7.0.0-beta.36",
|
||||
"@babel/preset-env": "7.0.0-beta.36",
|
||||
"@babel/preset-flow": "7.0.0-beta.36",
|
||||
"@babel/preset-react": "7.0.0-beta.36",
|
||||
"@babel/core": "7.0.0-beta.37",
|
||||
"@babel/plugin-proposal-class-properties": "7.0.0-beta.37",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.37",
|
||||
"@babel/plugin-transform-classes": "7.0.0-beta.37",
|
||||
"@babel/plugin-transform-destructuring": "7.0.0-beta.37",
|
||||
"@babel/plugin-transform-react-constant-elements": "7.0.0-beta.37",
|
||||
"@babel/plugin-transform-react-display-name": "7.0.0-beta.37",
|
||||
"@babel/plugin-transform-react-jsx": "7.0.0-beta.37",
|
||||
"@babel/plugin-transform-regenerator": "7.0.0-beta.37",
|
||||
"@babel/plugin-transform-runtime": "7.0.0-beta.37",
|
||||
"@babel/preset-env": "7.0.0-beta.37",
|
||||
"@babel/preset-flow": "7.0.0-beta.37",
|
||||
"@babel/preset-react": "7.0.0-beta.37",
|
||||
"babel-plugin-macros": "2.0.0",
|
||||
"babel-plugin-transform-dynamic-import": "2.0.0"
|
||||
}
|
||||
|
||||
@@ -21,15 +21,15 @@
|
||||
"create-react-app": "./index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"chalk": "^1.1.1",
|
||||
"chalk": "^1.1.3",
|
||||
"commander": "^2.9.0",
|
||||
"cross-spawn": "^4.0.0",
|
||||
"envinfo": "^3.8.0",
|
||||
"fs-extra": "^1.0.0",
|
||||
"fs-extra": "^5.0.0",
|
||||
"hyperquest": "^2.1.2",
|
||||
"semver": "^5.0.3",
|
||||
"tar-pack": "^3.4.0",
|
||||
"tmp": "0.0.31",
|
||||
"tmp": "0.0.33",
|
||||
"validate-npm-package-name": "^3.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,22 +37,22 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"address": "1.0.3",
|
||||
"@babel/code-frame": "7.0.0-beta.36",
|
||||
"chalk": "1.1.3",
|
||||
"@babel/code-frame": "7.0.0-beta.37",
|
||||
"chalk": "2.3.0",
|
||||
"cross-spawn": "5.1.0",
|
||||
"detect-port-alt": "1.1.5",
|
||||
"escape-string-regexp": "1.0.5",
|
||||
"filesize": "3.5.11",
|
||||
"global-modules": "1.0.0",
|
||||
"gzip-size": "3.0.0",
|
||||
"inquirer": "3.3.0",
|
||||
"gzip-size": "4.1.0",
|
||||
"inquirer": "5.0.0",
|
||||
"is-root": "1.0.0",
|
||||
"opn": "5.2.0",
|
||||
"react-error-overlay": "^4.0.0",
|
||||
"recursive-readdir": "2.2.1",
|
||||
"shell-quote": "1.6.1",
|
||||
"sockjs-client": "1.1.4",
|
||||
"strip-ansi": "3.0.1",
|
||||
"strip-ansi": "4.0.0",
|
||||
"text-table": "0.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -42,12 +42,12 @@
|
||||
"chalk": "^2.1.0",
|
||||
"chokidar": "^1.7.0",
|
||||
"cross-env": "5.0.5",
|
||||
"eslint": "4.4.1",
|
||||
"eslint": "4.15.0",
|
||||
"eslint-config-react-app": "^2.1.0",
|
||||
"eslint-plugin-flowtype": "2.35.0",
|
||||
"eslint-plugin-import": "2.7.0",
|
||||
"eslint-plugin-jsx-a11y": "6.0.2",
|
||||
"eslint-plugin-react": "7.1.0",
|
||||
"eslint-plugin-flowtype": "2.41.0",
|
||||
"eslint-plugin-import": "2.8.0",
|
||||
"eslint-plugin-jsx-a11y": "6.0.3",
|
||||
"eslint-plugin-react": "7.5.1",
|
||||
"flow-bin": "^0.63.1",
|
||||
"html-entities": "1.2.1",
|
||||
"jest": "22.0.6",
|
||||
|
||||
@@ -18,17 +18,28 @@ module.exports = {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
include: [
|
||||
path.resolve(__dirname, './src'),
|
||||
/[\/\\]node_modules[\/\\](ansi-styles|chalk)[\/\\]/,
|
||||
],
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
presets: ['react-app'],
|
||||
oneOf: [
|
||||
// Source
|
||||
{
|
||||
test: /\.js$/,
|
||||
include: [path.resolve(__dirname, './src')],
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
},
|
||||
},
|
||||
},
|
||||
// Dependencies
|
||||
{
|
||||
test: /\.js$/,
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
babelrc: false,
|
||||
compact: false,
|
||||
presets: ['babel-preset-react-app/dependencies'],
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -21,44 +21,44 @@
|
||||
"react-scripts": "./bin/react-scripts.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "7.0.0-beta.36",
|
||||
"@babel/runtime": "7.0.0-beta.36",
|
||||
"autoprefixer": "7.1.6",
|
||||
"@babel/core": "7.0.0-beta.37",
|
||||
"@babel/runtime": "7.0.0-beta.37",
|
||||
"autoprefixer": "7.2.5",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-eslint": "8.0.2",
|
||||
"babel-eslint": "8.2.1",
|
||||
"babel-jest": "22.0.6",
|
||||
"babel-loader": "8.0.0-beta.0",
|
||||
"babel-preset-react-app": "^3.1.1",
|
||||
"case-sensitive-paths-webpack-plugin": "2.1.1",
|
||||
"chalk": "1.1.3",
|
||||
"css-loader": "0.28.7",
|
||||
"chalk": "2.3.0",
|
||||
"css-loader": "0.28.8",
|
||||
"dotenv": "4.0.0",
|
||||
"dotenv-expand": "4.0.1",
|
||||
"eslint": "4.15.0",
|
||||
"eslint-config-react-app": "^2.1.0",
|
||||
"eslint-loader": "1.9.0",
|
||||
"eslint-plugin-flowtype": "2.39.1",
|
||||
"eslint-plugin-flowtype": "2.41.0",
|
||||
"eslint-plugin-import": "2.8.0",
|
||||
"eslint-plugin-jsx-a11y": "6.0.2",
|
||||
"eslint-plugin-react": "7.4.0",
|
||||
"eslint-plugin-jsx-a11y": "6.0.3",
|
||||
"eslint-plugin-react": "7.5.1",
|
||||
"extract-text-webpack-plugin": "3.0.2",
|
||||
"file-loader": "1.1.5",
|
||||
"fs-extra": "3.0.1",
|
||||
"html-webpack-plugin": "2.29.0",
|
||||
"file-loader": "1.1.6",
|
||||
"fs-extra": "5.0.0",
|
||||
"html-webpack-plugin": "2.30.1",
|
||||
"jest": "22.0.6",
|
||||
"object-assign": "4.1.1",
|
||||
"postcss-flexbugs-fixes": "3.2.0",
|
||||
"postcss-loader": "2.0.8",
|
||||
"postcss-loader": "2.0.10",
|
||||
"promise": "8.0.1",
|
||||
"raf": "3.4.0",
|
||||
"react-dev-utils": "^5.0.0",
|
||||
"style-loader": "0.19.0",
|
||||
"style-loader": "0.19.1",
|
||||
"sw-precache-webpack-plugin": "0.11.4",
|
||||
"thread-loader": "1.1.2",
|
||||
"uglifyjs-webpack-plugin": "1.1.6",
|
||||
"url-loader": "0.6.2",
|
||||
"webpack": "3.8.1",
|
||||
"webpack-dev-server": "2.9.4",
|
||||
"webpack": "3.10.0",
|
||||
"webpack-dev-server": "2.11.0",
|
||||
"webpack-manifest-plugin": "1.3.2",
|
||||
"whatwg-fetch": "2.0.3"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user