-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrenovate.json5
61 lines (61 loc) · 2.1 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
58
59
60
61
// ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
configMigration: true,
extends: ['config:recommended'],
labels: ['dependencies'],
reviewersFromCodeOwners: true,
lockFileMaintenance: {
enabled: true,
},
customManagers: [
{
customType: 'regex',
datasourceTemplate: 'node',
depNameTemplate: 'node',
versioningTemplate: 'node',
currentValueTemplate: '>= {{currentValue}}',
fileMatch: ['\\.?projen.*.(js|cjs|mjs|ts|mts|cts)$'],
matchStrings: ["minNodeVersion:\\s*'(?<currentValue>[^']+)'"],
},
{
customType: 'regex',
datasourceTemplate: 'npm',
fileMatch: ['\\.?projen.*.(js|cjs|mjs|ts|mts|cts)$'],
matchStringsStrategy: 'recursive',
matchStrings: [
'\\.(?<depType>addDeps|addDevDeps|addPeerDeps)\\([^)]*\\)',
"'(?<depName>@?[\\w-\\/]+)@(?<currentValue>[^']+)'",
],
depTypeTemplate: "{{#if (equals depType 'addDeps')}}dependencies{{else if (equals depType 'addDevDeps')}}devDependencies{{else}}peerDependencies{{/if}}",
},
{
customType: 'regex',
datasourceTemplate: 'npm',
fileMatch: ['\\.?projen.*.(js|cjs|mjs|ts|mts|cts)$'],
matchStringsStrategy: 'recursive',
matchStrings: [
'(?<depType>deps|devDeps|peerDeps):\\s*\\[[^\\]]*\\]',
"'(?<depName>@?[\\w-\\/]+)@(?<currentValue>[^']+)'",
],
depTypeTemplate: "{{#if (equals depType 'deps')}}dependencies{{else if (equals depType 'devDeps')}}devDependencies{{else}}peerDependencies{{/if}}",
},
{
customType: 'regex',
datasourceTemplate: 'npm',
fileMatch: ['\\.?projen.*.(js|cjs|mjs|ts|mts|cts)$'],
matchStrings: ["pnpm@(?<currentValue>[^']+)"],
depNameTemplate: 'pnpm',
depTypeTemplate: 'dependencies',
},
],
packageRules: [
{
description: 'Google Terraform Providers',
groupName: 'Google Providers',
groupSlug: 'terraform-google',
matchDatasources: ['terraform-provider'],
matchPackageNames: 'hashicorp/google*',
},
],
}