chore(v2): bump/align deps in monorepo: commander, semver, fs-extra (#4264)

This commit is contained in:
Bartosz Kaszubowski 2021-02-22 19:05:25 +01:00 committed by GitHub
parent 333545aa97
commit bd3e66d706
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 11 deletions

View file

@ -23,11 +23,11 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"chalk": "^4.1.0", "chalk": "^4.1.0",
"commander": "^4.0.1", "commander": "^5.1.0",
"fs-extra": "^9.1.0", "fs-extra": "^9.1.0",
"lodash.kebabcase": "^4.1.1", "lodash.kebabcase": "^4.1.1",
"prompts": "^2.4.0", "prompts": "^2.4.0",
"semver": "^6.3.0", "semver": "^7.3.4",
"shelljs": "^0.8.4" "shelljs": "^0.8.4"
}, },
"engines": { "engines": {

View file

@ -38,7 +38,7 @@
"rehype-parse": "^7.0.1", "rehype-parse": "^7.0.1",
"remark-parse": "^8.0.2", "remark-parse": "^8.0.2",
"remark-stringify": "^8.1.0", "remark-stringify": "^8.1.0",
"semver": "^7.3.2", "semver": "^7.3.4",
"unified": "^9.2.0", "unified": "^9.2.0",
"unist-util-visit": "^2.0.2" "unist-util-visit": "^2.0.2"
}, },

View file

@ -23,7 +23,7 @@
"@docusaurus/utils-validation": "2.0.0-alpha.70", "@docusaurus/utils-validation": "2.0.0-alpha.70",
"chalk": "^3.0.0", "chalk": "^3.0.0",
"eta": "^1.11.0", "eta": "^1.11.0",
"fs-extra": "^9.0.1", "fs-extra": "^9.1.0",
"globby": "^11.0.2", "globby": "^11.0.2",
"joi": "^17.4.0", "joi": "^17.4.0",
"lodash": "^4.17.20" "lodash": "^4.17.20"

View file

@ -20,7 +20,7 @@
"devDependencies": { "devDependencies": {
"@docusaurus/module-type-aliases": "2.0.0-alpha.70", "@docusaurus/module-type-aliases": "2.0.0-alpha.70",
"@types/picomatch": "^2.2.1", "@types/picomatch": "^2.2.1",
"commander": "^5.0.0", "commander": "^5.1.0",
"picomatch": "^2.1.1" "picomatch": "^2.1.1"
}, },
"dependencies": { "dependencies": {

View file

@ -17,7 +17,7 @@
}, },
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"fs-extra": "^9.0.1" "fs-extra": "^9.1.0"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "2.0.0-alpha.70", "@docusaurus/core": "2.0.0-alpha.70",

View file

@ -15,7 +15,7 @@
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@types/webpack": "^4.41.0", "@types/webpack": "^4.41.0",
"commander": "^4.0.1", "commander": "^5.1.0",
"querystring": "0.2.0", "querystring": "0.2.0",
"webpack-merge": "^4.2.2" "webpack-merge": "^4.2.2"
} }

View file

@ -63,7 +63,7 @@
"chalk": "^4.1.0", "chalk": "^4.1.0",
"chokidar": "^3.5.1", "chokidar": "^3.5.1",
"clean-css": "^5.0.1", "clean-css": "^5.0.1",
"commander": "^4.0.1", "commander": "^5.1.0",
"copy-webpack-plugin": "^6.4.1", "copy-webpack-plugin": "^6.4.1",
"core-js": "^2.6.5", "core-js": "^2.6.5",
"css-loader": "^5.0.2", "css-loader": "^5.0.2",
@ -104,7 +104,7 @@
"react-router-config": "^5.1.1", "react-router-config": "^5.1.1",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
"resolve-pathname": "^3.0.0", "resolve-pathname": "^3.0.0",
"semver": "^6.3.0", "semver": "^7.3.4",
"serve-handler": "^6.1.3", "serve-handler": "^6.1.3",
"shelljs": "^0.8.4", "shelljs": "^0.8.4",
"std-env": "^2.2.1", "std-env": "^2.2.1",

View file

@ -5,12 +5,12 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
import {CommanderStatic} from 'commander'; import {Command} from 'commander';
import {loadContext, loadPluginConfigs} from '../server'; import {loadContext, loadPluginConfigs} from '../server';
import initPlugins from '../server/plugins/init'; import initPlugins from '../server/plugins/init';
export default async function externalCommand( export default async function externalCommand(
cli: CommanderStatic, cli: Command,
siteDir: string, siteDir: string,
): Promise<void> { ): Promise<void> {
const context = await loadContext(siteDir); const context = await loadContext(siteDir);