Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ErfanMirzapour opened this issue Nov 15, 2022 · 0 comments
Open

Comments

@ErfanMirzapour
Copy link

ErfanMirzapour commented Nov 15, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant