Reduce to only the effective change: matchPackagePatterns → matchPackageNames

Renovate deprecated matchPackagePatterns. The new matchPackageNames
accepts regex patterns wrapped in / delimiters. All other changes
in this PR (quote style, comment removal) were cosmetic and have
been reverted.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2026-05-25 12:17:02 +02:00
parent 834b3cd856
commit 7b7981b4a3
+51 -41
View File
@@ -1,80 +1,90 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
labels: ["dependencies"],
extends: ["config:best-practices", ":gitSignOff"],
ignorePresets: [":pinDevDependencies", ":pinDigest", "docker:pinDigests"],
$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: {
corepack: "0.24.1",
// 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 is 10 PRs
prConcurrentLimit: 20,
postUpdateOptions: ["yarnDedupeHighest"],
rangeStrategy: "update-lockfile",
postUpdateOptions: ['yarnDedupeHighest'],
rangeStrategy: 'update-lockfile',
ignoreDeps: [
"@elastic/elasticsearch",
"event-source-polyfill",
"@types/react",
"@types/node",
// ignored due to licensing issues. See #10992
'@elastic/elasticsearch',
'event-source-polyfill',
// These need to stay pinned to match the React/Node versions we support
'@types/react',
'@types/node',
],
packageRules: [
{
groupName: "Spotify web-scripts monorepo packages",
rangeStrategy: "replace",
matchSourceUrls: ["https://github.com/spotify/web-scripts{/,}**"],
groupName: 'Spotify web-scripts monorepo packages',
rangeStrategy: 'replace',
matchSourceUrls: ['https://github.com/spotify/web-scripts{/,}**'],
},
{
groupName: "API Extractor / Rush Stack monorepo packages",
rangeStrategy: "replace",
matchSourceUrls: ["https://github.com/microsoft/rushstack{/,}**"],
groupName: 'API Extractor / Rush Stack monorepo packages',
rangeStrategy: 'replace',
matchSourceUrls: ['https://github.com/microsoft/rushstack{/,}**'],
},
{
groupName: "Module-federation monorepo packages",
rangeStrategy: "replace",
matchSourceUrls: ["https://github.com/module-federation/core{/,}**"],
groupName: 'Module-federation monorepo packages',
rangeStrategy: 'replace',
matchSourceUrls: ['https://github.com/module-federation/core{/,}**'],
},
{
groupName: "OpenTelemetry packages",
rangeStrategy: "replace",
matchPackageNames: ["/^@opentelemetry//"],
groupName: 'OpenTelemetry packages',
rangeStrategy: 'replace',
matchPackageNames: ['/^@opentelemetry\\//'],
},
// 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"],
matchSourceUrls: ['https://github.com/yarnpkg/berry'],
enabled: false,
},
// https://github.com/backstage/backstage/issues/27123
{
matchPackageNames: ["browser-actions/setup-chrome"],
matchPackageNames: ['browser-actions/setup-chrome'],
enabled: false,
},
// ESM only majors, that we're not ready for yet
{
matchPackageNames: ["node-fetch"],
allowedVersions: "<3.0.0",
matchPackageNames: ['node-fetch'],
allowedVersions: '<3.0.0',
},
{
matchPackageNames: ["inquirer", "@types/inquirer"],
allowedVersions: "<9.0.0",
matchPackageNames: ['inquirer', '@types/inquirer'],
allowedVersions: '<9.0.0',
},
{
matchPackageNames: ["ora"],
allowedVersions: "<5.0.0",
matchPackageNames: ['ora'],
allowedVersions: '<5.0.0',
},
{
matchPackageNames: ["p-limit"],
allowedVersions: "<4.0.0",
matchPackageNames: ['p-limit'],
allowedVersions: '<4.0.0',
},
{
matchPackageNames: ["p-throttle"],
allowedVersions: "<4.0.0",
matchPackageNames: ['p-throttle'],
allowedVersions: '<4.0.0',
},
{
matchPackageNames: ["p-queue"],
allowedVersions: "<7.0.0",
matchPackageNames: ['p-queue'],
allowedVersions: '<7.0.0',
},
{
matchPackageNames: ["serialize-error"],
allowedVersions: "<9.0.0",
matchPackageNames: ['serialize-error'],
allowedVersions: '<9.0.0',
},
{
matchPackageNames: ["yn"],
allowedVersions: "<5.0.0",
matchPackageNames: ['yn'],
allowedVersions: '<5.0.0',
},
],
}