Skip to content
/ gitmoji Public

🧱 My customized Gitmoji config for Github commits with emoji

License

Notifications You must be signed in to change notification settings

lowxr/gitmoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ’Ύ Installation

# Using npm
npm install -D @lowxr/gitmoji
# Using yarn
yarn add -D @lowxr/gitmoji
# Using pnpm
pnpm add -D @lowxr/gitmoji

πŸ›  How to use?


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: "@lowxr/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

1. Types

  • 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)

2. Usage

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: ["@lowxr/gitmoji/commitlint-config"],
};

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 "@lowxr/gitmoji/parser";

const changelogConfig = {
 parserOpts,
};

export default {
 branches: ["main"],
 plugins: [
  ["@semantic-release/commit-analyzer", changelogConfig],
  ["@semantic-release/release-notes-generator", changelogConfig],
 ],
};

Note

It is used to export all the regexs needed for the previous configurations, but if you need emojis you can use it

🎯 Contributing

πŸ”© Reporting Issues

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.

πŸ”€ Pull Requests

Thanks for wanting to contribute! To submit improvements or fixes, please follow these steps:

  1. Clone this repository using git clone https://github.com/lowxr/gitmoji.git.
  2. Create a new branch from main with a clear, descriptive name, for example: git checkout -b feature/your-feature-name.
  3. Make your changes and commit them with clear, meaningful messages.
  4. 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.

πŸ“‹ License

This repository is distributed under the terms of the MIT License.

About

🧱 My customized Gitmoji config for Github commits with emoji

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages