A shareable config preset for Renovate used in Hatena.
{
"extends": [
"github>hatena/renovate-config"
]
}
{
"pin": {
"automerge": true
}
}
{
"packageRules": [
{
"matchPackagePatterns": ["^@types/"],
"automerge": true,
"major": {
"automerge": false
}
}
]
}
Updates the ecspresso version defined in the .ecspresso-version
file using customManagers
.
{
"extends": ["github>hatena/renovate-config:ecspressoVersion.json5"]
}
Grouping various libraries used for Android app development, mainly based on Maven groupId.
Grouping some CocoaPods libraries used for iOS app development.
Grouping jest monorepo packages and ts-jest.
{
"packageRules": [
{
"groupName": "jest",
"matchSourceUrlPrefixes": [
"https://github.com/facebook/jest",
"https://github.com/kulshekhar/ts-jest"
]
}
]
}
Grouping lint-related packages for JavaScript and TypeScript. Adding prettier and typescript-eslint packages to the packages:linters
preset.
{
"packageRules": [
{
"groupName": "linters",
"extends": ["packages:linters"],
"matchPackageNames": ["prettier"],
"matchPackagePatterns": ["^@typescript-eslint/"]
}
]
}
{
"extends": [
":timezone(Asia/Tokyo)"
],
"schedule": [
"after 10:30 before 18:00 every weekday except after 13:00 before 14:00"
]
}
This config is heavily based on our business hours in Hatena. So if this is not a good fit for you, please exclude as follows:
{
"ignorePresets": ["github>hatena/renovate-config:schedule"]
}
or overwrite the schedule
option as you like:
{
"schedule": ["after 10pm and before 5am on every weekday", "every weekend"]
}
or extend the Schedule Presets.
Updates Swift packages in XcodeGen's project.yml
using customManagers
.
{
"extends": ["github>hatena/renovate-config:xcodegenSwiftPackages.json5"]
}