This document describes how to release new versions of the GRVT TypeScript SDK.
- Maintainer access to the repository
- Deno installed locally
- Repository secrets configured:
NPM_TOKENfor npm publishing- JSR uses OIDC (no token needed)
Before creating a release, ensure all checks pass locally:
# Format check
deno fmt --check
# Lint
deno lint
# Type check
deno check --doc
# Run tests
deno test -AUpdate the version in deno.json:
{
"version": "X.Y.Z"
}Commit the version bump:
git add deno.json
git commit -m "chore: bump version to X.Y.Z"
git push- Go to GitHub Releases
- Click "Choose a tag" and create a new tag matching your version (e.g.,
v0.1.0) - Set the release title (e.g.,
v0.1.0) - Write release notes describing changes
- For pre-releases, check "Set as a pre-release"
- Click "Publish release"
This triggers the publish workflows automatically:
- JSR: Publishes to
jsr:@wezzcoetzee/grvt - npm: Builds and publishes to
@wezzcoetzee/grvt
| Version Format | npm Tag | Example |
|---|---|---|
X.Y.Z |
latest |
1.0.0 |
X.Y.Z-alpha.N |
alpha |
1.0.0-alpha.1 |
X.Y.Z-beta.N |
beta |
1.0.0-beta.1 |
X.Y.Z-rc.N |
rc |
1.0.0-rc.1 |
X.Y.Z-other |
prerelease |
1.0.0-dev.1 |
After the workflows complete, verify the packages are published:
# Check JSR
deno info jsr:@wezzcoetzee/grvt@X.Y.Z
# Check npm
npm view @wezzcoetzee/grvt@X.Y.ZBoth workflows support workflow_dispatch for manual triggering from the Actions tab. Use this if automatic publishing
fails and you need to retry.