From b0cd6b57382b2f5aee7900d89b955abe6f730929 Mon Sep 17 00:00:00 2001 From: rxliuli Date: Sun, 29 Aug 2021 11:59:19 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=8F=91=E5=B8=83=200.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/monorepo-changelog/CHANGELOG.md | 18 +++++++++++++----- libs/monorepo-changelog/package.json | 2 +- libs/monorepo-changelog/src/service/Scanner.ts | 2 +- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/libs/monorepo-changelog/CHANGELOG.md b/libs/monorepo-changelog/CHANGELOG.md index 650a3ad9..69da278d 100644 --- a/libs/monorepo-changelog/CHANGELOG.md +++ b/libs/monorepo-changelog/CHANGELOG.md @@ -1,10 +1,18 @@ # CHANGELOG +## 0.2.0 + + + +- chore: 不再将 Command 实例导出,而仅导出逻辑部分 +- chore: 由于 @liuli-util/monorepo-changelog 与 cli 循环依赖,所以不能作为插件直接依赖 +- fix: 修复生成多个版本时 changelog 有问题 +- feat: 当 CHANGELOG 文件不存在时就创建它而非退出 +- docs: 在 README 中添加基本的使用方法 + ## 0.1.0 - + -- fix: 修复 lodash 依赖未显式声明的问题 -- chore: 删除不需要的依赖和代码,修正 bin 为正确的名称 -- feat: 基本实现生成的功能 -- feat: 初始化 @liuli-util/liuli-cli-plugin-monorepo-changelog 模块 \ No newline at end of file +- docs: 在 README 中添加基本的使用方法 +- chore: 由于 @liuli-util/monorepo-changelog 与 cli 循环依赖,所以不能作为插件直接依赖 \ No newline at end of file diff --git a/libs/monorepo-changelog/package.json b/libs/monorepo-changelog/package.json index c7caaacf..650f1c59 100644 --- a/libs/monorepo-changelog/package.json +++ b/libs/monorepo-changelog/package.json @@ -1,6 +1,6 @@ { "name": "@liuli-util/monorepo-changelog", - "version": "0.1.0", + "version": "0.2.0", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", diff --git a/libs/monorepo-changelog/src/service/Scanner.ts b/libs/monorepo-changelog/src/service/Scanner.ts index fbcd53ff..3dde77e0 100644 --- a/libs/monorepo-changelog/src/service/Scanner.ts +++ b/libs/monorepo-changelog/src/service/Scanner.ts @@ -45,6 +45,6 @@ export class Scanner extends BaseProgram { scope: json.name, } as CommitLog), ) - .filter((log) => log.type === 'build') + .filter((log) => log.type !== 'build') } }