Full Config Presets
config:best-practices¶
Preset with best practices from the Renovate maintainers. Recommended for advanced users, who want to follow our best practices.
{
"extends": [
"config:recommended", // (1)!
"docker:pinDigests", // (2)!
"helpers:pinGitHubActionDigests", // (3)!
":configMigration", // (4)!
":pinDevDependencies", // (5)!
"abandonments:recommended", // (6)!
"security:minimumReleaseAgeNpm", // (7)!
":maintainLockFilesWeekly" // (8)!
]
}
config:recommended: Recommended configuration for most users. It does not matter what programming language you use.docker:pinDigests: Pin Docker digests.helpers:pinGitHubActionDigests: Pingithub-actiondigests.:configMigration: Enable Renovate configuration migration PRs when needed.:pinDevDependencies: Pin dependency versions for development dependencies.abandonments:recommended: Recommended configuration for abandoned packages, treating packages without a release for 1 year as abandoned, while taking into account community-sourced overrides.security:minimumReleaseAgeNpm: Wait until the npm package is three days old before raising the update. This a) introduces a short delay to allow for malware researchers and scanners to (possibly) detect any malicious behaviour in packages, and b) prevents the maintainer and/or NPM from unpublishing a package you already upgraded to, breaking builds.:maintainLockFilesWeekly: Run lock file maintenance (updates) early Monday mornings.
config:js-app¶
Default configuration for webapps.
{
"extends": [
"config:recommended", // (1)!
":pinAllExceptPeerDependencies" // (2)!
]
}
config:recommended: Recommended configuration for most users. It does not matter what programming language you use.:pinAllExceptPeerDependencies: Pin all dependency versions exceptpeerDependencies.
config:js-lib¶
Default configuration for libraries.
{
"extends": [
"config:recommended", // (1)!
":pinOnlyDevDependencies" // (2)!
]
}
config:recommended: Recommended configuration for most users. It does not matter what programming language you use.:pinOnlyDevDependencies: Pin dependency versions for development dependencies and retain SemVer ranges for others.
config:recommended¶
Recommended configuration for most users. It does not matter what programming language you use.
{
"extends": [
":dependencyDashboard", // (1)!
":semanticPrefixFixDepsChoreOthers", // (2)!
":ignoreModulesAndTests", // (3)!
"group:monorepos", // (4)!
"group:recommended", // (5)!
"mergeConfidence:age-confidence-badges", // (6)!
"replacements:all", // (7)!
"workarounds:all", // (8)!
"helpers:githubDigestChangelogs", // (9)!
"helpers:goXPackagesChangelogLink", // (10)!
"helpers:goXPackagesNameLink" // (11)!
]
}
:dependencyDashboard: Enable Renovate Dependency Dashboard creation.:semanticPrefixFixDepsChoreOthers: Use semantic commit typefixfor dependencies andchorefor all others if semantic commits are in use.:ignoreModulesAndTests: Ignorenode_modules,bower_components,vendorand various test/tests (except for nuget) directories.group:monorepos: Group known monorepo packages together.group:recommended: Use curated list of recommended non-monorepo package groupings.mergeConfidence:age-confidence-badges: Show only the Age and Confidence Merge Confidence badges for pull requests.replacements:all: Apply crowd-sourced package replacement rules.workarounds:all: Apply crowd-sourced workarounds for known problems with packages.helpers:githubDigestChangelogs: Ensure that every dependency pinned by digest and sourced from GitHub.com contains a link to the commit-to-commit diffhelpers:goXPackagesChangelogLink: Correctly link to the source code for golang.org/x packageshelpers:goXPackagesNameLink: Link to pkg.go.dev/... for golang.org/x packages' title
config:semverAllMonthly¶
Preserve SemVer ranges and update everything together once a month. (excluding replacements and lockfile maintenance)
{
"extends": [
":preserveSemverRanges", // (1)!
"group:all", // (2)!
"schedule:monthly", // (3)!
":maintainLockFilesMonthly" // (4)!
],
"lockFileMaintenance": {
"commitMessageAction": "Update"
},
"separateMajorMinor": false
}
:preserveSemverRanges: Preserve (but continue to upgrade) any existing SemVer ranges.group:all: Group all updates together.schedule:monthly: Schedule once a month on the first day of the month before 4 AM.:maintainLockFilesMonthly: Run lock file maintenance (updates) on the first day of each month.
config:semverAllWeekly¶
Preserve SemVer ranges and update everything together once a week (excluding replacements and lockfile maintenance).
{
"extends": [
":preserveSemverRanges", // (1)!
"group:all", // (2)!
"schedule:weekly", // (3)!
":maintainLockFilesWeekly" // (4)!
],
"lockFileMaintenance": {
"commitMessageAction": "Update"
},
"separateMajorMinor": false
}
:preserveSemverRanges: Preserve (but continue to upgrade) any existing SemVer ranges.group:all: Group all updates together.schedule:weekly: Schedule weekly.:maintainLockFilesWeekly: Run lock file maintenance (updates) early Monday mornings.