forked from linuz90/claude-telegram-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
67 lines (67 loc) · 3.2 KB
/
Copy pathrenovate.json
File metadata and controls
67 lines (67 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":automergeRequireAllStatusChecks"],
"schedule": ["after 6pm and before 11pm"],
"dependencyDashboard": true,
"timezone": "Europe/London",
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
"packageRules": [
{
"description": "grammY core + plugins move in lockstep: the plugins peer-depend on grammy ^1.x, so a grammy major breaks all three until they ship matching majors.",
"matchPackageNames": [
"grammy",
"@grammyjs/auto-retry",
"@grammyjs/files",
"@grammyjs/runner"
],
"groupName": "grammy"
},
{
"description": "Automerge non-major runtime deps — CI (typecheck + compile + test) gates every merge.",
"matchDepTypes": ["dependencies"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"description": "Automerge devDependencies (types/tooling).",
"matchDepTypes": ["devDependencies"],
"automerge": true
},
{
"description": "Automerge GitHub Actions bumps.",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch", "digest"],
"automerge": true
},
{
"description": "Majors get a manual PR + a 3-day soak (a yanked/re-tagged release settles before it's offered) — a green test run still misses runtime behavior changes. Patch/minor auto-merge with no soak (CI-gated).",
"matchUpdateTypes": ["major"],
"minimumReleaseAge": "3 days",
"automerge": false
},
{
"description": "Anthropic Agent SDK stack — grouped + manual. agent-sdk peers @modelcontextprotocol/sdk ^1.29 and zod ^4 (so zod's major is pinned by it); it is 0.x, so minors are breaking, and tests miss runtime paths (setModel saga). Review by hand. Listed last so it overrides the automerge rules above.",
"matchPackageNames": ["@anthropic-ai/claude-agent-sdk", "@modelcontextprotocol/sdk", "zod"],
"groupName": "anthropic-ai sdk stack",
"automerge": false
},
{
"description": "bunfig.toml quarantines any npm release younger than 7 days (minimumReleaseAge). Renovate must not offer one: bun then refuses to resolve the new pin, the lock-file update fails, and the PR lands a package.json bump with no matching lock entry (prettier 3.9.7, #109). Keep this number equal to bunfig's. Placed after the major rule so it overrides that 3-day soak for bun deps.",
"matchManagers": ["bun"],
"minimumReleaseAge": "7 days"
},
{
"description": "Mirrors minimumReleaseAgeExcludes in bunfig.toml — bun does not quarantine the Agent SDK, so gating it here would only delay it.",
"matchPackageNames": ["@anthropic-ai/claude-agent-sdk"],
"minimumReleaseAge": "0 days"
},
{
"description": "Pin @types/node to the Node 24 LTS line. Bun targets Node 24, so the types must match; a mismatch surfaces APIs Bun doesn't implement. @types/node is an `overrides` entry (Renovate manages overrides as deps and kept proposing the v26 major), so cap it here — 24.x patches/minors still flow.",
"matchPackageNames": ["@types/node"],
"allowedVersions": "<25"
}
]
}