Comments (2)
Hi, only the emojis come from gitmoji, I've mapped them to types that match. It's a good point, that mapping is currently not documented anywhere. I'll add that somewhere more easily findable, in the meantime you can run cz commit
or check the code here.
These are the bump pattern and bump map used by the plugin:
bump_pattern = (
rf"^(BREAKING[\-\ ]CHANGE"
rf"|{GJ_BOOM}? ?boom"
rf"|{GJ_FEAT}? ?feat"
rf"|{GJ_FIX}? ?fix"
rf"|{GJ_HOTFIX}? ?hotfix"
rf"|{GJ_REFACTOR}? +refactor"
rf"|{GJ_PERF}? ?perf)"
r"(\(.+\))?" # scope
r"(!)?" # breaking
)
bump_map = OrderedDict(
(
(r"^.+!$", MAJOR),
(r"^BREAKING[\-\ ]CHANGE", MAJOR),
(rf"^{GJ_BOOM}? ?boom", MAJOR),
(rf"^{GJ_FEAT}? ?feat", MINOR),
(rf"^{GJ_FIX}? ?fix", PATCH),
(rf"^{GJ_HOTFIX}? ?hotfix", PATCH),
(rf"^{GJ_REFACTOR}? ?refactor", PATCH),
(rf"^{GJ_PERF}? ?perf", PATCH),
)
)
Any other types do not result in bumps by default, but you can overwrite that from your config.
from cz-conventional-gitmoji.
I hadn't realized cz commit
lists all the types, it's a good source to look.
BTW, I realized there are missing spaces between the emoji and the following types: db
, arch
, types
and deprecation
.
Thanks!
from cz-conventional-gitmoji.
Related Issues (10)
- BUG: gitmojify hook not prepending the commit on Windows HOT 10
- QUESTION: Are you able to use gitmoji commits to bump a package? HOT 11
- [IMPROVEMENT]: Add keyboard filtering to CLI HOT 8
- Add support for chore commit type HOT 8
- [BUG]: `cz_gitmoji` doesn't support bump HOT 9
- Fix CI tests on windows
- Gitmojify pre-commit hook fails for merge commits that commitizen allows HOT 1
- UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 3: character maps to <undefined>
- The committer has not been found in the system HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cz-conventional-gitmoji.