This repository hosts several opinionated Renovate config presets.
Renovate can resolve GitHub-hosted config preset using github>
directive. Please read more at Shareable Config Presets | Renovate Docs.
Presets hosted in this repository can be resolved as the following:
{
"extends": ["config:base", "github>lacolaco/renovate-config:presetName"]
}
If :presetName
is omitted, default
is used instead. default.json
includes all presets.
lacolaco/renovate-config:automerge-types
- Enable automerge of
@types
package's minor updates.
- Enable automerge of
lacolaco/renovate-config:ng-update
: For Angular CLI-based repository- Disable major or minor version updates for packages which are under the control from
ng update
commands.@angular/core
package group: https://github.com/angular/angular/blob/master/tools/defaults.bzl#L27@angular/cli
package group: https://github.com/angular/angular-cli/blob/master/packages/angular/cli/package.json@angular/material
package group: https://github.com/angular/components/blob/master/src/material/package.jsontypescript
rxjs
(major version only is disabled)
- Disable major or minor version updates for packages which are under the control from
lacolaco/renovate-config:angular-eslint
- Add groups for
@angular-eslint
and@typescript-eslint
packages (no automerge).
- Add groups for
lacolaco/renovate-config:storybook
- Add a group for Storybook packages and enable renovate only for patch versions (because they have
npx sb migrate
command).
- Add a group for Storybook packages and enable renovate only for patch versions (because they have
MIT