Skip to content

Commit 21231af

Browse files
chore(config): migrate renovate config (#218)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 83672cb commit 21231af

File tree

1 file changed

+66
-48
lines changed

1 file changed

+66
-48
lines changed

.github/renovate.json5

Lines changed: 66 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,84 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["config:recommended", "schedule:weekly"],
4-
"ignorePaths": ["**/tests/**", "**/node_modules/**"],
5-
"packageRules": [
6-
// Use chore as semantic commit type for commit messages
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
extends: [
4+
'config:recommended',
5+
'schedule:weekly',
6+
],
7+
ignorePaths: [
8+
'**/tests/**',
9+
'**/node_modules/**',
10+
],
11+
packageRules: [
712
{
8-
"matchPackagePatterns": ["*"],
9-
"semanticCommitType": "chore",
10-
// always bump package.json
11-
"rangeStrategy": "bump"
13+
semanticCommitType: 'chore',
14+
rangeStrategy: 'bump',
15+
matchPackageNames: [
16+
'*',
17+
],
1218
},
1319
{
14-
"groupName": "rspack",
15-
"packagePatterns": ["rspack"],
16-
"groupSlug": "rspack"
20+
groupName: 'rspack',
21+
groupSlug: 'rspack',
22+
matchPackageNames: [
23+
'/rspack/',
24+
],
1725
},
1826
{
19-
"groupName": "rsbuild",
20-
"packagePatterns": ["rsbuild"],
21-
"groupSlug": "rsbuild"
27+
groupName: 'rsbuild',
28+
groupSlug: 'rsbuild',
29+
matchPackageNames: [
30+
'/rsbuild/',
31+
],
2232
},
2333
{
24-
"groupName": "rspress",
25-
"packagePatterns": ["rspress"],
26-
"groupSlug": "rspress"
34+
groupName: 'rspress',
35+
groupSlug: 'rspress',
36+
matchPackageNames: [
37+
'/rspress/',
38+
],
2739
},
2840
{
29-
"groupName": "rsdoctor",
30-
"packagePatterns": ["rsdoctor"],
31-
"groupSlug": "rsdoctor"
41+
groupName: 'rsdoctor',
42+
groupSlug: 'rsdoctor',
43+
matchPackageNames: [
44+
'/rsdoctor/',
45+
],
3246
},
3347
{
34-
"groupName": "types",
35-
"packagePatterns": ["^@types/"],
36-
"groupSlug": "types"
48+
groupName: 'types',
49+
groupSlug: 'types',
50+
matchPackageNames: [
51+
'/^@types//',
52+
],
3753
},
3854
{
39-
"groupName": "all non-major dependencies",
40-
"groupSlug": "all-non-major",
41-
"matchPackagePatterns": ["*"],
42-
"matchUpdateTypes": ["patch", "minor"]
55+
groupName: 'all non-major dependencies',
56+
groupSlug: 'all-non-major',
57+
matchUpdateTypes: [
58+
'patch',
59+
'minor',
60+
],
61+
matchPackageNames: [
62+
'*',
63+
],
4364
},
44-
// manually update peer dependencies
4565
{
46-
"depTypeList": ["peerDependencies"],
47-
"enabled": false
48-
}
66+
matchDepTypes: [
67+
'peerDependencies',
68+
],
69+
enabled: false,
70+
},
71+
],
72+
ignoreDeps: [
73+
'vue',
74+
'vue-loader',
75+
'globby',
76+
'open',
77+
'strip-ansi',
78+
'ansi-escapes',
79+
'cli-truncate',
80+
'patch-console',
81+
'babel-plugin-react-compiler',
82+
'@tailwindcss/postcss',
4983
],
50-
"ignoreDeps": [
51-
// vue 2 and vue-loader v15
52-
"vue",
53-
"vue-loader",
54-
// pure esm packages can not be used now
55-
"globby",
56-
"open",
57-
"strip-ansi",
58-
"ansi-escapes",
59-
"cli-truncate",
60-
"patch-console",
61-
// does not follow semver
62-
"babel-plugin-react-compiler",
63-
// canary package
64-
"@tailwindcss/postcss"
65-
]
6684
}

0 commit comments

Comments
 (0)