Skip to content

Commit 0633e2b

Browse files
chore(config): migrate config renovate.json5 (#6241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent c74bf5e commit 0633e2b

File tree

1 file changed

+39
-84
lines changed

1 file changed

+39
-84
lines changed

renovate.json5

+39-84
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,66 @@
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-
*/
71
{
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: [
177
{
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"],
2410
},
2511
{
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/{/,}**"],
3415
},
3516
{
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/{/,}**"],
4420
},
4521
{
46-
"groupName": "pothos monorepo",
47-
"groupSlug": "pothos",
48-
"matchPackagePrefixes": [
49-
"@pothos/"
50-
]
22+
groupName: "pothos monorepo",
23+
groupSlug: "pothos",
24+
matchPackageNames: ["@pothos/{/,}**"],
5125
},
5226
{
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/{/,}**"],
6130
},
6231
{
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/{/,}**"],
6835
},
6936
{
70-
"groupName": "cache-interop monorepo",
71-
"groupSlug": "cache-interop",
72-
"matchPackageNames": [
37+
groupName: "cache-interop monorepo",
38+
groupSlug: "cache-interop",
39+
matchPackageNames: [
7340
"@soluble/dsn-parser",
7441
"@soluble/cache-ioredis",
7542
"@soluble/cache-redis",
76-
"@soluble/cache-interop"
43+
"@soluble/cache-interop",
7744
],
7845
},
7946
{
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",
8650
},
8751
{
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",
9455
},
9556
{
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",
10260
},
10361
{
104-
// All dev deps
105-
"matchDepTypes": [
106-
"devDependencies"
107-
],
108-
"rangeStrategy": "auto"
109-
}
110-
]
62+
matchDepTypes: ["devDependencies"],
63+
rangeStrategy: "auto",
64+
},
65+
],
11166
}

0 commit comments

Comments
 (0)