conventional-changelog/standard-version

feat: add configuration option for GitLab/BitBucket URLs

Ouverte

#227 ouverte le 29 nov. 2017

 (2 commentaires) (13 réactions) (0 personne assignée)JavaScript (825 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (7 442 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur