|
1 | 1 | {
|
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: [ |
7 | 12 | {
|
8 |
| - "matchPackagePatterns": ["*"], |
9 |
| - "semanticCommitType": "chore", |
10 |
| - // always bump package.json |
11 |
| - "rangeStrategy": "bump" |
| 13 | + semanticCommitType: 'chore', |
| 14 | + rangeStrategy: 'bump', |
| 15 | + matchPackageNames: [ |
| 16 | + '*', |
| 17 | + ], |
12 | 18 | },
|
13 | 19 | {
|
14 |
| - "groupName": "rspack", |
15 |
| - "packagePatterns": ["rspack"], |
16 |
| - "groupSlug": "rspack" |
| 20 | + groupName: 'rspack', |
| 21 | + groupSlug: 'rspack', |
| 22 | + matchPackageNames: [ |
| 23 | + '/rspack/', |
| 24 | + ], |
17 | 25 | },
|
18 | 26 | {
|
19 |
| - "groupName": "rsbuild", |
20 |
| - "packagePatterns": ["rsbuild"], |
21 |
| - "groupSlug": "rsbuild" |
| 27 | + groupName: 'rsbuild', |
| 28 | + groupSlug: 'rsbuild', |
| 29 | + matchPackageNames: [ |
| 30 | + '/rsbuild/', |
| 31 | + ], |
22 | 32 | },
|
23 | 33 | {
|
24 |
| - "groupName": "rspress", |
25 |
| - "packagePatterns": ["rspress"], |
26 |
| - "groupSlug": "rspress" |
| 34 | + groupName: 'rspress', |
| 35 | + groupSlug: 'rspress', |
| 36 | + matchPackageNames: [ |
| 37 | + '/rspress/', |
| 38 | + ], |
27 | 39 | },
|
28 | 40 | {
|
29 |
| - "groupName": "rsdoctor", |
30 |
| - "packagePatterns": ["rsdoctor"], |
31 |
| - "groupSlug": "rsdoctor" |
| 41 | + groupName: 'rsdoctor', |
| 42 | + groupSlug: 'rsdoctor', |
| 43 | + matchPackageNames: [ |
| 44 | + '/rsdoctor/', |
| 45 | + ], |
32 | 46 | },
|
33 | 47 | {
|
34 |
| - "groupName": "types", |
35 |
| - "packagePatterns": ["^@types/"], |
36 |
| - "groupSlug": "types" |
| 48 | + groupName: 'types', |
| 49 | + groupSlug: 'types', |
| 50 | + matchPackageNames: [ |
| 51 | + '/^@types//', |
| 52 | + ], |
37 | 53 | },
|
38 | 54 | {
|
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 | + ], |
43 | 64 | },
|
44 |
| - // manually update peer dependencies |
45 | 65 | {
|
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', |
49 | 83 | ],
|
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 |
| - ] |
66 | 84 | }
|
0 commit comments