npm Alpha Release Checklist
This checklist keeps the first npm release path boring and explicit.
The current package lives in:
npm/
It is now prepared for the 0.1.0-alpha.6 npm alpha.
Current Package Shape
Package name:
jup-sh
Binary:
jup-sh -> bin/jup-sh
Current wrapper behavior:
node wrapper -> self-contained alpha CLI
This is acceptable for the first npm alpha because users do not need Rust or a repository checkout. The npm alpha still does not move money.
Alpha 6 Dry Run
Run:
npm run alpha:pack
The dry run asserts that the package contains only:
README.md
bin/jup-sh
package.json
It also checks that common local or secret paths are not included.
Required Checks Before Any Release
Run:
npm run release:check
This runs:
npm run check
npm run alpha:smoke
npm run alpha:pack
cd rust && cargo test --workspace
Confirm:
pay --jsonfollowsdocs/cli-json-contract.md.payreturns0forauto_pay.payreturns2forreview_required.payreturns1forrejectedor command failure.- Risk Review export does not include private keys, signatures, swap transactions, or wallet secrets.
CHANGELOG.mdhas the release notes.docs/releases/0.1.0-alpha.6.mdmatches the release scope.- The GitHub release is marked as a pre-release.
GitHub Release Draft
Do not create a tag until the release commit is final and npm run
release:check has passed.
Recommended tag:
v0.1.0-alpha.6
Recommended title:
jup.sh 0.1.0-alpha.6
Release notes source:
docs/releases/0.1.0-alpha.6.md
Before creating the tag:
- run the required checks above;
- confirm the working tree is clean;
- confirm
npm/package.jsondoes not have"private": true; - confirm the npm alpha package uses
0.1.0-alpha.6; - confirm the release is described as quote-only / developer alpha;
- mark the GitHub release as pre-release.
Before Publishing to npm
The current alpha package is a self-contained Node.js CLI. Users need Node.js, but they do not need Rust or a repository checkout.
Before npm publish:
- keep
publishConfig.tagor publish with--tag alpha; - run
npm publish --dry-runfromnpm/; - confirm npm account 2FA/provenance settings;
- confirm no
.env*, tokens, local stores,node_modules,.wrangler, or Rust build artifacts are included; - tag the GitHub release from the same commit.
Current Non-Goals
The npm alpha must not add:
- wallet signing;
- swap execution;
- Solana Pay transaction requests;
- custody;
- remote backend persistence;
- authentication.