-
Notifications
You must be signed in to change notification settings - Fork 450
Expand file tree
/
Copy pathrenovate.json5
More file actions
54 lines (54 loc) · 1.68 KB
/
renovate.json5
File metadata and controls
54 lines (54 loc) · 1.68 KB
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>netlify/renovate-config:esm"],
"ignorePresets": [":prHourlyLimit2"],
"semanticCommits": "enabled",
"dependencyDashboard": true,
"constraints": {
// Use npm@10 due to https://github.com/npm/cli/issues/8489 and https://github.com/npm/cli/issues/8767
"npm": '^10.0.0',
},
"postUpdateOptions": ["npmDedupe"],
"packageRules": [
{
"matchFileNames": ["site/package.json"],
"semanticCommitType": "chore",
"addLabels": ["website"],
"semanticCommitScope": "website",
"additionalBranchPrefix": "website-"
},
// Reduce noise by grouping `site/package.json` non-major updates together
{
"matchFileNames": ["site/package.json"],
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"groupName": "website non-major dependencies"
},
{
"matchFileNames": ["tests/**/package.json"],
"semanticCommitType": "chore",
"addLabels": ["tests"],
"semanticCommitScope": "tests",
"additionalBranchPrefix": "tests-"
},
{
"matchFileNames": ["src/**/package.json"],
"semanticCommitType": "fix",
"addLabels": ["templates"],
"semanticCommitScope": "templates",
"additionalBranchPrefix": "templates-"
},
{
"matchFileNames": ["tests/**/package.json"],
"extends": [":pinAllExceptPeerDependencies"]
},
{
"matchFileNames": ["package.json"],
"extends": [":pinAllExceptPeerDependencies"]
},
{
"description": "Pin get-port to v5 (https://github.com/netlify/cli/pull/6531)",
"matchPackageNames": ["get-port"],
"allowedVersions": "<6"
}
]
}