Package Exports
- commit-jazzer
Readme
commit-jazzer πΆπ₯
πΈ 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.
Description
commit-jazzer is a tool that brings style and a musical vibe to your Git commits. Built on the idea of Commitizen, it helps you format commit messages using conventions and add engaging emojis. Instead of simply writing text messages, you'll be able to choose commit types and descriptions, turning the process into something more than just adhering to standards.
Jazzer is a reference to jazz music, where it's not just about structure, but also improvisation and creativity. With commit-jazzer, your commits become as dynamic as a musical composition.
Features
- πΆ Musical commit messages: Format your commits with emojis like πΈ, π, π, and more.
- β‘ Quick setup: Easy installation and integration into your project.
- πΌ Commit types: Choose from predefined types and descriptions that align with commit conventions.
- π Bad word handling: commit-jazzer automatically handles undesirable words in commit messages and helps you avoid inappropriate expressions.
- π§ Configuration flexibility: You can create your own configuration files and type schemes for commits.
Installation
Globally
To install commit-jazzer globally, run the following command:
npm install --global commit-jazzerLocally
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"
}
}Usage
After installation, simply run:
git czSet it as the default adapter for your projects:
To set commit-jazzer as the default adapter for your projects, run the following command:
echo '{ "path": "commit-jazzer" }' > ~/.czrcBad Word Handling
commit-jazzer includes checking for inappropriate words in commit messages. You can configure a list of banned words and set up filtering to maintain code quality standards.
Configuration options for bad words:
- checkHasProfaneWords: Enables the check for profane words in commit messages. Default is
true. - clearMessage: Automatically clears profane words from the message. Default is
true. - replaceProfaneWords: Replaces profane words with a placeholder (default is
*). Default istrue. - additionalBlockWords: A list of additional words to block.
- excludedWords: Words that will not be blocked even if they appear in the blocklist.
- placeholder: The character or string used to replace profane words.
- overrideBlockWords: Redefine the list of bad words. Default is
false.
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.
Please make sure to follow the Code of Conduct and adhere to the project's style guide.
Code of Conduct
Please follow our Code of Conduct when participating in this project to ensure a welcoming and productive atmosphere.
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! πΈ