chore(workflow): setup renovate config (#12626)

This commit is contained in:
neverland 2024-02-12 10:22:36 +08:00 committed by GitHub
parent 22e85d8241
commit b96fb46d19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

31
.github/renovate.json5 vendored Normal file
View File

@ -0,0 +1,31 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"packageRules": [
// Use chore as semantic commit type for commit messages
{
"matchPackagePatterns": ["*"],
"semanticCommitType": "chore"
},
{
"groupName": "rsbuild",
"packagePatterns": ["rsbuild"],
"groupSlug": "rsbuild"
},
{
"groupName": "vite",
"packagePatterns": ["vite"],
"groupSlug": "vite"
},
{
"groupName": "types",
"packagePatterns": ["^@types/"],
"groupSlug": "types"
},
// manually update peer dependencies
{
"depTypeList": ["peerDependencies"],
"enabled": false
}
]
}