From 8ee74beab2a5e304eca27b39213284139a460f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Fri, 23 Aug 2019 17:52:11 +0800 Subject: [PATCH] chore(cli): optimize changelog build speed --- package.json | 2 +- packages/vant-cli/package.json | 2 +- packages/vant-cli/src/changelog.js | 3 ++- yarn.lock | 8 ++++---- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 76d12663c..f187fc639 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "@babel/preset-env": "^7.5.5", "@babel/preset-typescript": "^7.3.3", "@types/jest": "^24.0.16", - "@vant/cli": "^1.0.2", + "@vant/cli": "^1.0.3", "@vant/doc": "^2.5.1", "@vant/eslint-config": "^1.2.5", "@vant/markdown-loader": "^2.2.0", diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 6c2bc5cea..e3d4e3d00 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -1,6 +1,6 @@ { "name": "@vant/cli", - "version": "1.0.2", + "version": "1.0.3", "description": "vant cli tools", "main": "./src/index.js", "bin": { diff --git a/packages/vant-cli/src/changelog.js b/packages/vant-cli/src/changelog.js index 431bf0bb8..b578dae66 100644 --- a/packages/vant-cli/src/changelog.js +++ b/packages/vant-cli/src/changelog.js @@ -14,7 +14,8 @@ function changelog(dist, cmd) { --enhancement-label "**Breaking changes**" \ --issues-label "**Issue**" \ --pr-label "**Improvements**" \ - --no-issues \ + --max-issues 0 \ + --no-author --no-unreleased \ --since-tag ${tag} \ -o ${path.join(basepath, dist)} diff --git a/yarn.lock b/yarn.lock index a15ea40fb..80b48de71 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1184,10 +1184,10 @@ lodash.unescape "4.0.1" semver "5.5.0" -"@vant/cli@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@vant/cli/-/cli-1.0.2.tgz#42b12120c2fa0c97b15e8bca5eef453f22bb8e2b" - integrity sha512-TvRoeorDGdwJbXbZQCsd5bfF2UcSPkGKEgpiZfpK0rt+dCEyYRHIACRcDyy8X3lmByJFlxvnuodxwNtzQKTC5g== +"@vant/cli@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@vant/cli/-/cli-1.0.3.tgz#4df8e2263fb453929ee9f1cb2f2c00e163c67131" + integrity sha512-aVAqtlQ1Nnnm54DjVdf9lEhFyxfyDSS346xx10dfgvR+XZMNNq/GBkQKCPNCtBJd+89z2O8Z+3u/yr2kfjwQxw== dependencies: commander "^2.17.1" husky "^3.0.4"