#Generic bump configuration

Unlike Npm, some package managers do not offer a way to control how dependency versions are bumped. This feature is useful when you want to limit which versions a given dependency is updated to, whether it be to the latest major, minor or patch version.

For this reason, we have introduced a generic bump configuration that follows the semantic versioning concepts. You can set a default bump rule and fine tune how each dependency is bumped using patterns.

defaultBumpRule: minor
bumpRules:
  - pattern: @angular/*
    bump: minor

#defaultBumpRule

Default: minor

Defines the default bump rules applied to a dependency when no other rule applies.

defaultBumpRule: minor # major | minor | patch

#bumpRules

Default: none

A list of bump rules against which Pmbot should match dependency names. We apply the first matching rule, and this rule overrides the defaultBumpRule.

Usage:

bumpRules:
  - pattern: @angular/*
    bump: minor

#pattern

Required

A Javascript regular expression to use for matching against dependency names.

bumpRules:
  - pattern: @angular/*

#bump

Required

The type of bump to use for dependencies matching the pattern associated with this bump.

bumpRules:
  - pattern: @angular/*
    bump: minor # major | minor | patch