Skip to content

Commit

Permalink
Proposal: Renovate major versions only (#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Apr 7, 2024
1 parent 110ccc9 commit 6f33953
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 99 deletions.
107 changes: 107 additions & 0 deletions .github/renovate.json5
@@ -0,0 +1,107 @@
{
extends: ['seek'],
prCreation: 'not-pending',
timezone: 'Australia/Melbourne',
lockFileMaintenance: {
enabled: true,
schedule: ['before 9am on Monday'],
},
packageRules: [
{
groupName: 'babel packages',
packagePatterns: ['^@?babel[/-](core|plugin|preset|runtime|loader)'],
matchUpdateTypes: 'major',
enabled: true,
schedule: ['before 9am on Tuesday'],
},
{
groupName: 'webpack packages',
packagePatterns: [
'webpack|(-loader$)|autoprefixer|less|css|svg|@vanilla-extract',
],
excludePackagePatterns: ['^@loadable/webpack'],
matchUpdateTypes: 'major',
enabled: true,
schedule: ['before 9am on Tuesday'],
},
{
groupName: 'loadable packages',
packagePatterns: ['^(@types/)?(@)?loadable'],
matchUpdateTypes: 'major',
enabled: true,
schedule: ['before 9am on Tuesday'],
},
{
groupName: 'platform tools',
packagePatterns: ['(browserslist|storybook)'],
matchUpdateTypes: 'major',
enabled: true,
schedule: ['before 9am on Tuesday'],
},
{
groupName: 'typescript',
packagePatterns: ['^typescript$'],
enabled: true,
schedule: ['before 9am on Tuesday'],
},
{
groupName: 'test packages',
packagePatterns: ['(testing-library|jest|puppeteer)'],
matchUpdateTypes: 'major',
enabled: true,
schedule: ['before 9am on Tuesday'],
},
{
groupName: 'lint packages',
packagePatterns: ['(prettier|eslint)'],
matchUpdateTypes: 'major',
enabled: true,
schedule: ['before 9am on Tuesday'],
},
{
groupName: 'cli packages',
depTypeList: ['dependencies', 'devDependencies'],
matchUpdateTypes: 'major',
enabled: true,
schedule: ['before 8am on the 15th day of the month'],
},
{
groupName: 'workflow packages',
packagePatterns: ['(husky|lint-staged)'],
matchUpdateTypes: 'major',
enabled: true,
schedule: ['before 8am on the first day of the month'],
},
{
groupName: 'react packages',
packagePatterns: ['react'],
matchUpdateTypes: 'major',
enabled: true,
schedule: ['before 8am on the first day of the month'],
},
{
groupName: 'Design system packages',
packagePatterns: ['^braid-design-system$'],
matchUpdateTypes: 'major',
enabled: true,
schedule: ['before 8am on the first day of the month'],
},
{
groupName: 'ESM-only packages',
matchUpdateTypes: 'major',
matchPackageNames: [
'chalk',
'env-ci',
'escape-string-regexp',
'find-up',
'get-port',
'indent-string',
'lint-staged',
'open',
'pretty-ms',
'wrap-ansi',
],
enabled: false,
},
],
}
99 changes: 0 additions & 99 deletions renovate.json

This file was deleted.

0 comments on commit 6f33953

Please sign in to comment.