Skip to content

Commit 60cad2d

Browse files
committed
chore: don't create separate renovate PRs for angular and angular-cli
1 parent 2eae674 commit 60cad2d

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

renovate.json5

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,32 @@
11
{
22
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
33
extends: ['github>netlify/renovate-config:default'],
4-
ignorePresets: [':prHourlyLimit2'],
4+
ignorePresets: [
5+
':prHourlyLimit2',
6+
// We creating our own package rule that bundles those two together, so let's avoid separate ones
7+
'monorepo:angular',
8+
'monorepo:angular-cli',
9+
],
10+
prHourlyLimit: 0,
511
semanticCommits: true,
612
// The config we're extending ignores test dirs, but we want to bump some fixture deps
713
ignorePaths: ['**/node_modules/**'],
814
packageRules: [
9-
// Since we've enabled Renovate (see above) for fixture sites, adjust the config for these.
15+
// Since we've enabled Renovate (see above) for demo and fixture sites, adjust the config for these.
1016
{
11-
matchFileNames: ['tests/**/fixtures/**/package.json'],
17+
matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'],
1218
// If a fixture requires a specific framework version, never bump it.
1319
updatePinnedDependencies: false,
1420
// Always use `chore:` (since these are test fixtures), to avoid no-op releases.
1521
extends: [':semanticCommitTypeAll(chore)'],
1622
},
1723
{
18-
description: 'Stable & unstable Angular bumps in test fixtures',
19-
matchFileNames: ['tests/**/fixtures/**/package.json'],
20-
// See https://docs.renovatebot.com/presets-monorepo/#monorepoangular.
21-
matchSourceUrls: ['https://github.com/angular/angular'],
24+
description: 'Stable & unstable Angular bumps in demo and test fixtures',
25+
groupName: 'Angular packages',
26+
matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'],
27+
// See https://docs.renovatebot.com/presets-monorepo/#monorepoangular and https://docs.renovatebot.com/presets-monorepo/#monorepoangular-cli.
28+
// packages from both monorepos should be bumped together
29+
matchSourceUrls: ['https://github.com/angular/angular', 'https://github.com/angular/angular-cli'],
2230
// Override the schedule to get immediate PRs.
2331
schedule: null,
2432
// Apply a unique label so we can trigger additional workflows for these PRs.

0 commit comments

Comments
 (0)