forked from baseballyama/rsvelte
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
86 lines (86 loc) · 3.48 KB
/
Copy pathrenovate.json
File metadata and controls
86 lines (86 loc) · 3.48 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"customManagers": [
{
"description": "The Rust toolchain is pinned by an explicit `toolchain: X.Y.Z` input on every dtolnay/rust-toolchain step (see .github/workflows/*.yml). This tracks that single version string across all workflows so Renovate raises one PR to bump them together. The dtolnay action SHA itself is tracked by the standard github-actions manager via the `# master` comment.",
"customType": "regex",
"managerFilePatterns": [
"/^\\.github/workflows/.+\\.ya?ml$/"
],
"matchStrings": [
"toolchain: (?<currentValue>\\d+\\.\\d+\\.\\d+)"
],
"depNameTemplate": "rust",
"packageNameTemplate": "rust-lang/rust",
"datasourceTemplate": "github-releases"
}
],
"packageRules": [
{
"description": "The oxc AST/formatter stack is pinned to a single git rev (synced to the oxfmt release tag by the auto-update-oxfmt workflow); per-crate updates can never pass CI. The #1550 explicit matchPackageNames list still did not suppress the PRs (#1563/#1564) because for cargo GIT dependencies Renovate's packageName is the repository URL, not the crate name. Match on depName (crate name) AND on the repo-URL packageName, and disable all update types. oxc_resolver / oxc_sourcemap / oxc-miette / oxc_index stay Renovate-managed (registry deps, deliberately not listed).",
"matchManagers": [
"cargo"
],
"enabled": false,
"matchDepNames": [
"oxc_allocator",
"oxc_ast",
"oxc_ast_macros",
"oxc_ast_visit",
"oxc_codegen",
"oxc_data_structures",
"oxc_diagnostics",
"oxc_ecmascript",
"oxc_estree",
"oxc_formatter",
"oxc_formatter_core",
"oxc_formatter_css",
"oxc_formatter_json",
"oxc_jsdoc",
"oxc_parser",
"oxc_regular_expression",
"oxc_semantic",
"oxc_span",
"oxc_str",
"oxc_syntax"
]
},
{
"description": "The lint oracle must stay on the TypeScript major that @typescript-eslint/parser still declares as a peer (>=4.8.4 <6.1.0); a v7 bump makes `npm install` fail ERESOLVE and takes the whole Lint parity job down.",
"matchFileNames": [
"scripts/compat-corpus/lint-oracle/package.json"
],
"matchDepNames": [
"typescript"
],
"matchUpdateTypes": [
"major"
],
"enabled": false
},
{
"description": "Same suppression keyed on the git-source packageName (cargo git deps resolve packageName to the repo URL).",
"matchManagers": [
"cargo"
],
"matchPackageNames": [
"https://github.com/oxc-project/oxc"
],
"enabled": false
},
{
"description": "The npm `oxfmt` package (and its `@oxfmt/*` platform bindings) is bumped exclusively by the auto-update-oxfmt workflow, which also syncs the pinned `oxc_formatter` git rev in Cargo.toml to the matching `oxfmt_v<version>` oxc commit and honours a release-age stability window. A standalone Renovate bump (e.g. #1657) can never pass CI: it leaves the oxc rev on the old commit (rsvelte's native CSS formatting diverges from the delegated oxfmt oracle) and races the release-age policy. Disable all Renovate updates for it.",
"matchManagers": [
"npm"
],
"enabled": false,
"matchPackageNames": [
"oxfmt",
"@oxfmt/**"
]
}
]
}