From c40a14278baaa01986d6124db01f4cb591cc2df3 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 14 Mar 2020 19:04:04 +0800 Subject: [PATCH] chore(cli): bump commander 5 --- packages/vant-cli/package.json | 4 +--- packages/vant-cli/src/index.ts | 2 +- packages/vant-cli/yarn.lock | 19 ++++++++----------- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 973d2bc01..9a36ff3c7 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -36,7 +36,6 @@ "@types/fs-extra": "^8.1.0", "@types/lodash": "^4.14.149", "@types/postcss-load-config": "^2.0.1", - "@types/shelljs": "^0.8.6", "@types/webpack": "^4.41.7", "@types/webpack-dev-server": "^3.10.0", "@types/webpack-merge": "^4.1.5" @@ -67,7 +66,7 @@ "chokidar": "^3.3.1", "clean-css": "^4.2.3", "codecov": "^3.6.5", - "commander": "^4.1.1", + "commander": "^5.0.0", "consola": "^2.11.3", "conventional-changelog": "^3.1.18", "cross-env": "^7.0.2", @@ -91,7 +90,6 @@ "release-it": "^13.0.0", "sass": "^1.26.2", "sass-loader": "^8.0.2", - "shelljs": "^0.8.3", "style-loader": "^1.1.3", "stylelint": "^13.2.0", "typescript": "^3.8.3", diff --git a/packages/vant-cli/src/index.ts b/packages/vant-cli/src/index.ts index 8d4060791..d1310cc83 100755 --- a/packages/vant-cli/src/index.ts +++ b/packages/vant-cli/src/index.ts @@ -62,4 +62,4 @@ command('commit-lint') .description('Lint commit message') .action(commitLint); -parse(process.argv); +parse(); diff --git a/packages/vant-cli/yarn.lock b/packages/vant-cli/yarn.lock index 48d2c5698..4397346ef 100644 --- a/packages/vant-cli/yarn.lock +++ b/packages/vant-cli/yarn.lock @@ -1270,7 +1270,7 @@ dependencies: "@types/node" "*" -"@types/glob@*", "@types/glob@^7.1.1": +"@types/glob@^7.1.1": version "7.1.1" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575" integrity sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w== @@ -1403,14 +1403,6 @@ "@types/express-serve-static-core" "*" "@types/mime" "*" -"@types/shelljs@^0.8.6": - version "0.8.6" - resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.8.6.tgz#45193a51df99e0f00513c39a2152832399783221" - integrity sha512-svx2eQS268awlppL/P8wgDLBrsDXdKznABHJcuqXyWpSKJgE1s2clXlBvAwbO/lehTmG06NtEWJRkAk4tAgenA== - dependencies: - "@types/glob" "*" - "@types/node" "*" - "@types/source-list-map@*": version "0.1.2" resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9" @@ -3105,11 +3097,16 @@ commander@^2.18.0, commander@^2.19.0, commander@^2.20.0, commander@~2.20.3: resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -commander@^4.0.1, commander@^4.1.1: +commander@^4.0.1: version "4.1.1" resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== +commander@^5.0.0: + version "5.0.0" + resolved "https://registry.npm.taobao.org/commander/download/commander-5.0.0.tgz#dbf1909b49e5044f8fdaf0adc809f0c0722bdfd0" + integrity sha1-2/GQm0nlBE+P2vCtyAnwwHIr39A= + commander@~2.19.0: version "2.19.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" @@ -9842,7 +9839,7 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shelljs@0.8.3, shelljs@^0.8.3: +shelljs@0.8.3: version "0.8.3" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097" integrity sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A==