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 f1684e4
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"$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
{
"matchPackageNames": ["**"],
"semanticCommitType": "chore",
// always bump package.json
"rangeStrategy": "bump"
},
{
"groupName": "storybook",
"matchPackageNames": ["storybook", "@storybook/**"],
"groupSlug": "storybook",
"respectLatest": false,
"rangeStrategy": "pin",
"matchDepTypes": ["devDependencies"],
"followTag": "next"
},
{
"groupName": "rsbuild",
"matchPackageNames": ["@rsbuild/**"],
"groupSlug": "rsbuild",
"respectLatest": false
},
{
"groupName": "all patch dependencies",
"groupSlug": "all-patch",
"matchPackageNames": ["**", "!storybook", "!@storybook/**", "!@rsbuild/**"],
"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 f1684e4

Please sign in to comment.