π¦ @r4lrgx/gitmoji
# Using npm
npm install -D @r4lrgx/gitmoji
# Using yarn
yarn add -D @r4lrgx/gitmoji
# Using pnpm
pnpm add -D @r4lrgx/gitmoji
Note
A brief explanation of its use and the most recommended one.
You need to create a semantic release file first, files config
Important
To use conventional gitmoji chagelog at least in Semantic Release just add it
// release.config.js or .releaserc.js
const changelogConfig = {
config: '@r4lrgx/gitmoji/changelog-config',
};
export default {
branches: ['main'],
plugins: [
['@semantic-release/commit-analyzer', changelogConfig],
['@semantic-release/release-notes-generator', changelogConfig],
],
};
Note
These are the types I use to send commits to Github
- build: Changes to build system or dependencies
- ci: Changes to CI configuration
- docs: Documentation updates
- feat: New features
- fix: Bug fixes
- perf: Performance improvements
- refactor: Code refactoring
- revert: Reverted changes
- style: Code style changes
- test: Test additions/modifications
- chore: Maintenance tasks
- wip: Work in progress (special case)
git commit -m "π docs: Update README.md with project details and installation instructions"
Note
A brief explanation of its use and the most recommended one.
You need to create a commitlint file first, files config
// commitlint.config.js or .commitlintrc.js
export default {
extends: ['@r4lrgx/gitmoji/commitlint-config'],
};
β gitmoji/parser
Note
A brief explanation of its use and the most recommended one.
You need to create a semantic release file first, files config
Important
The gitmoji parser is used in the Semantic Release configuration invidually, you would add only the parser and nothing else.
// release.config.js or .releaserc.js
import parserOpts from '@r4lrgx/gitmoji/parser';
const changelogConfig = {
parserOpts,
};
export default {
branches: ['main'],
plugins: [
['@semantic-release/commit-analyzer', changelogConfig],
['@semantic-release/release-notes-generator', changelogConfig],
],
};
π¨ gitmoji/regexs
Note
It is used to export all the regexs needed for the previous configurations, but if you need emojis you can use it
If you encounter any bugs or problems while using the tool, please open a new issue here. To help us assist you faster, include as much detail as possible, such as:
- What you were trying to do.
- Any error messages or console logs.
- Your environment details (OS, versions, etc.)
The more info you provide, the quicker we can identify and fix the problem.
Thanks for wanting to contribute! To submit improvements or fixes, please follow these steps:
- Clone this repository using
git clone https://github.com/r4lrgx/gitmoji.git
. - Create a new branch from
main
with a clear, descriptive name, for example:git checkout -b feature/your-feature-name
. - Make your changes and commit them with clear, meaningful messages.
- Open a new pull request here, explaining what you added or fixed and why.
Weβll carefully review each PR and provide feedback if needed to help you get it merged.
β Thank you for your support!
This repository is distributed under the terms of the MIT License.