-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.jsonc
More file actions
33 lines (33 loc) · 1.55 KB
/
Copy pathrenovate.jsonc
File metadata and controls
33 lines (33 loc) · 1.55 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>WillBooster/willbooster-configs:renovate.jsonc"],
"packageRules": [
{
// tree-sitter-cli provides only the DSL types that type-check grammar.js. The CLI of WillBooster/tree-sitter 1.x,
// which generates the parser, takes tree-sitter 0.27's DSL.
"matchPackageNames": ["tree-sitter-cli"],
"allowedVersions": "0.27.x",
},
{
// The Wasm tests run on @willbooster/web-tree-sitter, and the Rust tests, the fuzz job, and script/tree-sitter,
// which generates, builds, and tests the parser, on the version of willbooster-tree-sitter that Cargo.lock locks.
// Both are the same runtime, so they are updated together.
"matchPackageNames": ["@willbooster/web-tree-sitter", "willbooster-tree-sitter"],
"groupName": "tree-sitter",
},
{
// The preset exempts @willbooster npm packages, including @willbooster/web-tree-sitter, from its release-age
// gate but not this crate, which is released from the same commit; without this rule the grouped update would
// bump the npm runtime a week before the crate.
"matchDatasources": ["crate"],
"matchPackageNames": ["willbooster-tree-sitter"],
"minimumReleaseAge": "0 days",
},
{
// grammar.js extends @willbooster/tree-sitter-c, so a bump changes the generated parser and needs a
// regenerated src/, which Renovate cannot produce.
"matchPackageNames": ["@willbooster/tree-sitter-c"],
"enabled": false,
},
],
}