项目作者: Berkmann18

项目描述 :
Converts commit messages based on commit conventions
高级语言: JavaScript
项目地址: git://github.com/Berkmann18/commit-conv.git
创建时间: 2019-04-26T12:52:03Z
项目社区:https://github.com/Berkmann18/commit-conv

开源协议:MIT License

下载


commit-conv

NPM
Downloads
Inline docs

NodeVersion
GitHub package version
devDependencies Status
dependencies Status

GH Downloads
GitHub commit activity the past year
GitHub contributors
Github search hit counter

Dependabot Status
Build Status
codecov.io Code Coverage
tested with jest
eslint
Known Vulnerabilities

All Contributors
GitHub
contributions welcome
Commitizen friendly

GitHub top language
GitHub language count
GitHub code size in bytes

BCH compliance
Codacy Badge
semantic-release

Converts commit messages based on commit conventions.

Documentation

Table of Contents

commitConv

Berkmann18@github.com/Berkmann18/commit-conv/blob/f2cfea85238195f356f5a850ccf76cf80e6fef06/index.js#L36-L68" title="Source code on GitHub">index.js:36-68

Convert a commit message into one that follows the specified commit convention.

Parameters

Examples

  1. commitConv({tag: 'docs', msg: 'Update README.md', convention: 'angular'}); //'docs: update README.md'
  2. commitConv({tag: 'fix', msg: 'bye bye #1', convention: 'eslint'}); //'Fix: Bye bye #1'
  • Throws Error Invalid convention
  • Throws Error Invalid tag in specified convention

Returns string Commit message

Contributions

Please refer to that.

Contributors

Thanks goes to these wonderful people
(emoji key):









Maximilian Berkmann
Maximilian Berkmann

💻 📖 🤔 🚇 🚧 ⚠️ 💡
Semantic Release Bot
Semantic Release Bot

📦
Benjamin Bourgeois
Benjamin Bourgeois

💻

This project follows the
all-contributors
specification. Contributions of any kind are welcome!

LICENSE

MIT