conventional-changelog-chestnut

1.1.2 • Public • Published

conventional-changelog-chestnut

介绍

一款conventional-changelog日志模板

参考于conventional-changelog-angular

安装准备

先确保安装依赖包

安装

npm install conventional-changelog-chestnut --save-dev

使用

{
	"scripts": {
		"changelog": "conventional-changelog -p chestnut -i CHANGELOG.md -s -r 0"
	}
}

配置

需要在项目根目录下创建.chestnutlogrc文件,这里提供了一份参考文件

types

type: Array

默认的参数类型是根据commitizen提供,根据git commit message的type输出日志

数组元素设置必须包含typealias字段

数组必须至少有一项,否则会使用默认配置

{
  "types": [
    {
      "type": "feat",
      "alias": "Features"
    }
  ]
}
authorName

type: Boolean, default: false

是否显示提交人

{
	"authorName": false
}
authorEmail

type: Boolean, default: false

是否显示提交人邮箱

{
	"authorEmail": false
}

License

MIT © bnuephjx

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    2
  • 1.1.1
    2
  • 1.1.0
    2
  • 1.0.0
    1

Package Sidebar

Install

npm i conventional-changelog-chestnut

Weekly Downloads

7

Version

1.1.2

License

MIT

Unpacked Size

19.9 kB

Total Files

19

Last publish

Collaborators

  • bnuephjx