@lmc-eu/renovate-config
v2.0.0
Published
LMC's renovate configuration for dependencies upgrades
Downloads
4
Readme
@lmc-eu/renovate-config
LMC’s config for renovate
Usage
Enable Renovate in your repository and just extends
in renovate.json
.
{
"extends": ["@lmc-eu"]
}
Note: You don’t have to do npm i -D @lmc-eu/renovate-config
.
Presets
@lmc-eu
Default preset
{
"extends": [
":semanticPrefixFixDepsChoreOthers",
":ignoreModulesAndTests",
":autodetectPinVersions",
"workarounds:all",
":prConcurrentLimit10"
],
"labels": ["dependencies"],
"branchPrefix": "dependencies/",
"commitMessagePrefix": "Deps: "
}
Schedule
@lmc-eu:scheduleWeeklyNonOfficeHours
Schedule weekly non-office hours
{
"schedule": ["after 10pm and before 7am on Monday"]
}
@lmc-eu:scheduleWeeklyBusinessHours
Schedule weekly business hours
{
"schedule": ["after 9am and before 5pm on Monday"]
}
@lmc-eu:scheduleEveryTwoWeeksBusinessHours
Schedule every two weeks business hours
{
"schedule": ["after 9am and before 5pm on the 2nd and 4th day instance on Monday"]
}
@lmc-eu:scheduleEveryTwoWeeksNonOfficeHours
Schedule every two weeks non-office hours
{
"schedule": ["after 10pm and before 7am on the 2nd and 4th day instance on Monday"]
}
Group
@lmc-eu:groupMajorProdDependencies
Group together major prod dependencies
{
"packageRules": [
{
"groupName": "major prod dependencies",
"groupSlug": "major-prod",
"matchPackagePatterns": ["*"],
"matchUpdateTypes": ["major"],
"matchDepTypes": ["dependencies"]
}
]
}
@lmc-eu:groupNonMajorProdDependencies
Group together non-major prod dependencies
{
"packageRules": [
{
"groupName": "non-major prod dependencies",
"groupSlug": "non-major-prod",
"matchPackagePatterns": ["*"],
"matchUpdateTypes": ["minor", "patch"],
"matchDepTypes": ["dependencies"]
}
]
}
@lmc-eu:groupAllDevDependencies
Group together all dev dependencies
{
"packageRules": [
{
"groupName": "all dev dependencies",
"groupSlug": "all-dev",
"separateMajorMinor": false,
"matchPackagePatterns": ["*"],
"matchDepTypes": ["devDependencies"]
}
]
}