commitizen / commitizen/cz-conventional-changelog
the adapter does not respect the commit types defined in .versionrc
- Dominant language
- JavaScript
- Stars
- 793
- Forks
- 444
- PR merge metrics
- No merged PRs in 30d
Description
We're using standard version and CZ together with this adapter.
We already have a .versionrc with our customized types defined inside of it.
I just wish the adapter could respect that if there's any at the root of the project, so we don't have to maintain and sync both over time.
> I can add the functionality if it is desired.
`cz-conventional-changelog` `types` field example:
```json
"types": {
"feat": {
"description": "Features"
},
"fix": {
"description": "Bug Fixes"
},
"style": {
"description": "UI Changes"
}
}
```
`standard-version` `types` field example:
```json
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "style",
"section": "UI Changes"
}
]
```
We just need to check for the file and add a simple transformer.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting how the adapter reads its configuration and the root .versionrc file, then compare the two types formats shown in the issue. The work is done when a root .versionrc is detected, its types are transformed for the adapter, and the customized commit types are respected without duplicate configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100