Skip to content

the adapter does not respect the commit types defined in .versionrc #209

Open
@ErfanMirzapour

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:

"types": {
    "feat": {
        "description": "Features"
    },
    "fix": {
        "description": "Bug Fixes"
    },
    "style": {
        "description": "UI Changes"
    }
}

standard-version types field example:

"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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions