From 29d802710e0e855f9eeeeda73f49c2f4e5d28e11 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Aug 2024 07:45:05 +0000 Subject: [PATCH] chore(config): migrate config .github/renovate.json5 --- .github/renovate.json5 | 84 +++++++++++++++++------------------------- 1 file changed, 34 insertions(+), 50 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 5a70a25512..b706195a95 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,82 +1,66 @@ { - $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'], - + $schema: "https://docs.renovatebot.com/renovate-schema.json", + labels: ["dependencies"], + extends: ["config:best-practices", ":gitSignOff"], + 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', + 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', - ], + postUpdateOptions: ["yarnDedupeHighest"], + rangeStrategy: "update-lockfile", + ignoreDeps: ["@elastic/elasticsearch", "event-source-polyfill"], packageRules: [ { - matchSourceUrlPrefixes: ['https://github.com/spotify/web-scripts'], - groupName: 'Spotify web-scripts monorepo packages', - rangeStrategy: 'replace', + groupName: "Spotify web-scripts monorepo packages", + rangeStrategy: "replace", + matchSourceUrls: ["https://github.com/spotify/web-scripts{/,}**"], }, { - matchSourceUrlPrefixes: ['https://github.com/microsoft/rushstack'], - groupName: 'API Extractor / Rush Stack monorepo packages', - rangeStrategy: 'replace', + groupName: "API Extractor / Rush Stack monorepo packages", + rangeStrategy: "replace", + matchSourceUrls: ["https://github.com/microsoft/rushstack{/,}**"], }, { - matchSourceUrlPrefixes: ['https://github.com/gregberge/svgr'], - groupName: 'SVGR monorepo packages', - rangeStrategy: 'replace', + groupName: "SVGR monorepo packages", + rangeStrategy: "replace", + matchSourceUrls: ["https://github.com/gregberge/svgr{/,}**"], }, - // 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, }, - // 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", }, ], }