tranz-commit-icafe
v1.0.7
Published
转换 commit-message 卡片号补充完整
Downloads
7
Readme
tranz-commit-icafe
补全 icafe issue
Usage
const tranz = require('tranz').default;
const tranzCommitIcafe = require('tranz-commit-icafe');
tranz('feat: 修复 bug #123', [tranzCommitIcafe({ spaceId: 'icafe-api' })])
.then(output => {
// feat: 修复 bug icafe-api-123
})
Options
spaceId
icafe 空间标识
- type:
string
- default:
undefined
readPkg
是否向上读取 package.json
中的 icafe
字段来获取 spaceId
(只有当 spaceId
不存在时,该选项才生效)
- type:
boolean
- default:
true