Commit d67cc0c
committed
fix: split external dev dependencies into their own Renovate group
The `renovate/stability-days` status check is computed per branch, not per
package, so a single member still inside its minimum release age turns the
whole grouped branch yellow and blocks automerge. With every external
dependency in one group, that check is yellow most of the time.
Split dev dependencies out of `external fixes` and `external major` into
`external dev fixes` and `external dev major`. On helix-cli this halves the
group size (44 runtime vs 16 dev at the root manifest), so each group reaches
a fully-aged state far more often.
Uses `matchDepTypes` rather than package names, so the split reads npm's own
manifest sections and needs no maintenance as dependencies change. This is
Renovate's documented grouping idiom.
The two existing rules are left byte-for-byte unchanged. The new rules are
appended after them, so they override only `groupName` and inherit
`automerge`, `schedule` and `minimumReleaseAge` from the rule above. The
catch-all rules deliberately keep no `matchDepTypes`, so anything that is not
a devDependency -- runtime, optional and peer deps, npm `engines`, and every
non-npm manager such as github-actions or dockerfile -- keeps its grouping and
its 14-day minimum release age.
The 14-day window itself is unchanged.1 parent 92aa8bd commit d67cc0c
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
91 | 107 | | |
92 | 108 | | |
93 | 109 | | |
| |||
0 commit comments