-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
70 lines (70 loc) · 2.22 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
{
$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/v19-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'],
},
// Automerge minor/patch production ones & dev dependencies
{
matchUpdateTypes: ['minor', 'patch', 'pin', 'digest'],
automerge: true,
},
{
matchDepTypes: ['devDependencies'],
automerge: true,
},
// Angular major version
{
// 👇 Includes devkit & eslint
matchDepNames: ['@angular{/,}**', 'angular-eslint'],
allowedVersions: '^19',
},
// ng-icons Angular compatibility
// https://github.com/ng-icons/ng-icons/tree/master?tab=readme-ov-file#supported-versions
{
matchDepNames: ['@ng-icons{/,}**'],
allowedVersions: '26.x || 27.x',
},
],
}