forked from zowe/api-layer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate-config.js
46 lines (46 loc) · 2.09 KB
/
renovate-config.js
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
module.exports = {
globalExtends: ["config:recommended"], // using this instead of "extends" solves the problem with order of the configuration
repositories: ['arxioly/api-layer'],
baseBranches: ["v2.x.x", "v3.x.x"],
dependencyDashboard: true,
packageRules: [
{
//for v2.x.x branch ignore grouping from extends preset, find all packages which are patches,
// slug them and make PR with name "all patch dependencies"
"matchBaseBranches": ["v2.x.x"],
"groupName": "all patch dependencies",
"groupSlug": "all-patch",
"matchPackageNames": ["*"],
"matchUpdateTypes": ["patch"],
},
{
//for v2.x.x make dashboard approval to all major and minor dependencies updates
"matchBaseBranches": ["v2.x.x"],
"matchUpdateTypes": ["major", "minor"],
"dependencyDashboardApproval": true,
},
{
//for v3.x.x branch find all packages which are minor and patches,
// slug them and make PR with name "all non-major dependencies"
"matchBaseBranches": ["v3.x.x"],
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch",
"matchPackageNames": ["*"],
"matchUpdateTypes": ["minor", "patch"]
},
{
//for v3.x.x make dashboard approval to all major dependencies updates
"matchBaseBranches": ["v3.x.x"],
"matchUpdateTypes": ["major"],
"dependencyDashboardApproval": true,
}
],
printConfig: true,
labels: ['dependencies'],
dependencyDashboardLabels: ['dependencies'],
ignoreDeps: ['history','jsdom','react-router-dom','@mui/icons-material','@mui/material','@material-ui/core','@material-ui/icons'],
commitMessagePrefix: 'chore: ',
prHourlyLimit: 0, // removes rate limit for PR creation per hour
npmrc: 'legacy-peer-deps=true\nregistry=https://zowe.jfrog.io/artifactory/api/npm/npm-org/', //for updating lock-files
npmrcMerge: true //be combined with a "global" npmrc
};