-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json5
42 lines (42 loc) · 1.04 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
/**
* Renovatebot config and overrides for the monorepo
*
* - https://docs.renovatebot.com/configuration-options/
* - https://docs.renovatebot.com/presets-default/
*/
{
extends: ['config:base'],
enabled: true,
enabledManagers: ['npm', 'github-actions'],
postUpdateOptions: [
// https://docs.renovatebot.com/configuration-options/#postupdateoptions
// Will run yarn dedupe --strategy highest
'yarnDedupeHighest',
],
packageRules: [
{
// Root package.json
matchPaths: ['package.json'],
matchDepTypes: ['dependencies'],
rangeStrategy: 'pin',
},
{
// Will pin dependencies found in apps/*...
matchPaths: ['apps/**'],
matchDepTypes: ['dependencies'],
rangeStrategy: 'pin',
},
{
// Will preserve semver found in packages/*
matchPaths: ['packages/**'],
matchDepTypes: ['dependencies'],
rangeStrategy: 'replace',
},
{
// All dev deps
matchDepTypes: ['devDependencies'],
rangeStrategy: 'auto',
automerge: true,
},
],
}