1.0.2 • Published 7 months ago
git-beauty-commit v1.0.2
git-beauty-commit
turn git commit massage into a more beautiful massage
Install
npm install --save git-beauty-commit
Usage
import transform from 'git-beauty-commit';
const message = transform('fix: input should be ahead of select (#3373)');
//🐛 Input should be ahead of select (#3373)
API
function(msg: string): string;
Emoji
emoji | type | description |
---|---|---|
✨ | feat | A new feature |
🐛 | fix | A bug fix |
📖 | docs | Documentation only changes |
💄 | style | Changes that do not affect the meaning of the code |
🛠 | refactor | A code change that neither fixes a bug nor adds a feature |
⚡️ | perf | A code change that improves performance |
✅ | test | Adding missing tests or correcting existing tests |
📦 | build | Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) |
⚙️ | ci | Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) |
🚀 | chore | Other changes that don't modify src or test files |
🗑 | revert | Reverts a previous commit |
🤞 | try | Add untested to production |
🎉 | init | Project init |
Related
- git-beauty-commit-cli - CLI for this module
LICENSE
This project is created using generator-stupid.