chore(v2): bump deps and run yarn upgrade (#2044)

This commit is contained in:
Endi 2019-11-24 23:06:25 +07:00 committed by GitHub
parent 163c455b6c
commit 05a2f46a9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 1122 additions and 1926 deletions

View file

@ -27,25 +27,25 @@
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4",
"@babel/plugin-proposal-optional-chaining": "^7.7.4", "@babel/plugin-proposal-optional-chaining": "^7.7.4",
"@babel/preset-typescript": "^7.7.4", "@babel/preset-typescript": "^7.7.4",
"@types/express": "^4.17.1", "@types/express": "^4.17.2",
"@types/fs-extra": "^8.0.1", "@types/fs-extra": "^8.0.1",
"@types/inquirer": "^6.5.0", "@types/inquirer": "^6.5.0",
"@types/jest": "^24.0.22", "@types/jest": "^24.0.23",
"@types/loader-utils": "^1.1.3", "@types/loader-utils": "^1.1.3",
"@types/lodash": "^4.14.145", "@types/lodash": "^4.14.149",
"@types/lodash.kebabcase": "^4.1.6", "@types/lodash.kebabcase": "^4.1.6",
"@types/node": "^12.12.11", "@types/node": "^12.12.11",
"@types/react": "^16.9.11", "@types/react": "^16.9.13",
"@types/react-dev-utils": "^9.0.1", "@types/react-dev-utils": "^9.0.1",
"@types/semver": "^6.2.0", "@types/semver": "^6.2.0",
"@types/shelljs": "^0.8.6", "@types/shelljs": "^0.8.6",
"@types/webpack": "^4.32.0", "@types/webpack": "^4.41.0",
"@types/webpack-dev-server": "^3.1.5", "@types/webpack-dev-server": "^3.4.0",
"@types/webpack-merge": "^4.1.5", "@types/webpack-merge": "^4.1.5",
"babel-eslint": "^10.0.3", "babel-eslint": "^10.0.3",
"enzyme": "^3.10.0", "enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1", "enzyme-adapter-react-16": "^1.15.1",
"eslint": "^6.6.0", "eslint": "^6.7.0",
"eslint-config-airbnb": "^18.0.1", "eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.7.0", "eslint-config-prettier": "^6.7.0",
"eslint-plugin-header": "^3.0.0", "eslint-plugin-header": "^3.0.0",

View file

@ -19,7 +19,7 @@
"remark-emoji": "^2.0.2", "remark-emoji": "^2.0.2",
"remark-slug": "^5.1.2", "remark-slug": "^5.1.2",
"stringify-object": "^3.3.0", "stringify-object": "^3.3.0",
"unist-util-visit": "^2.0.0" "unist-util-visit": "^2.0.1"
}, },
"devDependencies": { "devDependencies": {
"remark": "^11.0.2", "remark": "^11.0.2",

View file

@ -9,7 +9,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@endiliey/lqip-loader": "^3.0.2", "@endiliey/lqip-loader": "^3.0.2",
"@endiliey/react-ideal-image": "^0.0.10", "@endiliey/react-ideal-image": "^0.0.11",
"@endiliey/responsive-loader": "^1.3.2", "@endiliey/responsive-loader": "^1.3.2",
"react-waypoint": "^9.0.2", "react-waypoint": "^9.0.2",
"sharp": "^0.22.1" "sharp": "^0.22.1"

View file

@ -9,7 +9,7 @@
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@types/webpack": "^4.32.0", "@types/webpack": "^4.41.0",
"commander": "^4.0.1", "commander": "^4.0.1",
"querystring": "0.2.0" "querystring": "0.2.0"
} }

View file

@ -51,7 +51,7 @@
"core-js": "^2.6.5", "core-js": "^2.6.5",
"css-loader": "^3.2.0", "css-loader": "^3.2.0",
"del": "^5.1.0", "del": "^5.1.0",
"ejs": "^2.7.4", "ejs": "^3.0.1",
"express": "^4.17.1", "express": "^4.17.1",
"fs-extra": "^8.1.0", "fs-extra": "^8.1.0",
"globby": "^10.0.1", "globby": "^10.0.1",
@ -80,7 +80,7 @@
"wait-file": "^1.0.5", "wait-file": "^1.0.5",
"webpack": "^4.41.2", "webpack": "^4.41.2",
"webpack-bundle-analyzer": "^3.6.0", "webpack-bundle-analyzer": "^3.6.0",
"webpack-dev-server": "^3.8.2", "webpack-dev-server": "^3.9.0",
"webpack-merge": "^4.2.2", "webpack-merge": "^4.2.2",
"webpackbar": "^4.0.0" "webpackbar": "^4.0.0"
}, },

View file

@ -108,7 +108,11 @@ export async function build(
await compile([clientConfig, serverConfig]); await compile([clientConfig, serverConfig]);
// Remove server.bundle.js because it is useless // Remove server.bundle.js because it is useless
if (serverConfig.output && serverConfig.output.filename) { if (
serverConfig.output &&
serverConfig.output.filename &&
typeof serverConfig.output.filename === 'string'
) {
const serverBundle = path.join(outDir, serverConfig.output.filename); const serverBundle = path.join(outDir, serverConfig.output.filename);
fs.pathExists(serverBundle).then(exist => { fs.pathExists(serverBundle).then(exist => {
exist && fs.unlink(serverBundle); exist && fs.unlink(serverBundle);

3018
yarn.lock

File diff suppressed because it is too large Load diff