Skip to content

Commit

Permalink
chore: config renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework committed Jun 4, 2024
1 parent 36880a0 commit fed7db9
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: ['config:recommended', 'schedule:weekly'],
ignorePaths: ['**/tests/**', '**/node_modules/**'],
packageRules: [
// Use chore as semantic commit type for commit messages
{
matchPackagePatterns: ['*'],
semanticCommitType: 'chore',
// always bump package.json
rangeStrategy: 'bump',
},
{
groupName: 'babel',
packagePatterns: ['babel'],
groupSlug: 'babel',
},
{
groupName: 'rsbuild',
packagePatterns: ['rsbuild'],
groupSlug: 'rsbuild',
},
{
groupName: 'rspress',
packagePatterns: ['rspress'],
groupSlug: 'rspress',
},
{
groupName: 'modern-js',
packagePatterns: ['modern-js'],
groupSlug: 'modern-js',
},
{
groupName: 'types',
packagePatterns: ['^@types/'],
groupSlug: 'types',
},
{
groupName: 'all patch dependencies',
groupSlug: 'all-patch',
matchPackagePatterns: ['*'],
matchUpdateTypes: ['patch'],
},
// manually update peer dependencies
{
depTypeList: ['peerDependencies'],
enabled: false,
},
],
ignoreDeps: [
// manually update some packages
'pnpm',
// align Node.js version minimum requirements
'@types/node',
'node',
],
}

0 comments on commit fed7db9

Please sign in to comment.