forked from valora-inc/wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json5
56 lines (56 loc) · 1.99 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
{
extends: ['config:base'],
// Bump version ranges instead of pinning since we use lock files
rangeStrategy: 'bump',
// Set a status check pending for 3 days from release timestamp to guard against unpublishing
stabilityDays: 3,
// Limit number of concurrent renovate branches/PRs, to avoid spamming the repo
prConcurrentLimit: 5,
// For now require manual approval from within the Dependency Dashboard issue
// for all packages before opening the renovate PR.
// We can relax this (using specific packageRules) as we catch up with package updates.
dependencyDashboardApproval: true,
// Disable vulnerability updates for now
// Dependabot is handling them instead because Renovate is not yet able to update transitive dependencies
// See https://github.com/renovatebot/renovate/issues/3080
vulnerabilityAlerts: {
enabled: false,
},
// The order of objects in the packageRules array does matter,
// in the sense that rules declared later (towards the end of the array)
// overwrite values of an also-matching rule declared earlier.
packageRules: [
{
// Group devDependencies updates
matchDepTypes: ['devDependencies'],
groupName: 'devDependencies',
// But exclude some specific packages from this group
excludePackageNames: ['typescript'],
},
{
// Group updates for @celo packages
matchPackagePatterns: ['^@celo/'],
groupName: 'celo',
},
{
// Group updates for @testing-library packages
matchPackagePatterns: ['^@testing-library/'],
groupName: 'testing-library',
},
{
// Group updates for @react-native-firebase packages
matchPackagePatterns: ['^@react-native-firebase/'],
groupName: 'react-native-firebase',
},
{
// Group updates for @segment packages
matchPackagePatterns: ['^@segment/'],
groupName: 'segment',
},
{
// Group updates for prettier packages
matchPackagePatterns: ['^prettier'],
groupName: 'prettier',
},
],
}