-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
52 lines (52 loc) · 1.56 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
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:base',
':pinOnlyDevDependencies',
':prNotPending',
':rebaseStalePrs',
':updateNotScheduled',
':automergeDigest',
':automergeMinor',
// group major jest updates
'group:jestMonorepo',
'group:jestPlusTSJest',
'group:jestPlusTypes',
],
schedule: 'every weekend',
packageRules: [
// Bunch up all non-major dependencies into a single PR. In the common case
// where the upgrades apply cleanly, this causes less noise and is resolved
// faster than starting a bunch of upgrades in parallel for what may turn
// out to be a suite of related packages all released at once.
{
groupName: 'all non-major dependencies',
matchUpdateTypes: ['patch', 'minor'],
groupSlug: 'all-minor-patch',
},
// We need to support Node v18, so we don't allow ourselves to use type
// definitions that would let us write >v18-specific code.
{
matchPackageNames: ['@types/node'],
allowedVersions: '18.x',
},
// eslint 9 introduces lots of breaking changes so we will pin eslint at 8.x for now.
{
allowedVersions: '8.x',
matchPackageNames: ['eslint'],
},
// To make sure Renovate doesn't upgrade our Next.js dependencies we need to pin them.
{
matchPackageNames: ['next12'],
allowedVersions: '12.x',
},
{
matchPackageNames: ['next13'],
allowedVersions: '13.x',
},
{
matchPackageNames: ['next14'],
allowedVersions: '14.x',
},
],
}