Package Exports
- commit-jazzer
Readme
commit-jazzer πΆπ₯
Commitizen adapter for formatting commit messages with style and rhythm. πΈπ€
πΈ Add style and rhythm to your commits! With commit-jazzer, every commit becomes more than just a messageβit's a true masterpiece. Follow best practices and format your messages with emojis that add fun and professionalism to your development process.
Table of Contents
- π₯ Demo
- π Description
- β‘ Features
- π» Installation and Usage
- βοΈ Configuration
- π€ Contributing
- π Code of Conduct
- π Security Policy
- π₯ Team
- π License
Demo

π Description
commit-jazzer is a tool that introduces a touch of musical flair into your Git commit messages. Built on the solid foundation of Commitizen, it allows you to follow commit conventions and spice up your messages with emojis. Instead of just typing standard commit texts, you'll choose commit types, write descriptions, andβjust like in jazzβimprovise to create a symphony of commits.
π· Jazz your commits: It's not just about structureβit's about creativity. Transform your commits into something dynamic, creative, and fun!
β‘ Features
- πΆ Musical Commit Messages: Format your commits with delightful emojis like πΈ, π, π, and more.
- β‘ Quick Setup: Easy installation and integration into your project.
- πΌ Predefined Commit Types: Choose from predefined types and descriptions to maintain consistency.
- π Bad Word Handling: Automatically handles undesirable words in commit messages and helps you avoid inappropriate expressions.
- π§ Flexible Configuration: Customize commit templates and type schemes for a personal touch.
π» Installation and Usage
Globally
Install commitizen globally, if you have not already.
npm install commitizen -gInstall your preferred commitizen adapter globally (for example commit-jazzer).
npm install commit-jazzer -gCreate a .czrc file in your home directory, with path referring to the preferred, globally-installed, commitizen adapter
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrcYou are all set! Now cd into any git repository and use git cz and you will find the commit-jazzer prompt.
Locally
To install commit-jazzer as a development dependency, run::
npm install --save-dev commit-jazzerThen, add this configuration to your package.json:
"config": {
"commitizen": {
"path": "commit-jazzer"
}
}After installation, simply run:
git czβοΈ Configuration
This configuration file is used to customize the behavior of commit-jazzer without modifying the source code.
Example Configuration File
{
"$schema": "./node_modules/commit-jazzer/commit-jazzer-schema.json",
"language": "en",
"template": "{{type}}: {{emoji}} - {{title}}",
"availableCommitTypes": ["init", "fix", "refactor"],
"availablePromptQuestions": ["type", "title"],
"baseCommitTypes": {
"init": {
"description": "Custom deploying message"
}
},
"addCustomCommitTypes": {
"custom": {
"emoji": "π",
"code": "π",
"description": "Deploying application"
}
},
"baseQuestionsOptions": [
{
"key": "title",
"message": "My custom message",
"options": {
"required": true,
"skip": false,
"validations": {
"length": {
"minMessageLength": 0,
"maxMessageLength": 200
}
}
}
}
],
"validateCommitBadWords": true,
"badWordsOptions": {
"checkHasProfaneWords": true,
"clearMessage": true,
"replaceProfaneWords": true,
"options": {
"additionalBlockWords": ["bogdan", "oleg", "nikita"],
"excludedWords": ["fool"],
"placeholder": "*",
"overrideBlockWords": false
}
},
"showBanner": true,
"showBannerOptions": {
"bannerText": "Look, I can change the name."
}
}π€ Contributing
We'd love for you to contribute to commit-jazzer! Whether it's reporting bugs, suggesting features, or submitting pull requests, your help is always appreciated.
How to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'). - Push to the branch (
git push origin feature/your-feature). - Open a pull request.
π Code of Conduct
Please follow our Code of Conduct when participating in this project to ensure a welcoming and productive atmosphere.
π Security Policy
Security is our priority. If you encounter any issues, please read our full Security Policy to report vulnerabilities safely and responsibly.
π₯ Team
These folks keep the project moving and are resources for help.
|
Artemev A. A. |
π License
License commit-jazzer is licensed under the MIT License.
Be part of the musical process! πΆ Add some rhythm and style to your commits with commit-jazzer and turn your workflow into a masterpiece! πΈ