|
1 | 1 | { |
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/**'], |
5 | 5 | packageRules: [ |
| 6 | + // Use chore as semantic commit type for commit messages |
6 | 7 | { |
7 | | - matchPackageNames: ["**"], |
8 | | - semanticCommitType: "chore", |
9 | | - rangeStrategy: "bump", |
| 8 | + matchPackageNames: ['**'], |
| 9 | + semanticCommitType: 'chore', |
| 10 | + // always bump package.json |
| 11 | + rangeStrategy: 'bump', |
10 | 12 | }, |
11 | 13 | { |
12 | | - groupName: "babel", |
13 | | - matchPackageNames: ["**babel**"], |
14 | | - groupSlug: "babel", |
| 14 | + groupName: 'babel', |
| 15 | + matchPackageNames: ['**babel**'], |
| 16 | + groupSlug: 'babel', |
15 | 17 | }, |
16 | 18 | { |
17 | | - groupName: "rsbuild", |
18 | | - matchPackageNames: ["@rsbuild/**"], |
19 | | - groupSlug: "rsbuild", |
20 | | - extends: ["schedule:daily"], |
| 19 | + groupName: 'rsbuild', |
| 20 | + matchPackageNames: ['@rsbuild/**'], |
| 21 | + groupSlug: 'rsbuild', |
| 22 | + extends: ['schedule:daily'], |
21 | 23 | }, |
22 | 24 | { |
23 | | - groupName: "rslib", |
24 | | - matchPackageNames: ["rslib"], |
25 | | - groupSlug: "rslib", |
26 | | - extends: ["schedule:daily"], |
| 25 | + groupName: 'rslib', |
| 26 | + matchPackageNames: ['rslib'], |
| 27 | + groupSlug: 'rslib', |
| 28 | + extends: ['schedule:daily'], |
27 | 29 | }, |
28 | 30 | { |
29 | | - groupName: "rspress", |
30 | | - matchPackageNames: ["@rspress/**"], |
31 | | - groupSlug: "rspress", |
32 | | - extends: ["schedule:daily"], |
| 31 | + groupName: 'rspress', |
| 32 | + matchPackageNames: ['@rspress/**'], |
| 33 | + groupSlug: 'rspress', |
| 34 | + extends: ['schedule:daily'], |
33 | 35 | }, |
34 | 36 | { |
35 | | - groupName: "modern-js", |
36 | | - matchPackageNames: ["@modern-js/**"], |
37 | | - groupSlug: "modern-js", |
| 37 | + groupName: 'modern-js', |
| 38 | + matchPackageNames: ['@modern-js/**'], |
| 39 | + groupSlug: 'modern-js', |
38 | 40 | }, |
39 | 41 | { |
40 | | - groupName: "types", |
41 | | - matchPackageNames: ["@types/**"], |
42 | | - groupSlug: "types", |
| 42 | + groupName: 'types', |
| 43 | + matchPackageNames: ['@types/**'], |
| 44 | + groupSlug: 'types', |
43 | 45 | }, |
44 | 46 | { |
45 | | - groupName: "all patch dependencies", |
46 | | - groupSlug: "all-patch", |
47 | | - matchPackageNames: ["**"], |
48 | | - matchUpdateTypes: ["patch"], |
| 47 | + groupName: 'all patch dependencies', |
| 48 | + groupSlug: 'all-patch', |
| 49 | + matchPackageNames: ['**'], |
| 50 | + matchUpdateTypes: ['patch'], |
49 | 51 | }, |
| 52 | + // manually update peer dependencies |
50 | 53 | { |
51 | | - matchDepTypes: ["peerDependencies"], |
| 54 | + matchDepTypes: ['peerDependencies'], |
52 | 55 | enabled: false, |
53 | 56 | }, |
54 | 57 | ], |
55 | 58 | ignoreDeps: [ |
56 | | - "pnpm", |
57 | | - "@rspack/core", |
58 | | - "@rspack/core-canary", |
59 | | - "@types/node", |
60 | | - "node", |
61 | | - "react-aliased", |
| 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', |
62 | 68 | ], |
63 | | - postUpdateOptions: ["pnpmDedupe"], |
| 69 | + postUpdateOptions: ['pnpmDedupe'], |
64 | 70 | } |
0 commit comments