-
Notifications
You must be signed in to change notification settings - Fork 365
Release
Mike Daines edited this page Dec 17, 2025
·
5 revisions
This page documents the process of releasing the @viz-js/viz package. The commands are meant to be run on a local checkout of the repository.
I plan to change this at some point to use a workflow triggered by creating a release tag.
git switch v3
git pull
npm version minor --workspace packages/viz
Note the version for later steps.
Only the packages/viz version should change. Dependencies should be updated separately.
git diff package-lock.json
Use the version number of this release instead of "Unreleased"
Where X-Y-Z is the version spelled with hyphens instead of periods:
git switch -c viz-prepare-release-X-Y-Z
Where X.Y.Z is the version:
git add package-lock.json packages/viz/package.json packages/viz/CHANGELOG.md
git commit -m "Release @viz-js/viz X.Y.Z"
git push --set-upstream origin HEAD
Verify that the workflow will use the release commit.