Skip to content

Commit 2021490

Browse files
committed
refactor: trim duplicated rationale in the Renovate preset and docs
The rule-level description restated the preset's top-level description; keep only the fact stated nowhere else (why minimumReleaseAge and schedule are pinned on the group). The CI guide now names all four commands the skew guard fails, not just build and test.
1 parent e827376 commit 2021490

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

default.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Shared Renovate preset for Vite+ projects: keeps vite-plus, the vite catalog alias (@voidzero-dev/vite-plus-core), and the pinned vitest family in one grouped update. Consume with \"extends\": [\"github>voidzero-dev/vite-plus\"].",
44
"packageRules": [
55
{
6-
"description": "vite-plus and @voidzero-dev/vite-plus-* are published together at one version, and vp pins vitest (plus aligned @vitest/* providers) to the version bundled in vite-plus. One grouped PR keeps the set in lockstep. Explicit minimumReleaseAge and schedule give every member one eligibility policy, so another preset cannot hold one member back and split the group.",
6+
"description": "Explicit minimumReleaseAge and schedule give every member one eligibility policy, so another preset cannot hold one member back and split the group.",
77
"groupName": "vite+",
88
"matchPackageNames": ["vite-plus", "@voidzero-dev/vite-plus-*", "vitest", "@vitest/*"],
99
"minimumReleaseAge": "1 day",

docs/guide/ci.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ These settings apply only to GitHub Actions workflows. For GitLab CI/CD and Azur
3939

4040
## Dependency Update Bots
4141

42-
`vp create` and `vp migrate` write two npm entries that must stay on one version: the `vite-plus` dependency and the `vite` alias (`npm:@voidzero-dev/vite-plus-core@<version>`). Projects that use `vp test` also carry a `vitest` override pinned to the version bundled in Vite+. A dependency bot sees unrelated packages and updates each one in its own PR. Either PR leaves the project on a Vite+ pairing that was never published together, and `vp build` and `vp test` fail on the mismatch.
42+
`vp create` and `vp migrate` write two npm entries that must stay on one version: the `vite-plus` dependency and the `vite` alias (`npm:@voidzero-dev/vite-plus-core@<version>`). Projects that use `vp test` also carry a `vitest` override pinned to the version bundled in Vite+. A dependency bot sees unrelated packages and updates each one in its own PR. Either PR leaves the project on a Vite+ pairing that was never published together, and `vp dev`, `vp build`, `vp preview`, and `vp test` fail on the mismatch.
4343

4444
Configure your bot to update these packages in one grouped PR.
4545

0 commit comments

Comments
 (0)