-
Notifications
You must be signed in to change notification settings - Fork 73
/
renovate.json5
67 lines (61 loc) · 2.44 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>microsoft/m365-renovate-config:beachball",
"github>microsoft/m365-renovate-config:disableEsmVersions",
"github>microsoft/m365-renovate-config:groupMore",
"github>microsoft/m365-renovate-config:groupTypes",
"github>microsoft/m365-renovate-config:keepFresh",
"github>microsoft/m365-renovate-config:restrictNode(14)"
],
"labels": ["renovate"],
"prHourlyLimit": 5,
"semanticCommits": "disabled",
"ignorePaths": [
"**/node_modules/**",
// incorrect manager is being used for fixtures, and most of them don't have real deps anyway
"**/__fixtures__/**"
],
"regexManagers": [
{
"fileMatch": ["^package.json$"],
"matchStrings": ["lage-npm\": \"lage@(?<currentValue>[~^]?\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "lage-npm",
"packageNameTemplate": "lage",
"datasourceTemplate": "npm",
"depTypeTemplate": "devDependencies"
}
],
"packageRules": [
{
"groupName": "Docusaurus deps",
"matchPackagePrefixes": ["docusaurus", "@docusaurus/*"]
},
{
// Automatically pick up backfill and workspace-tools updates
"matchPackagePrefixes": ["backfill-"],
"matchPackageNames": ["backfill", "workspace-tools"],
"matchUpdateTypes": ["major", "minor", "patch", "bump"],
"dependencyDashboardApproval": false
},
{
// Don't try to pin or otherwise modify in-repo deps
"matchPackagePrefixes": ["@lage-run/"],
"enabled": false
},
{
// lage bundles its dependencies, so any updates should to dependencies should be explicit
// so that they trigger a new lage version (with proper documentation of included updates).
// The standard approach of using ^ dependencies and allowing implicit updates via the lock file
// (which with a published bundle, are guaranteed to affect consumers) makes it very hard to
// track when an issue was introduced if it's discovered in another repo.
"rangeStrategy": "pin",
"matchFileNames": ["packages/**"], // ignore this for docs, scripts, root
"matchDepTypes": ["dependencies"],
// lage packages aren't an issue since they're within the repo and the latest version is always used
"excludePackagePrefixes": ["@lage-run/"],
// this is a runtime dependency of lage since it publishes binaries
"excludePackageNames": ["glob-hasher"]
}
]
}