|
1 |
| -/** |
2 |
| - * Renovatebot config and overrides for the monorepo |
3 |
| - * |
4 |
| - * - https://docs.renovatebot.com/configuration-options/ |
5 |
| - * - https://docs.renovatebot.com/presets-default/ |
6 |
| - */ |
7 | 1 | {
|
8 |
| - "extends": ["config:base"], |
9 |
| - "enabled": true, |
10 |
| - "enabledManagers": ["npm", "docker-compose", "dockerfile", "github-actions"], |
11 |
| - "postUpdateOptions": [ |
12 |
| - // https://docs.renovatebot.com/configuration-options/#postupdateoptions |
13 |
| - // Will run yarn dedupe --strategy highest |
14 |
| - 'yarnDedupeHighest' |
15 |
| - ], |
16 |
| - "packageRules": [ |
| 2 | + extends: ["config:recommended"], |
| 3 | + enabled: true, |
| 4 | + enabledManagers: ["npm", "docker-compose", "dockerfile", "github-actions"], |
| 5 | + postUpdateOptions: ["yarnDedupeHighest"], |
| 6 | + packageRules: [ |
17 | 7 | {
|
18 |
| - // Disabled packages, see why in .ncurc.yml |
19 |
| - "enabled": false, |
20 |
| - "matchPackageNames": [ |
21 |
| - "is-port-reachable", |
22 |
| - "execa", |
23 |
| - ], |
| 8 | + enabled: false, |
| 9 | + matchPackageNames: ["is-port-reachable", "execa"], |
24 | 10 | },
|
25 | 11 | {
|
26 |
| - "groupName": "vitest monorepo", |
27 |
| - "groupSlug": "vitest", |
28 |
| - "matchPackageNames": [ |
29 |
| - "vitest", |
30 |
| - ], |
31 |
| - "matchPackagePrefixes": [ |
32 |
| - "@vitest/" |
33 |
| - ] |
| 12 | + groupName: "vitest monorepo", |
| 13 | + groupSlug: "vitest", |
| 14 | + matchPackageNames: ["vitest", "@vitest/{/,}**"], |
34 | 15 | },
|
35 | 16 | {
|
36 |
| - "groupName": "remix monorepo", |
37 |
| - "groupSlug": "remix", |
38 |
| - "matchPackageNames": [ |
39 |
| - "remix", |
40 |
| - ], |
41 |
| - "matchPackagePrefixes": [ |
42 |
| - "@remix-run/" |
43 |
| - ] |
| 17 | + groupName: "remix monorepo", |
| 18 | + groupSlug: "remix", |
| 19 | + matchPackageNames: ["remix", "@remix-run/{/,}**"], |
44 | 20 | },
|
45 | 21 | {
|
46 |
| - "groupName": "pothos monorepo", |
47 |
| - "groupSlug": "pothos", |
48 |
| - "matchPackagePrefixes": [ |
49 |
| - "@pothos/" |
50 |
| - ] |
| 22 | + groupName: "pothos monorepo", |
| 23 | + groupSlug: "pothos", |
| 24 | + matchPackageNames: ["@pothos/{/,}**"], |
51 | 25 | },
|
52 | 26 | {
|
53 |
| - "groupName": "tailwind monorepo", |
54 |
| - "groupSlug": "tailwind", |
55 |
| - "matchPackageNames": [ |
56 |
| - "remix", |
57 |
| - ], |
58 |
| - "matchPackagePrefixes": [ |
59 |
| - "@tailwindcss/" |
60 |
| - ] |
| 27 | + groupName: "tailwind monorepo", |
| 28 | + groupSlug: "tailwind", |
| 29 | + matchPackageNames: ["remix", "@tailwindcss/{/,}**"], |
61 | 30 | },
|
62 | 31 | {
|
63 |
| - "groupName": "graphql-mesh monorepo", |
64 |
| - "groupSlug": "graphql-mesh", |
65 |
| - "matchPackagePrefixes": [ |
66 |
| - "@graphql-mesh/" |
67 |
| - ] |
| 32 | + groupName: "graphql-mesh monorepo", |
| 33 | + groupSlug: "graphql-mesh", |
| 34 | + matchPackageNames: ["@graphql-mesh/{/,}**"], |
68 | 35 | },
|
69 | 36 | {
|
70 |
| - "groupName": "cache-interop monorepo", |
71 |
| - "groupSlug": "cache-interop", |
72 |
| - "matchPackageNames": [ |
| 37 | + groupName: "cache-interop monorepo", |
| 38 | + groupSlug: "cache-interop", |
| 39 | + matchPackageNames: [ |
73 | 40 | "@soluble/dsn-parser",
|
74 | 41 | "@soluble/cache-ioredis",
|
75 | 42 | "@soluble/cache-redis",
|
76 |
| - "@soluble/cache-interop" |
| 43 | + "@soluble/cache-interop", |
77 | 44 | ],
|
78 | 45 | },
|
79 | 46 | {
|
80 |
| - // Root package.json |
81 |
| - "matchFiles": ["package.json"], |
82 |
| - "matchDepTypes": [ |
83 |
| - "dependencies", |
84 |
| - ], |
85 |
| - "rangeStrategy": "pin" |
| 47 | + matchFileNames: ["package.json"], |
| 48 | + matchDepTypes: ["dependencies"], |
| 49 | + rangeStrategy: "pin", |
86 | 50 | },
|
87 | 51 | {
|
88 |
| - // Will pin dependencies found in apps/*... |
89 |
| - "matchPaths": ["apps/**"], |
90 |
| - "matchDepTypes": [ |
91 |
| - "dependencies", |
92 |
| - ], |
93 |
| - "rangeStrategy": "pin" |
| 52 | + matchFileNames: ["apps/**"], |
| 53 | + matchDepTypes: ["dependencies"], |
| 54 | + rangeStrategy: "pin", |
94 | 55 | },
|
95 | 56 | {
|
96 |
| - // Will preserve semver found in packages/* |
97 |
| - "matchPaths": ["packages/**"], |
98 |
| - "matchDepTypes": [ |
99 |
| - "dependencies", |
100 |
| - ], |
101 |
| - "rangeStrategy": "replace" |
| 57 | + matchFileNames: ["packages/**"], |
| 58 | + matchDepTypes: ["dependencies"], |
| 59 | + rangeStrategy: "replace", |
102 | 60 | },
|
103 | 61 | {
|
104 |
| - // All dev deps |
105 |
| - "matchDepTypes": [ |
106 |
| - "devDependencies" |
107 |
| - ], |
108 |
| - "rangeStrategy": "auto" |
109 |
| - } |
110 |
| - ] |
| 62 | + matchDepTypes: ["devDependencies"], |
| 63 | + rangeStrategy: "auto", |
| 64 | + }, |
| 65 | + ], |
111 | 66 | }
|
0 commit comments