Files
backstage/.github/renovate.json5
T
Fredrik Adelöw fadb455bc1 Merge pull request #23114 from backstage/freben/no-esm
start explicitly exluding known esm-only packages to reduce noise
2024-02-21 13:16:52 +01:00

59 lines
1.8 KiB
Plaintext

{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
labels: ['dependencies'],
extends: ['config:best-practices', ':gitSignOff'],
// do not pin dev dependencies, which are part of the best-practices preset
ignorePresets: [':pinDevDependencies', ':pinDigest', 'docker:pinDigests'],
constraints: {
// TODO(freben): Remove this later; it addresses a temporary issue in corepack
// https://github.com/nodejs/corepack/issues/379
// https://github.com/renovatebot/renovate/discussions/27465
corepack: '0.24.1',
},
// the default limit are 10 PRs
prConcurrentLimit: 20,
postUpdateOptions: ['yarnDedupeHighest'],
rangeStrategy: 'update-lockfile',
ignoreDeps: [
// ignored due to licensing issues. See #10992
'@elastic/elasticsearch',
'event-source-polyfill',
],
packageRules: [
{
matchSourceUrlPrefixes: ['https://github.com/spotify/web-scripts'],
groupName: 'Spotify web-scripts monorepo packages',
rangeStrategy: 'replace',
},
{
matchSourceUrlPrefixes: ['https://github.com/microsoft/rushstack'],
groupName: 'API Extractor / Rush Stack monorepo packages',
rangeStrategy: 'replace',
},
{
matchSourceUrlPrefixes: ['https://github.com/gregberge/svgr'],
groupName: 'SVGR monorepo packages',
rangeStrategy: 'replace',
},
// We update yarn packages manually as it's gzip'd and we don't want to pollute the repository too much.
{
matchSourceUrls: ['https://github.com/yarnpkg/berry'],
enabled: false,
},
// ESM only majors, that we're not ready for yet
{
matchPackageNames: ['node-fetch'],
allowedVersions: '<3.0.0',
},
{
matchPackageNames: ['inquirer', '@types/inquirer'],
allowedVersions: '<9.0.0',
},
],
}