From e5dba0924b7b20cf401647995e14c7f6ee422ea5 Mon Sep 17 00:00:00 2001 From: hejialiang <984714129@qq.com> Date: Sun, 7 Mar 2021 00:15:58 +0800 Subject: [PATCH] feat(all): changelog --- CHANGELOG.md | 0 docs/engineering/git.md | 2 +- package.json | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index e69de29..0000000 diff --git a/docs/engineering/git.md b/docs/engineering/git.md index 9e30321..5bf41ce 100644 --- a/docs/engineering/git.md +++ b/docs/engineering/git.md @@ -75,7 +75,7 @@ scope | commit影响的范围 ```bash # cz-conventional-changelog changelog插件 npm install -g commitizen cz-conventional-changelog -# 配置到czrc目录下 +# 命令行中输入以下命令,配置到czrc目录下 echo '{ "path": "cz-conventional-changelog"}' > ~/.czrc git cz ``` diff --git a/package.json b/package.json index 26c4c6f..7260fe7 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "dev": "vuepress dev docs", "build": "vuepress build docs", "upload-server": "sh deploy.sh", - "release": "release-it" + "changelog": "conventional-changelog -p angular -i CHANGELOG.md -w -r 0" }, "keywords": [], "author": "hejialiang", @@ -19,7 +19,6 @@ "devDependencies": { "@vuepress/plugin-active-header-links": "^1.8.2", "@vuepress/plugin-back-to-top": "^1.8.2", - "release-it": "^14.4.1", "vuepress": "^1.2.0" }, "dependencies": {