Skip to content

chore: fix release scripts after VitePress migration#2747

Merged
mroderick merged 2 commits into
mainfrom
fix-release-scripts
Jul 20, 2026
Merged

chore: fix release scripts after VitePress migration#2747
mroderick merged 2 commits into
mainfrom
fix-release-scripts

Conversation

@mroderick

Copy link
Copy Markdown
Member

Summary

The npm version lifecycle was broken after the VitePress docs migration. This PR updates the release hooks so a new release can be published again.

Changes

  • scripts/preversion.sh: replace the missing npm run test-runnable-examples step with npm --prefix docs run test:docs, which exercises the VitePress documentation examples.
  • scripts/version.sh: remove the Jekyll-specific steps that referenced deleted files (docs/_config.yml, docs/changelog.md) and the obsolete scripts/set-release-id-in-config-yml.cjs / scripts/update-changelog-page.sh. The hook now only updates and stages CHANGES.md.

Verification

  • bash -n scripts/preversion.sh scripts/version.sh
  • npm --prefix docs run test:docs — 732 passing
  • npm run test-node — 1556 passing, 12 pending

@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.44%. Comparing base (d36e921) to head (e93ead6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2747   +/-   ##
=======================================
  Coverage   97.44%   97.44%           
=======================================
  Files          39       39           
  Lines        1839     1839           
=======================================
  Hits         1792     1792           
  Misses         47       47           
Flag Coverage Δ
unit 97.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mroderick
mroderick marked this pull request as ready for review July 20, 2026 17:47
@mroderick
mroderick merged commit bb3b75a into main Jul 20, 2026
17 checks passed
@mroderick
mroderick deleted the fix-release-scripts branch July 20, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants