-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
78 lines (78 loc) · 2.43 KB
/
renovate.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
// 👇 Defined in https://github.com/renovatebot/renovate/blob/37.0.2/lib/config/presets/internal/config.ts
extends: [
'config:recommended',
'config:best-practices',
'config:js-app',
'github>davidlj95/renovate-config:angular/v18-lts',
],
prHourlyLimit: 0,
prConcurrentLimit: 5,
schedule: [
// Validate using https://codepen.io/rationaltiger24/full/ZExQEgK
// Though even if that says is valid, maybe invalid 🙃 as it wants 0 errors despite compiling
// So to be sure, `npm i later` on a tmp dir, `var later = require('later')' and check
// `later.parse.text('whatever schedule')` returns no errors (-1)
'at 9:00 am on the 1-7 day of the month on Saturday',
],
timezone: 'Europe/Madrid',
labels: ['dependencies'],
packageRules: [
// Semantic commit messages & PR titles. Mocks @dependabot ones:
// build(deps) for production dependencies, build(deps-dev) for dev dependencies (see below)
// ℹ️ If placing this 👇 commit type and scope default in root config doesn't work. Most probably the config
// presets override that
{
matchFileNames: ['**/*'],
semanticCommitType: 'build',
semanticCommitScope: 'deps-dev',
},
{
matchDepTypes: ['dependencies'],
semanticCommitScope: 'deps',
},
// Tagging
{
matchManagers: ['github-actions'],
addLabels: ['github-actions'],
},
{
matchCategories: ['js'],
addLabels: ['javascript'],
},
{
matchCategories: ['node'],
addLabels: ['node'],
},
// Auto-merge minor/patch production ones & dev dependencies
{
matchUpdateTypes: ['minor', 'patch', 'pin', 'digest'],
automerge: true,
},
{
matchDepTypes: ['devDependencies'],
automerge: true,
},
// Keep in Angular v18 til manually upgrading
{
// 👇 Includes devkit & eslint
matchDepNames: ['@angular{/,}**'],
allowedVersions: '^18',
},
// Font Awesome & Angular v18
// https://github.com/FortAwesome/angular-fontawesome#compatibility-table
{
matchDepNames: ['@fortawesome/angular-fontawesome'],
allowedVersions: '0.15.x',
},
{
matchDepNames: [
'@fortawesome/fontawesome-svg-core',
'@fortawesome/free-brands-svg-icons',
'@fortawesome/free-solid-svg-icons',
],
allowedVersions: '5.x || 6.x',
},
],
}