-
Notifications
You must be signed in to change notification settings - Fork 2
/
renovate.json5
54 lines (54 loc) · 1.99 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
{
// NOTE: VS Code does not support json5. You should change the file
// association to jsonc:
// Cmd+Shift+P -> "Configure file association for .json5" -> "JSON with Comments"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
// Like config:base/config:recommended, but with defaults to pin digests for
// actions and docker. Leans on the Renovate team's best practices.
// @see https://docs.renovatebot.com/upgrade-best-practices/#whats-in-the-configbest-practices-preset
"config:best-practices",
// This pins devDependencies, but keeps dependencies unpinned for JS
// libraries.
// @see https://docs.renovatebot.com/presets-config/#configjs-app
"config:js-lib",
// No need for spam
"schedule:weekly"
],
"timezone": "Europe/Helsinki",
"labels": ["dependencies"],
"prConcurrentLimit": 10,
"postUpdateOptions": ["pnpmDedupe"],
// Regenerate the lockfile; this ensures that locked transitive
// versions stay up-to-date, and in our version range. See
// https://docs.renovatebot.com/configuration-options/#lockfilemaintenance
"lockFileMaintenance": {
"enabled": true,
"postUpdateOptions": ["pnpmDedupe"],
"automerge": true
},
"packageRules": [
{
"groupName": "semver-compatible dependencies and peerDependencies",
"matchManagers": ["npm"],
"matchDepTypes": ["dependencies", "peerDependencies"],
"matchUpdateTypes": ["minor", "patch"],
// 0.x versions can have breaking changes in minor versions
"matchCurrentVersion": ">=1.0.0",
"automerge": true
},
{
"groupName": "semver-compatible devDependencies",
"matchManagers": ["npm"],
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["minor", "patch"],
// 0.x versions can have breaking changes in minor versions
"matchCurrentVersion": ">=1.0.0",
"automerge": true
}
// major versions are left ungrouped
],
"vulnerabilityAlerts": {
"labels": ["security"]
}
}