-
Notifications
You must be signed in to change notification settings - Fork 26
/
renovate.json5
57 lines (56 loc) · 1.77 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
// Renovate is a service that allows us to group and schedule
// dependency updates.
// The config can be validated using renovate-config-validator.
// https://docs.renovatebot.com/reconfigure-renovate/#reconfigure-via-pr
{
extends: ["config:base"],
// We currently only use renovate for JavaScript dependencies.
enabledManagers: ["npm"],
ignoreDeps: ["@svgr/cli"],
ignorePaths: [],
schedule: ["on Friday"],
packageRules: [
{
groupName: "all non-major dependencies",
groupSlug: "all-minor-patch",
// Excluded packages will be submitted as separate PRs.
excludePackageNames: ["typescript", "@testing-library/react"],
matchUpdateTypes: ["patch", "minor"],
},
],
major: {
// Using "before x time" format as is listed in the docs is too
// narrow of a window since the job only runs once or twice a day.
schedule: ["on the first day of the month"],
packageRules: [
{
matchPackagePatterns: ["^eslint"],
groupName: "eslint packages",
},
{
matchPackagePatterns: ["^typescript"],
matchPackageNames: ["ts-loader"],
groupName: "typescript packages",
},
{
matchPackagePatterns: ["^webpack"],
groupName: "webpack packages",
},
{
matchPackagePatterns: ["^sass"],
groupName: "sass packages",
},
{
matchPackageNames: ["jest", "ts-jest", "@types/jest"],
groupName: "jest packages",
},
{
// Relevant documentation:
// - https://docs.renovatebot.com/presets-monorepo/
// - https://docs.renovatebot.com/configuration-options/#matchsourceurlprefixes
matchSourceUrlPrefixes: ["https://github.com/lerna/lerna"],
groupName: "All lerna packages",
},
],
},
}