Skip to content

Commit d09f4a4

Browse files
chore(config): migrate config .github/renovate.json5
1 parent 9c9e2aa commit d09f4a4

File tree

1 file changed

+39
-45
lines changed

1 file changed

+39
-45
lines changed

.github/renovate.json5

Lines changed: 39 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,64 @@
11
{
2-
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3-
extends: ['config:recommended', 'schedule:weekly'],
4-
ignorePaths: ['**/node_modules/**'],
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
extends: ["config:recommended", "schedule:weekly"],
4+
ignorePaths: ["**/node_modules/**"],
55
packageRules: [
6-
// Use chore as semantic commit type for commit messages
76
{
8-
matchPackageNames: ['**'],
9-
semanticCommitType: 'chore',
10-
// always bump package.json
11-
rangeStrategy: 'bump',
7+
matchPackageNames: ["**"],
8+
semanticCommitType: "chore",
9+
rangeStrategy: "bump",
1210
},
1311
{
14-
groupName: 'babel',
15-
matchPackageNames: ['**babel**'],
16-
groupSlug: 'babel',
12+
groupName: "babel",
13+
matchPackageNames: ["**babel**"],
14+
groupSlug: "babel",
1715
},
1816
{
19-
groupName: 'rsbuild',
20-
matchPackageNames: ['@rsbuild/**'],
21-
groupSlug: 'rsbuild',
22-
extends: ['schedule:daily'],
17+
groupName: "rsbuild",
18+
matchPackageNames: ["@rsbuild/**"],
19+
groupSlug: "rsbuild",
20+
extends: ["schedule:daily"],
2321
},
2422
{
25-
groupName: 'rslib',
26-
matchPackageNames: ['rslib'],
27-
groupSlug: 'rslib',
28-
extends: ['schedule:daily'],
23+
groupName: "rslib",
24+
matchPackageNames: ["rslib"],
25+
groupSlug: "rslib",
26+
extends: ["schedule:daily"],
2927
},
3028
{
31-
groupName: 'rspress',
32-
matchPackageNames: ['@rspress/**'],
33-
groupSlug: 'rspress',
34-
extends: ['schedule:daily'],
29+
groupName: "rspress",
30+
matchPackageNames: ["@rspress/**"],
31+
groupSlug: "rspress",
32+
extends: ["schedule:daily"],
3533
},
3634
{
37-
groupName: 'modern-js',
38-
matchPackageNames: ['@modern-js/**'],
39-
groupSlug: 'modern-js',
35+
groupName: "modern-js",
36+
matchPackageNames: ["@modern-js/**"],
37+
groupSlug: "modern-js",
4038
},
4139
{
42-
groupName: 'types',
43-
matchPackageNames: ['@types/**'],
44-
groupSlug: 'types',
40+
groupName: "types",
41+
matchPackageNames: ["@types/**"],
42+
groupSlug: "types",
4543
},
4644
{
47-
groupName: 'all patch dependencies',
48-
groupSlug: 'all-patch',
49-
matchPackageNames: ['**'],
50-
matchUpdateTypes: ['patch'],
45+
groupName: "all patch dependencies",
46+
groupSlug: "all-patch",
47+
matchPackageNames: ["**"],
48+
matchUpdateTypes: ["patch"],
5149
},
52-
// manually update peer dependencies
5350
{
54-
depTypeList: ['peerDependencies'],
51+
matchDepTypes: ["peerDependencies"],
5552
enabled: false,
5653
},
5754
],
5855
ignoreDeps: [
59-
// manually update some packages
60-
'pnpm',
61-
'@rspack/core',
62-
'@rspack/core-canary',
63-
// align Node.js version minimum requirements
64-
'@types/node',
65-
'node',
66-
// umd tests need to lock this version
67-
'react-aliased',
56+
"pnpm",
57+
"@rspack/core",
58+
"@rspack/core-canary",
59+
"@types/node",
60+
"node",
61+
"react-aliased",
6862
],
69-
postUpdateOptions: ['pnpmDedupe'],
63+
postUpdateOptions: ["pnpmDedupe"],
7064
}

0 commit comments

Comments
 (0)