Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
133 lines (133 loc) · 5.07 KB
/
Copy pathrenovate.json
File metadata and controls
133 lines (133 loc) · 5.07 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"labels": ["dependencies"],
"rangeStrategy": "bump",
"packageRules": [
{
"matchUpdateTypes": ["patch"],
"automerge": true
}
],
"customManagers": [
{
"customType": "regex",
"description": "Centralized JS/TS dep registry — only the `pinned` block in dependencies/versions.json is the source of truth. The outer matchString anchors on the `\"pinned\": { ... }` JSON object so doc fields ($schema, _comment, _notes) at the top level cannot produce bogus PRs. The inner matchString extracts each `\"depName\": \"version\"` pair. `npx syncpack fix-mismatches` propagates each bump to every package.json.",
"fileMatch": ["^dependencies/versions\\.json$"],
"matchStrings": [
"\"pinned\"\\s*:\\s*\\{(?<pinnedBlock>[\\s\\S]*?)\\}",
"\"(?<depName>(?:@[a-zA-Z0-9][-a-zA-Z0-9._]*\\/)?[a-zA-Z][-a-zA-Z0-9._]*)\"\\s*:\\s*\"(?<currentValue>[^\"]+)\""
],
"datasourceTemplate": "npm",
"matchStringsStrategy": "recursive"
},
{
"customType": "regex",
"description": "Native-toolchain pins in core/VERSIONS (shell KEY=VALUE) — GitHub-tag-sourced C/C++ deps. Keyed on concrete KEY names rather than the previous `# renovate:` annotation gate (no such annotations exist in the file, which made the manager match zero entries). LLAMACPP_VERSION tracks the canonical-first RunAnywhere fork and must retain its reviewed Maple/Apple compatibility delta.",
"fileMatch": ["^core/VERSIONS$"],
"matchStrings": [
"^LLAMACPP_VERSION=(?<currentValue>\\S+)"
],
"matchStringsStrategy": "any",
"depNameTemplate": "RunanywhereAI/llama.cpp",
"datasourceTemplate": "github-tags",
"versioningTemplate": "loose"
},
{
"customType": "regex",
"description": "USEARCH_VERSION → unum-cloud/usearch (GitHub tag).",
"fileMatch": ["^core/VERSIONS$"],
"matchStrings": [
"^USEARCH_VERSION=(?<currentValue>\\S+)"
],
"matchStringsStrategy": "any",
"depNameTemplate": "unum-cloud/usearch",
"datasourceTemplate": "github-tags",
"versioningTemplate": "loose"
},
{
"customType": "regex",
"description": "CPPHTTPLIB_VERSION → yhirose/cpp-httplib (GitHub tag).",
"fileMatch": ["^core/VERSIONS$"],
"matchStrings": [
"^CPPHTTPLIB_VERSION=(?<currentValue>\\S+)"
],
"matchStringsStrategy": "any",
"depNameTemplate": "yhirose/cpp-httplib",
"datasourceTemplate": "github-tags",
"versioningTemplate": "loose"
},
{
"customType": "regex",
"description": "ZLIB_VERSION → madler/zlib (GitHub tag).",
"fileMatch": ["^core/VERSIONS$"],
"matchStrings": [
"^ZLIB_VERSION=(?<currentValue>\\S+)"
],
"matchStringsStrategy": "any",
"depNameTemplate": "madler/zlib",
"datasourceTemplate": "github-tags",
"versioningTemplate": "loose"
},
{
"customType": "regex",
"description": "GOOGLETEST_VERSION → google/googletest (GitHub tag).",
"fileMatch": ["^core/VERSIONS$"],
"matchStrings": [
"^GOOGLETEST_VERSION=(?<currentValue>\\S+)"
],
"matchStringsStrategy": "any",
"depNameTemplate": "google/googletest",
"datasourceTemplate": "github-tags",
"versioningTemplate": "loose"
},
{
"customType": "regex",
"description": "TS_PROTO_VERSION → ts-proto (npm) — Renovate publishes PRs to bump the centralized pin, and idl-drift-check verifies generated bindings still match.",
"fileMatch": ["^core/VERSIONS$"],
"matchStrings": [
"^TS_PROTO_VERSION=(?<currentValue>\\S+)"
],
"matchStringsStrategy": "any",
"depNameTemplate": "ts-proto",
"datasourceTemplate": "npm",
"versioningTemplate": "loose"
},
{
"customType": "regex",
"description": "NLOHMANN_JSON_VERSION → nlohmann/json (GitHub tag).",
"fileMatch": ["^core/VERSIONS$"],
"matchStrings": [
"^NLOHMANN_JSON_VERSION=(?<currentValue>\\S+)"
],
"matchStringsStrategy": "any",
"depNameTemplate": "nlohmann/json",
"datasourceTemplate": "github-tags",
"versioningTemplate": "loose"
},
{
"customType": "regex",
"description": "PROTOBUF_VERSION → protocolbuffers/protobuf (GitHub tag).",
"fileMatch": ["^core/VERSIONS$"],
"matchStrings": [
"^PROTOBUF_VERSION=(?<currentValue>\\S+)"
],
"matchStringsStrategy": "any",
"depNameTemplate": "protocolbuffers/protobuf",
"datasourceTemplate": "github-tags",
"versioningTemplate": "loose"
},
{
"customType": "regex",
"description": "LIBARCHIVE_VERSION → libarchive/libarchive (GitHub tag).",
"fileMatch": ["^core/VERSIONS$"],
"matchStrings": [
"^LIBARCHIVE_VERSION=(?<currentValue>\\S+)"
],
"matchStringsStrategy": "any",
"depNameTemplate": "libarchive/libarchive",
"datasourceTemplate": "github-tags",
"versioningTemplate": "loose"
}
]
}