|
|
@ -9,7 +9,9 @@
|
|
|
|
],
|
|
|
|
],
|
|
|
|
stabilityDays: 3, // Wait 3 days after the package has been published before upgrading it
|
|
|
|
stabilityDays: 3, // Wait 3 days after the package has been published before upgrading it
|
|
|
|
// packageRules order is important, they are applied from top to bottom and are merged,
|
|
|
|
// packageRules order is important, they are applied from top to bottom and are merged,
|
|
|
|
// so for example grouping rules needs to be at the bottom
|
|
|
|
// meaning the most important ones must be at the bottom, for example grouping rules
|
|
|
|
|
|
|
|
// If we do not want a package to be grouped with others, we need to set its groupName
|
|
|
|
|
|
|
|
// to `null` after any other rule set it to something.
|
|
|
|
packageRules: [
|
|
|
|
packageRules: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Ignore major version bumps for these node packages
|
|
|
|
// Ignore major version bumps for these node packages
|
|
|
@ -45,6 +47,7 @@
|
|
|
|
// Ignore major version bumps for these Ruby packages
|
|
|
|
// Ignore major version bumps for these Ruby packages
|
|
|
|
matchManagers: ['bundler'],
|
|
|
|
matchManagers: ['bundler'],
|
|
|
|
matchPackageNames: [
|
|
|
|
matchPackageNames: [
|
|
|
|
|
|
|
|
'rack', // Needs to be synced with Rails version
|
|
|
|
'sprockets', // Requires manual upgrade https://github.com/rails/sprockets/blob/master/UPGRADING.md#guide-to-upgrading-from-sprockets-3x-to-4x
|
|
|
|
'sprockets', // Requires manual upgrade https://github.com/rails/sprockets/blob/master/UPGRADING.md#guide-to-upgrading-from-sprockets-3x-to-4x
|
|
|
|
'strong_migrations', // Requires manual upgrade
|
|
|
|
'strong_migrations', // Requires manual upgrade
|
|
|
|
'sidekiq', // Requires manual upgrade
|
|
|
|
'sidekiq', // Requires manual upgrade
|
|
|
@ -84,12 +87,17 @@
|
|
|
|
// Update devDependencies every week, with one grouped PR
|
|
|
|
// Update devDependencies every week, with one grouped PR
|
|
|
|
matchDepTypes: 'devDependencies',
|
|
|
|
matchDepTypes: 'devDependencies',
|
|
|
|
matchUpdateTypes: ['patch', 'minor'],
|
|
|
|
matchUpdateTypes: ['patch', 'minor'],
|
|
|
|
excludePackageNames: [
|
|
|
|
|
|
|
|
'typescript', // Typescript has many changes in minor versions, needs to be checked every time
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
groupName: 'devDependencies (non-major)',
|
|
|
|
groupName: 'devDependencies (non-major)',
|
|
|
|
extends: ['schedule:weekly'],
|
|
|
|
extends: ['schedule:weekly'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
// Group all eslint-related packages with `eslint` in the same PR
|
|
|
|
|
|
|
|
matchManagers: ['npm'],
|
|
|
|
|
|
|
|
matchPackageNames: ['eslint'],
|
|
|
|
|
|
|
|
matchPackagePrefixes: ['eslint-', '@typescript-eslint/'],
|
|
|
|
|
|
|
|
matchUpdateTypes: ['patch', 'minor'],
|
|
|
|
|
|
|
|
groupName: 'eslint (non-major)',
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Update @types/* packages every week, with one grouped PR
|
|
|
|
// Update @types/* packages every week, with one grouped PR
|
|
|
|
matchPackagePrefixes: '@types/',
|
|
|
|
matchPackagePrefixes: '@types/',
|
|
|
@ -98,6 +106,14 @@
|
|
|
|
extends: ['schedule:weekly'],
|
|
|
|
extends: ['schedule:weekly'],
|
|
|
|
addLabels: ['typescript'],
|
|
|
|
addLabels: ['typescript'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
// We want those packages to always have their own PR
|
|
|
|
|
|
|
|
matchManagers: ['npm'],
|
|
|
|
|
|
|
|
matchPackageNames: [
|
|
|
|
|
|
|
|
'typescript', // Typescript has code-impacting changes in minor versions
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
groupName: null, // We dont want them to belong to any group
|
|
|
|
|
|
|
|
},
|
|
|
|
// Add labels depending on package manager
|
|
|
|
// Add labels depending on package manager
|
|
|
|
{ matchManagers: ['npm', 'nvm'], addLabels: ['javascript'] },
|
|
|
|
{ matchManagers: ['npm', 'nvm'], addLabels: ['javascript'] },
|
|
|
|
{ matchManagers: ['bundler', 'ruby-version'], addLabels: ['ruby'] },
|
|
|
|
{ matchManagers: ['bundler', 'ruby-version'], addLabels: ['ruby'] },
|
|
|
|