conventional-changelog/standard-version

feat: add configuration option for GitLab/BitBucket URLs

Open

#227 opened on Nov 29, 2017

View on GitHub
 (2 comments) (13 reactions) (0 assignees)JavaScript (825 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (7,442 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I would like to introduce config options to standard-version, in the form of a .svrc and a standard-version stanza in the package.json; This functionality is built into yargs:

https://github.com/yargs/yargs/blob/master/docs/advanced.md#configuration

I think the first feature we should support is adding the ability to use GitLab and BitBucket style URLs (see https://github.com/conventional-changelog/standard-version/issues/204, https://github.com/conventional-changelog/standard-version/pull/174).

@cdupetit could we potentially simplify the process of providing context for gitlab; it feels like --context requires a lot of variables be specified. I'd prefer that we override a few in the package.json.

Contributor guide