gitmoji-commit-workflow icon indicating copy to clipboard operation
gitmoji-commit-workflow copied to clipboard

允许配置显示的 type 类型

Open arvinxx opened this issue 4 years ago • 0 comments

在不同类型的项目中,需要显示的 Changelog 是不一样的,

例如在面向开发者的项目中,Changelog 可能越详细越好,但是在面向用户的项目中,Changelog 可能只需写特性与 Bug 修复等 。

因此需要提供一个配置项,允许开发者配置待生成的Changelog 显示信息。

目前提供了一个配置项 displayTypes,用于筛选出需要显示的 types

// .changelogrc.js
module.exports = {
  displayTypes: ['feat', 'fix', 'styles', 'pref'],
};

More:

允许用户过滤不要的 types

arvinxx avatar Jan 18 '21 10:01 arvinxx