-
Notifications
You must be signed in to change notification settings - Fork 23
/
renovate.json
115 lines (115 loc) · 3.29 KB
/
renovate.json
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"username": "sbb-angular-renovate[bot]",
"gitAuthor": "sbb-angular-renovate<52953647+sbb-angular-renovate[bot]@users.noreply.github.com>",
"repositories": ["sbb-design-systems/sbb-angular"],
"baseBranches": ["main", "18.x"],
"includePaths": ["package.json", ".github/**"],
"schedule": ["after 10pm every weekday", "before 5am every weekday", "every weekend"],
"lockFileMaintenance": {
"schedule": ["before 7am on thursday"],
"enabled": true
},
"allowPostUpgradeCommandTemplating": true,
"allowedPostUpgradeCommands": ["^yarn"],
"ignoreDeps": [
"@angular/bazel",
"@types/marked",
"@types/yargs",
"rollup",
"@rollup/plugin-commonjs",
"@rollup/plugin-node-resolve",
"browser-sync",
"browser-sync-client",
"dgeni",
"dgeni-packages",
"highlight.js",
"marked",
"typescript",
"yarn",
"zone.js"
],
"skipInstalls": false,
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest", "lockFileMaintenance", "bump"],
"automerge": true,
"automergeType": "branch"
},
{
"matchPackageNames": ["@types/grecaptcha", "@types/node", "jasmine", "jasmine-core"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"matchPackageNames": ["node"],
"allowedVersions": "<=18"
},
{
"groupName": "angular",
"matchPackagePrefixes": ["@angular/", "@angular-devkit/", "@schematics/angular", "typescript"]
},
{
"groupName": "bazel",
"matchPackagePrefixes": ["@bazel/"]
},
{
"groupName": "commitlint",
"matchPackagePrefixes": ["@commitlint/", "standard-version"]
},
{
"groupName": "rollup",
"matchPackagePrefixes": ["@rollup/", "rollup"]
},
{
"groupName": "karma",
"matchPackagePrefixes": ["karma"]
},
{
"groupName": "jasmine",
"matchPackagePrefixes": ["jasmine", "@types/jasmine"]
},
{
"matchPackageNames": ["@angular/cli", "@angular/cdk", "angular-server-side-configuration"],
"postUpgradeTasks": {
"commands": [
"yarn install --ignore-scripts --frozen-lockfile --non-interactive",
"yarn ng update {{{depName}}} --from={{{currentVersion}}} --to={{{newVersion}}} --migrate-only --allow-dirty --force",
"yarn format"
],
"fileFilters": ["**/**"]
}
},
{
"matchPackageNames": ["prettier"],
"postUpgradeTasks": {
"commands": [
"yarn install --ignore-scripts --frozen-lockfile --non-interactive",
"yarn format:prettier"
],
"fileFilters": ["**/**"]
}
},
{
"matchPackageNames": ["esbuild"],
"postUpgradeTasks": {
"commands": [
"yarn install --ignore-scripts --frozen-lockfile --non-interactive",
"yarn build:schematics",
"yarn format"
],
"fileFilters": ["**/**"]
}
},
{
"matchPackageNames": ["renovate"],
"extends": ["schedule:monthly"]
},
{
"matchPackageNames": ["@angular/build-tooling", "angular/dev-infra", "@angular/ng-dev"],
"groupName": "angular shared dev-infra code",
"schedule": ["before 5am on wednesday"]
}
]
}