-
Notifications
You must be signed in to change notification settings - Fork 39
/
.renovaterc.json5
163 lines (162 loc) · 4.44 KB
/
.renovaterc.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
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
// https://docs.renovatebot.com/configuration-options/
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: ['config:recommended'],
lockFileMaintenance: {
enabled: true,
commitMessageExtra: '({{packageFile}})',
},
additionalBranchPrefix: '{{parentDir}}-',
semanticCommitScope: '{{#if parentDir}}{{parentDir}}{{else}}deps{{/if}}',
prHourlyLimit: 0,
packageRules: [
{
// Group GraphQL packages
groupName: 'graphql packages',
matchPackageNames: [
'@types/graphql-depth-limit',
'@types/graphql-upload',
'graphql-depth-limit',
'graphql-http',
'graphql-middleware',
'graphql-shield',
'graphql-subscriptions',
'graphql-upload',
'graphql-ws',
],
},
{
// Group LangChain packages
groupName: 'langchain packages',
matchPackageNames: [
'langchain',
'langchain-community',
'langchain-text-splitters',
],
},
{
// Group OpenTelemetry packages
groupName: 'opentelemetry packages',
matchPackageNames: [
'@opentelemetry/api',
'@opentelemetry/exporter-trace-otlp-http',
'@opentelemetry/instrumentation',
'@opentelemetry/instrumentation-document-load',
'@opentelemetry/instrumentation-xml-http-request',
'@opentelemetry/resources',
'@opentelemetry/sdk-trace-base',
'@opentelemetry/sdk-trace-web',
'@opentelemetry/semantic-conventions',
'@opentelemetry/instrumentation-dns',
'@opentelemetry/instrumentation-express',
'@opentelemetry/instrumentation-graphql',
'@opentelemetry/instrumentation-http',
'@opentelemetry/instrumentation-ioredis',
'@opentelemetry/instrumentation-pg',
'@opentelemetry/instrumentation-pino',
'@opentelemetry/sdk-metrics',
'@opentelemetry/sdk-trace-node',
],
},
{
// Group Prefect packages
groupName: 'prefect packages',
matchPackageNames: [
'docker.io/prefecthq/prefect',
'prefect',
'prefect-aws',
'prefect-shell',
],
},
{
// Group Python packages
groupName: 'python packages',
matchPackageNames: [
'docker.io/python',
'python',
],
},
{
// Group PyTorch packages
groupName: 'torch packages',
matchPackageNames: [
'torch',
'torchvision',
],
},
{
// Group ESLint packages
groupName: 'eslint packages',
matchPackageNames: [
'@eslint/js',
'@grafana/eslint-config',
'@eslint/json',
'@html-eslint/eslint-plugin',
'@html-eslint/parser',
'@tanstack/eslint-plugin-query',
'@typescript-eslint/eslint-plugin',
'@typescript-eslint/parser',
'eslint-config-airbnb-base',
'eslint-config-airbnb',
'eslint-config-prettier',
'eslint-plugin-import',
'eslint-plugin-jsx-a11y',
'eslint-plugin-prettier',
'eslint-plugin-react-refresh',
'eslint-plugin-react',
'eslint-plugin-security',
'eslint',
],
},
{
// Group Stylelint packages
groupName: 'stylelint packages',
matchPackageNames: [
'stylelint',
'stylelint-config-prettier',
'stylelint-config-recess-order',
'stylelint-config-standard',
'stylelint-high-performance-animation',
'stylelint-prettier',
],
},
{
// Group Solhint packages
groupName: 'solhint packages',
matchPackageNames: [
'prettier-plugin-solidity',
'solhint',
],
},
{
// Group Prettier packages
groupName: 'prettier packages',
matchPackageNames: [
'@prettier/plugin-xml',
'prettier',
],
},
{
// Use custom regex versioning for Bitnami Docker images
versioning: 'regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(:?-(?<compatibility>.+)(?<build>\\d+)-r(?<revision>\\d+))?$',
matchPackageNames: [
'docker.io/bitnami/spark',
],
},
{
// Only allow Node.js to upgrade to LTS versions
allowedVersions: '/^(\\d*[02468])\\..+$/',
matchPackageNames: [
'docker.io/node',
'node',
],
},
{
// Only allow .NET SDK to upgrade to LTS versions
allowedVersions: '/^(\\d*[02468])\\..+$/',
matchPackageNames: [
'dotnet-sdk',
],
},
],
}