|
1 | 1 | { |
2 | | - $schema: 'https://docs.renovatebot.com/renovate-schema.json', |
3 | | - extends: ['github>netlify/renovate-config:default'], |
4 | | - ignorePresets: [':prHourlyLimit2'], |
5 | | - semanticCommits: true, |
6 | | - // The config we're extending ignores test dirs, but we want to bump some fixture deps |
7 | | - ignorePaths: ['**/node_modules/**'], |
| 2 | + $schema: "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + extends: ["github>netlify/renovate-config:default"], |
| 4 | + ignorePresets: [":prHourlyLimit2"], |
| 5 | + semanticCommits: "enabled", |
| 6 | + ignorePaths: ["**/node_modules/**"], |
8 | 7 | packageRules: [ |
9 | | - // Since we've enabled Renovate (see above) for demo and fixture sites, adjust the config for these. |
10 | 8 | { |
11 | | - matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], |
12 | | - // If a fixture requires a specific framework version, never bump it. |
| 9 | + matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], |
13 | 10 | updatePinnedDependencies: false, |
14 | | - // Always use `chore:` (since these are test fixtures), to avoid no-op releases. |
15 | | - extends: [':semanticCommitTypeAll(chore)'], |
| 11 | + extends: [":semanticCommitTypeAll(chore)"], |
16 | 12 | }, |
17 | 13 | { |
18 | | - description: 'Stable & unstable Angular bumps in demo and test fixtures', |
19 | | - groupName: 'Angular packages', |
20 | | - matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], |
21 | | - matchPackageNames: ['@angular/**', 'zone.js', '@angular-devkit/**'], |
22 | | - // Override the schedule to get immediate PRs. |
| 14 | + description: "Stable & unstable Angular bumps in demo and test fixtures", |
| 15 | + groupName: "Angular packages", |
| 16 | + matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], |
| 17 | + matchPackageNames: ["@angular/**", "zone.js", "@angular-devkit/**"], |
23 | 18 | schedule: null, |
24 | | - // Apply a unique label so we can trigger additional workflows for these PRs. |
25 | | - addLabels: ['bump-framework-in-fixtures'], |
26 | | - // Bump even if the release isn't tagged as `latest`. |
| 19 | + addLabels: ["bump-framework-in-fixtures"], |
27 | 20 | respectLatest: false, |
28 | | - // Bump even if it's a pre-release (e.g. 1.2.3-beta.8). |
29 | 21 | ignoreUnstable: false, |
30 | | - // Ideally we'd like to disable automerge only for unstable bumps, but this is |
31 | | - // difficult (or impossible) to implement so we just disable it entirely. |
32 | 22 | automerge: false, |
33 | 23 | }, |
34 | | - // Angular major version updates attempt to upgrade fixtures for Angular 17, 18 etc |
35 | | - // we never want to upgrade those, so we disable them in fixtures. |
36 | | - // Angular major versions are being released on 6 months schedule and we will need to handle them |
37 | | - // manually anyway (even if it's just creating test fixtures for them, without adjusting the runtime |
38 | | - // itself) |
39 | | - // Additionally peerDeps bumps (like typescript) make it seemingly impossible to automate this process |
40 | | - // for demo app, so major bumps are just fully disabled. |
41 | 24 | { |
42 | | - description: 'Disable angular major version upgrades', |
43 | | - matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], |
44 | | - matchPackageNames: ['@angular/**', '@angular-devkit/**'], |
45 | | - matchUpdateTypes: ['major'], |
| 25 | + description: "Disable angular major version upgrades", |
| 26 | + matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], |
| 27 | + matchPackageNames: ["@angular/**", "@angular-devkit/**"], |
| 28 | + matchUpdateTypes: ["major"], |
46 | 29 | enabled: false, |
47 | 30 | }, |
48 | | - // zone.js is in 0.x.y version range, so we also disable minor updates for those |
49 | 31 | { |
50 | | - description: 'Disable zone.js minor version upgrades in fixtures', |
51 | | - matchFileNames: ['tests/**/fixtures/**/package.json', 'demo/package.json'], |
52 | | - matchPackageNames: ['zone.js'], |
53 | | - matchUpdateTypes: ['minor', 'major'], |
| 32 | + description: "Disable zone.js minor version upgrades in fixtures", |
| 33 | + matchFileNames: ["tests/**/fixtures/**/package.json", "demo/package.json"], |
| 34 | + matchPackageNames: ["zone.js"], |
| 35 | + matchUpdateTypes: ["minor", "major"], |
54 | 36 | enabled: false, |
55 | 37 | }, |
56 | 38 | ], |
|
0 commit comments