Skip to content

Commit 5102a2e

Browse files
fix(scaffold): ignore vitest major bumps in new mcp-servers (#99)
* fix(scaffold): ignore vitest major bumps in new mcp-servers A vitest 4 lockfile rewrite already broke npm ci on an existing server; new repos should ship the same ignore. Signed-off-by: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com> * fix: sync docs footer to VERSION 1.19.1 Signed-off-by: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com> --------- Signed-off-by: fOuttaMyPaint <154358121+TMHSDigital@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 947ceb3 commit 5102a2e

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.19.0
1+
1.19.1

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ <h3>Scaffold Generator</h3>
345345
</div>
346346
<div class="footer-divider"></div>
347347
<div class="footer-meta">
348-
<span id="footerVersion">v1.19.0</span>
348+
<span id="footerVersion">v1.19.1</span>
349349
<span>&middot;</span>
350350
<span>CC-BY-NC-ND-4.0</span>
351351
<span>&middot;</span>

scaffold/templates/dependabot.yml.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ updates:
2222
# of the supported runtimes.
2323
- dependency-name: "@types/node"
2424
versions: [">=23"]
25+
# Hold vitest 3.x. A 4.x bump rewrote the lockfile without optional
26+
# esbuild platform packages, so npm ci failed. Major upgrades stay manual.
27+
- dependency-name: "vitest"
28+
update-types: ["version-update:semver-major"]
2529
{% endif %}
2630
{% if has_mcp %}
2731
- package-ecosystem: "pip"

tests/test_scaffold_born_green.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ def test_deployed_service_shape(rendered):
338338
assert "gh workflow run publish.yml" in (
339339
library / ".github" / "workflows" / "release.yml"
340340
).read_text(encoding="utf-8")
341+
dep = (library / ".github" / "dependabot.yml").read_text(encoding="utf-8")
342+
assert 'dependency-name: "vitest"' in dep
343+
assert "version-update:semver-major" in dep
341344

342345

343346
def _make_temp_registry_root(tmp_path: Path) -> Path:

0 commit comments

Comments
 (0)