|
1 | 1 | {
|
2 | 2 | $schema: 'https://docs.renovatebot.com/renovate-schema.json',
|
3 | 3 | 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, |
5 | 11 | semanticCommits: true,
|
6 | 12 | // The config we're extending ignores test dirs, but we want to bump some fixture deps
|
7 | 13 | ignorePaths: ['**/node_modules/**'],
|
8 | 14 | 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. |
10 | 16 | {
|
11 |
| - matchFileNames: ['tests/**/fixtures/**/package.json'], |
| 17 | + matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], |
12 | 18 | // If a fixture requires a specific framework version, never bump it.
|
13 | 19 | updatePinnedDependencies: false,
|
14 | 20 | // Always use `chore:` (since these are test fixtures), to avoid no-op releases.
|
15 | 21 | extends: [':semanticCommitTypeAll(chore)'],
|
16 | 22 | },
|
17 | 23 | {
|
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'], |
22 | 30 | // Override the schedule to get immediate PRs.
|
23 | 31 | schedule: null,
|
24 | 32 | // Apply a unique label so we can trigger additional workflows for these PRs.
|
|
0 commit comments