ci: configure renovate (#186)

This commit is contained in:
Shinigami 2022-11-27 21:03:13 +01:00 committed by GitHub
parent 4a3b51dca8
commit 7182d69a61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

64
.github/renovate.json5 vendored Normal file
View file

@ -0,0 +1,64 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base", "schedule:weekly", "group:allNonMajor"],
"labels": ["dependencies"],
"rangeStrategy": "bump",
"packageRules": [
{
"groupName": "devDependencies",
"matchDepTypes": ["devDependencies"],
"rangeStrategy": "bump"
},
{
"groupName": "dependencies",
"matchDepTypes": ["dependencies"],
"rangeStrategy": "replace"
},
{
"groupName": "peerDependencies",
"matchDepTypes": ["peerDependencies"],
"rangeStrategy": "widen"
},
{
"groupName": "engines",
"matchDepTypes": ["engines"],
"rangeStrategy": "replace"
},
{
"groupName": "test",
"matchPackageNames": ["@vitest/coverage-c8", "@vitest/ui", "vitest"]
},
{
"groupName": "lint",
"matchPackageNames": [
"@antfu/eslint-config",
"@types/prettier",
"eslint",
"prettier"
]
},
{
"groupName": "iconify",
"matchPackagePatterns": ["^@iconify"]
},
{
"groupName": "tiptap",
"matchPackagePatterns": ["^@tiptap"]
},
{
"groupName": "vueuse",
"matchPackagePatterns": ["^@vueuse"]
},
{
"groupName": "masto",
"matchPackageNames": ["masto"]
},
{
"groupName": "typescript",
"matchPackageNames": ["typescript"]
}
],
"vulnerabilityAlerts": {
"labels": ["security"]
}
}