-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.json
92 lines (92 loc) · 4.19 KB
/
default.json
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
":preserveSemverRanges",
"config:base",
"docker:enableMajor",
"helpers:pinGitHubActionDigests",
"regexManagers:dockerfileVersions",
"regexManagers:githubActionsVersions",
"regexManagers:tfvarsVersions",
":automergeStableNonMajor",
":automergePatch",
":automergeDigest",
"npm:unpublishSafe",
":semanticCommitsDisabled",
":separateMultipleMajorReleases"
],
"onboarding": false,
"requireConfig": "optional",
"printConfig": true,
"prHourlyLimit": 0,
"cloneSubmodules": false,
"rebaseWhen": "behind-base-branch",
"git-submodules": {
"enabled": true
},
"labels": ["renovate"],
"commitBody": "Update {{depName}}\n\nChange-type: patch",
"prConcurrentLimit": 3,
"automerge": false,
"automergeStrategy": "merge-commit",
"pinDigest": {
"commitBody": "Update {{depName}}\n\nChange-type: patch",
"automerge": true
},
"digest": {
"commitBody": "Update {{depName}}\n\nChange-type: patch",
"automerge": true
},
"lockFileMaintenance": {
"commitBody": "Update {{depName}}\n\nChange-type: patch",
"enabled": true,
"automerge": true
},
"ignorePaths": [
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**",
"**/examples/**",
"**/__tests__/**",
"**/tests/**",
"**/__fixtures__/**"
],
"packageRules": [
{
"matchUpdateTypes": ["major", "minor", "patch"],
"commitBody": "Update {{depName}} from {{{replace 'v' '' currentVersion}}} to {{{replace 'v' '' newVersion}}}\n\nChange-type: patch"
},
{
"groupName": "{{{replace '^@types/' '' depName}}}",
"matchPackagePrefixes": ["@types/"],
"matchDepTypes": ["dependencies", "devDependencies"],
"matchDatasources": ["npm"]
},
{
"groupName": "{{depName}}",
"excludePackagePrefixes": ["@types/"],
"matchDepTypes": ["dependencies", "devDependencies"],
"matchDatasources": ["npm"]
},
{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^v?0/",
"automerge": true
},
{
"matchRepositories": ["balena-io/balena-ui"],
"commitBody": "Update {{depName}}\n\nChangelog-entry: Update {{depName}}\nChange-type: patch"
},
{
"matchPackagePatterns": ["^husky$"],
"matchUpdateTypes": ["major"],
"matchNewValue": "/^[\\^~v]?9\\./",
"postUpgradeTasks": {
"commands": [
"node -e \"eval(Buffer.from('Y29uc3QgZnMgPSByZXF1aXJlKCJmcyIpOwoKLy8gRGVmaW5lIGEgcmVnZXggdG8gbWF0Y2ggdGhlIG9sZCBwcmVwYXJlIHNjcmlwdCBhbmQgYW55IHRyYWlsaW5nIHRleHQKY29uc3Qgb2xkUHJlcGFyZVJlZ2V4ID0gL15ub2RlIC1lICJ0cnkgeyByZXF1aXJlXCgnaHVza3knXClcLmluc3RhbGxcKFwpIH0gY2F0Y2ggXChlXCkge2lmIFwoZVwuY29kZSAhPT0gJ01PRFVMRV9OT1RfRk9VTkQnXCkgdGhyb3cgZX0iKC4qKSQvOwoKLy8gVXBkYXRlIHBhY2thZ2UuanNvbgpjb25zdCBwYWNrYWdlSnNvblBhdGggPSAicGFja2FnZS5qc29uIjsKY29uc3QgZGF0YSA9IEpTT04ucGFyc2UoZnMucmVhZEZpbGVTeW5jKHBhY2thZ2VKc29uUGF0aCwgInV0ZjgiKSk7CmNvbnN0IG1hdGNoID0gZGF0YS5zY3JpcHRzLnByZXBhcmUubWF0Y2gob2xkUHJlcGFyZVJlZ2V4KTsKaWYgKG1hdGNoKSB7CiAgY29uc3QgdHJhaWxpbmdUZXh0ID0gbWF0Y2hbMV07CiAgZGF0YS5zY3JpcHRzLnByZXBhcmUgPSBgbm9kZSAtZSAidHJ5IHsgKGF3YWl0IGltcG9ydCgnaHVza3knK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