The Simple preset
This preset can be used by setting the preset
global configuration option value to simple
and brings standard configurations well suited to get started with common items, as follows.
Commit message conventions
The Conventional Commits convention comes with this preset. This corresponds to the following configuration options:
Name | Value |
---|---|
commitMessageConventions/enabled |
[“conventionalCommits ”] |
commitMessageConventions/conventionalCommits/expression |
”(?m)^(?<type>[a-zA-Z0-9_]+)(\((?<scope>[a-z ]+)\))?(!)?:( (?<title>.+))$(?s).* ” |
commitMessageConventions/conventionalCommits/bumpExpressions |
“major ” = “(?s)(?m)^[a-zA-Z0-9_]+(!: .*|.*^(BREAKING( |-)CHANGE: )).* ”, “minor ” = “(?s)(?m)^feat(!{0})(\([a-z ]+\))?: (?!.*^(BREAKING( |-)CHANGE: )).* ”, “patch ” = “(?s)(?m)^fix(!{0})(\([a-z ]+\))?: (?!.*^(BREAKING( |-)CHANGE: )).* ” |
Release types
This preset comes with a few release types, suitable for a mainline only branching model. An additional release type called internal is configured as a fallback when the mainline isn’t matched.
Please note that even if a release type has its publish
flag enabled, publication to remote services doesn’t happen because no service is configured and none is listed in the publicationServices
list. If you want to publish releases using this preset as a starting point you need to configure some services and override the releaseTypes/publicationServices
.
This corresponds to the following configuration options: