mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 02:08:55 +02:00
chore(v2): bump deps and run yarn upgrade (#2044)
This commit is contained in:
parent
163c455b6c
commit
05a2f46a9b
7 changed files with 1122 additions and 1926 deletions
14
package.json
14
package.json
|
@ -27,25 +27,25 @@
|
|||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4",
|
||||
"@babel/plugin-proposal-optional-chaining": "^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/inquirer": "^6.5.0",
|
||||
"@types/jest": "^24.0.22",
|
||||
"@types/jest": "^24.0.23",
|
||||
"@types/loader-utils": "^1.1.3",
|
||||
"@types/lodash": "^4.14.145",
|
||||
"@types/lodash": "^4.14.149",
|
||||
"@types/lodash.kebabcase": "^4.1.6",
|
||||
"@types/node": "^12.12.11",
|
||||
"@types/react": "^16.9.11",
|
||||
"@types/react": "^16.9.13",
|
||||
"@types/react-dev-utils": "^9.0.1",
|
||||
"@types/semver": "^6.2.0",
|
||||
"@types/shelljs": "^0.8.6",
|
||||
"@types/webpack": "^4.32.0",
|
||||
"@types/webpack-dev-server": "^3.1.5",
|
||||
"@types/webpack": "^4.41.0",
|
||||
"@types/webpack-dev-server": "^3.4.0",
|
||||
"@types/webpack-merge": "^4.1.5",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"enzyme": "^3.10.0",
|
||||
"enzyme-adapter-react-16": "^1.15.1",
|
||||
"eslint": "^6.6.0",
|
||||
"eslint": "^6.7.0",
|
||||
"eslint-config-airbnb": "^18.0.1",
|
||||
"eslint-config-prettier": "^6.7.0",
|
||||
"eslint-plugin-header": "^3.0.0",
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"remark-emoji": "^2.0.2",
|
||||
"remark-slug": "^5.1.2",
|
||||
"stringify-object": "^3.3.0",
|
||||
"unist-util-visit": "^2.0.0"
|
||||
"unist-util-visit": "^2.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"remark": "^11.0.2",
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@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",
|
||||
"react-waypoint": "^9.0.2",
|
||||
"sharp": "^0.22.1"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/webpack": "^4.32.0",
|
||||
"@types/webpack": "^4.41.0",
|
||||
"commander": "^4.0.1",
|
||||
"querystring": "0.2.0"
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
"core-js": "^2.6.5",
|
||||
"css-loader": "^3.2.0",
|
||||
"del": "^5.1.0",
|
||||
"ejs": "^2.7.4",
|
||||
"ejs": "^3.0.1",
|
||||
"express": "^4.17.1",
|
||||
"fs-extra": "^8.1.0",
|
||||
"globby": "^10.0.1",
|
||||
|
@ -80,7 +80,7 @@
|
|||
"wait-file": "^1.0.5",
|
||||
"webpack": "^4.41.2",
|
||||
"webpack-bundle-analyzer": "^3.6.0",
|
||||
"webpack-dev-server": "^3.8.2",
|
||||
"webpack-dev-server": "^3.9.0",
|
||||
"webpack-merge": "^4.2.2",
|
||||
"webpackbar": "^4.0.0"
|
||||
},
|
||||
|
|
|
@ -108,7 +108,11 @@ export async function build(
|
|||
await compile([clientConfig, serverConfig]);
|
||||
|
||||
// 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);
|
||||
fs.pathExists(serverBundle).then(exist => {
|
||||
exist && fs.unlink(serverBundle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue