From 210cce7806d676178ef3f089b197cfa61a7e685e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 6 Nov 2025 22:31:03 +0000 Subject: [PATCH 1/2] chore(config): migrate config renovate.json5 --- renovate.json5 | 58 +++++++++++++++++--------------------------------- 1 file changed, 20 insertions(+), 38 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index 4464ca086..e978a1390 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -1,56 +1,38 @@ { - $schema: 'https://docs.renovatebot.com/renovate-schema.json', - extends: ['github>netlify/renovate-config:default'], - ignorePresets: [':prHourlyLimit2'], - semanticCommits: true, - // The config we're extending ignores test dirs, but we want to bump some fixture deps - ignorePaths: ['**/node_modules/**'], + $schema: "https://docs.renovatebot.com/renovate-schema.json", + extends: ["github>netlify/renovate-config:default"], + ignorePresets: [":prHourlyLimit2"], + semanticCommits: "enabled", + ignorePaths: ["**/node_modules/**"], packageRules: [ - // Since we've enabled Renovate (see above) for demo and fixture sites, adjust the config for these. { - matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], - // If a fixture requires a specific framework version, never bump it. + matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], updatePinnedDependencies: false, - // Always use `chore:` (since these are test fixtures), to avoid no-op releases. - extends: [':semanticCommitTypeAll(chore)'], + extends: [":semanticCommitTypeAll(chore)"], }, { - description: 'Stable & unstable Angular bumps in demo and test fixtures', - groupName: 'Angular packages', - matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], - matchPackageNames: ['@angular/**', 'zone.js', '@angular-devkit/**'], - // Override the schedule to get immediate PRs. + description: "Stable & unstable Angular bumps in demo and test fixtures", + groupName: "Angular packages", + matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], + matchPackageNames: ["@angular/**", "zone.js", "@angular-devkit/**"], schedule: null, - // Apply a unique label so we can trigger additional workflows for these PRs. - addLabels: ['bump-framework-in-fixtures'], - // Bump even if the release isn't tagged as `latest`. + addLabels: ["bump-framework-in-fixtures"], respectLatest: false, - // Bump even if it's a pre-release (e.g. 1.2.3-beta.8). ignoreUnstable: false, - // Ideally we'd like to disable automerge only for unstable bumps, but this is - // difficult (or impossible) to implement so we just disable it entirely. automerge: false, }, - // Angular major version updates attempt to upgrade fixtures for Angular 17, 18 etc - // we never want to upgrade those, so we disable them in fixtures. - // Angular major versions are being released on 6 months schedule and we will need to handle them - // manually anyway (even if it's just creating test fixtures for them, without adjusting the runtime - // itself) - // Additionally peerDeps bumps (like typescript) make it seemingly impossible to automate this process - // for demo app, so major bumps are just fully disabled. { - description: 'Disable angular major version upgrades', - matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], - matchPackageNames: ['@angular/**', '@angular-devkit/**'], - matchUpdateTypes: ['major'], + description: "Disable angular major version upgrades", + matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], + matchPackageNames: ["@angular/**", "@angular-devkit/**"], + matchUpdateTypes: ["major"], enabled: false, }, - // zone.js is in 0.x.y version range, so we also disable minor updates for those { - description: 'Disable zone.js minor version upgrades in fixtures', - matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], - matchPackageNames: ['zone.js'], - matchUpdateTypes: ['minor', 'major'], + description: "Disable zone.js minor version upgrades in fixtures", + matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], + matchPackageNames: ["zone.js"], + matchUpdateTypes: ["minor", "major"], enabled: false, }, ], From 142496db691211eff4323b1c1a58da2443592ad5 Mon Sep 17 00:00:00 2001 From: Mateusz Bocian Date: Thu, 6 Nov 2025 17:36:18 -0500 Subject: [PATCH 2/2] chore: restore renovate config comments --- renovate.json5 | 58 +++++++++++++++++++++++++++++++++----------------- 1 file changed, 38 insertions(+), 20 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index e978a1390..741317428 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -1,38 +1,56 @@ { - $schema: "https://docs.renovatebot.com/renovate-schema.json", - extends: ["github>netlify/renovate-config:default"], - ignorePresets: [":prHourlyLimit2"], - semanticCommits: "enabled", - ignorePaths: ["**/node_modules/**"], + $schema: 'https://docs.renovatebot.com/renovate-schema.json', + extends: ['github>netlify/renovate-config:default'], + ignorePresets: [':prHourlyLimit2'], + semanticCommits: 'enabled', + // The config we're extending ignores test dirs, but we want to bump some fixture deps + ignorePaths: ['**/node_modules/**'], packageRules: [ + // Since we've enabled Renovate (see above) for demo and fixture sites, adjust the config for these. { - matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], + matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], + // If a fixture requires a specific framework version, never bump it. updatePinnedDependencies: false, - extends: [":semanticCommitTypeAll(chore)"], + // Always use `chore:` (since these are test fixtures), to avoid no-op releases. + extends: [':semanticCommitTypeAll(chore)'], }, { - description: "Stable & unstable Angular bumps in demo and test fixtures", - groupName: "Angular packages", - matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], - matchPackageNames: ["@angular/**", "zone.js", "@angular-devkit/**"], + description: 'Stable & unstable Angular bumps in demo and test fixtures', + groupName: 'Angular packages', + matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], + matchPackageNames: ['@angular/**', 'zone.js', '@angular-devkit/**'], + // Override the schedule to get immediate PRs. schedule: null, - addLabels: ["bump-framework-in-fixtures"], + // Apply a unique label so we can trigger additional workflows for these PRs. + addLabels: ['bump-framework-in-fixtures'], + // Bump even if the release isn't tagged as `latest`. respectLatest: false, + // Bump even if it's a pre-release (e.g. 1.2.3-beta.8). ignoreUnstable: false, + // Ideally we'd like to disable automerge only for unstable bumps, but this is + // difficult (or impossible) to implement so we just disable it entirely. automerge: false, }, + // Angular major version updates attempt to upgrade fixtures for Angular 17, 18 etc + // we never want to upgrade those, so we disable them in fixtures. + // Angular major versions are being released on 6 months schedule and we will need to handle them + // manually anyway (even if it's just creating test fixtures for them, without adjusting the runtime + // itself) + // Additionally peerDeps bumps (like typescript) make it seemingly impossible to automate this process + // for demo app, so major bumps are just fully disabled. { - description: "Disable angular major version upgrades", - matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], - matchPackageNames: ["@angular/**", "@angular-devkit/**"], - matchUpdateTypes: ["major"], + description: 'Disable angular major version upgrades', + matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], + matchPackageNames: ['@angular/**', '@angular-devkit/**'], + matchUpdateTypes: ['major'], enabled: false, }, + // zone.js is in 0.x.y version range, so we also disable minor updates for those { - description: "Disable zone.js minor version upgrades in fixtures", - matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], - matchPackageNames: ["zone.js"], - matchUpdateTypes: ["minor", "major"], + description: 'Disable zone.js minor version upgrades in fixtures', + matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], + matchPackageNames: ['zone.js'], + matchUpdateTypes: ['minor', 'major'], enabled: false, }, ],