Skip to content

Commit

Permalink
ci: add Renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework committed Sep 6, 2024
1 parent ffb209d commit 5a73d72
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"timezone": "Asia/Shanghai",
"schedule": ["after 11pm on friday"],
"extends": ["config:recommended"],
"ignorePaths": ["**/tests/**", "**/node_modules/**"],
"packageRules": [
// Use chore as semantic commit type for commit messages
{
"matchPackagePatterns": ["*"],
"semanticCommitType": "chore",
// always bump package.json
"rangeStrategy": "bump"
},
{
"groupName": "storybook",
"packagePatterns": ["^@storybook/"],
"groupSlug": "storybook",
"respectLatest": false,
"rangeStrategy": "pin"
},
{
"groupName": "rsbuild",
"packagePatterns": ["^@rsbuild/"],
"groupSlug": "rsbuild"
},
{
"groupName": "all patch dependencies",
"groupSlug": "all-patch",
"matchPackagePatterns": ["*"],
"matchUpdateTypes": ["patch"]
},
// manually update peer dependencies
{
"depTypeList": ["peerDependencies"],
"enabled": false
}
],
"ignoreDeps": [
// manually update some packages
"pnpm",
"esbuild",
// align Node.js version minimum requirements
"@types/node",
"node",
]
}

0 comments on commit 5a73d72

Please sign in to comment.