tranz-commit-icafe
转换 commit-message 卡片号补充完整
Last updated 9 months ago by moyuyc .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install tranz-commit-icafe 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.7                                ...           latest (9 months ago)

3 Versions

  • 1.0.7                                ...           9 months ago
  • 1.0.6                                ...           9 months ago
  • 1.0.5                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 4
Dependencies (2)
Dev Dependencies (2)

Copyright 2014 - 2017 © taobao.org |