-
-
Notifications
You must be signed in to change notification settings - Fork 788
Expand file tree
/
Copy pathrenovate.json5
More file actions
152 lines (152 loc) · 3.83 KB
/
renovate.json5
File metadata and controls
152 lines (152 loc) · 3.83 KB
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
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
timezone: 'Asia/Shanghai',
extends: [':dependencyDashboard', 'helpers:pinGitHubActionDigests'],
schedule: ['before 8am on saturday'],
enabledManagers: ['github-actions', 'cargo', 'npm'],
ignorePaths: [
'**/fixtures/**',
'**/no-override-loaded/**',
'**/share-plugin-dual-mode/**',
'**/resolve-plugin-context/**',
],
labels: ['dependencies'],
packageRules: [
// manually update peer dependencies
{
depTypeList: ['peerDependencies'],
enabled: false,
},
{
matchPackagePatterns: ['*'],
semanticCommitType: 'chore',
// always bump package.json
rangeStrategy: 'bump',
},
{
groupName: 'patch crates',
matchManagers: ['cargo'],
excludePackagePrefixes: ['swc', 'napi'],
excludePackageNames: [
'ustr',
'textwrap',
'owo-colors',
'miette',
'rkyv',
'rspack_resolver',
'inventory',
],
matchUpdateTypes: ['patch'],
},
{
groupName: 'swc',
matchManagers: ['cargo'],
matchPackagePrefixes: ['swc'],
},
{
groupName: 'napi',
matchPackagePrefixes: ['napi', '@napi-rs/'],
},
// Rspack npm packages
{
groupName: 'Rspack',
matchManagers: ['npm'],
matchPackageNames: ['/^@rspack/'],
},
// Babel npm packages
{
groupName: 'babel',
matchManagers: ['npm'],
matchPackageNames: ['/babel/'],
},
// React npm packages
{
groupName: 'React',
matchManagers: ['npm'],
matchPackageNames: ['/react/'],
},
// SWC npm packages
{
groupName: 'SWC',
matchManagers: ['npm'],
matchPackageNames: ['/^@swc/'],
},
// Rspack crates
{
groupName: 'crate rspack_resolver',
matchManagers: ['cargo'],
matchPackageNames: ['rspack_resolver'],
},
{
groupName: 'ignored crates',
matchManagers: ['cargo'],
matchPackageNames: [
'ustr',
'textwrap',
'owo-colors',
'miette',
'rkyv',
'inventory',
'rspack-sources',
],
enabled: false,
},
{
groupName: 'ignored indexmap',
matchManagers: ['cargo'],
matchFileNames: ['crates/rspack_plugin_css/Cargo.toml'],
matchPackageNames: ['indexmap'],
enabled: false,
},
{
groupName: 'ignored linting crates',
matchManagers: ['cargo'],
matchFileNames: ['linting/**/Cargo.toml'],
enabled: false,
},
{
groupName: 'patch npm dependencies',
matchManagers: ['npm'],
matchDepTypes: ['dependencies', 'devDependencies'],
excludePackagePrefixes: ['webpack'],
excludePackageNames: ['typescript', '@playwright/test', '@rslint/core'],
// bump major and minor in a separate PR
matchUpdateTypes: ['patch'],
},
{
// should update the playwright image in .github/workflows/reusable-build.yml
groupName: 'playwright',
matchManagers: ['npm'],
matchPackagePrefixes: ['@playwright/test'],
},
// Disable Node.js updates
{
groupName: 'node',
matchPackageNames: ['node'],
enabled: false,
},
{
groupName: 'github-actions',
matchManagers: ['github-actions'],
excludePackageNames: [
'actions/upload-artifact',
'actions/download-artifact',
'lynx-infra/download-artifact',
'lynx-infra/upload-artifact',
'rstackjs/rust-cache',
],
},
{
groupName: 'manually managed github-actions',
matchManagers: ['github-actions'],
matchPackageNames: [
'actions/upload-artifact',
'actions/download-artifact',
'lynx-infra/download-artifact',
'lynx-infra/upload-artifact',
'rstackjs/rust-cache',
],
enabled: false,
},
],
}