@atom-forge/ship · Releases
Ship is a dependency-free CLI for Node.js 22+ and Bun. It verifies the repository, stamps the changelog, updates the version, creates a release commit and tag and pushes them atomically. Publishing stays in your tag-triggered CI workflow.
What it is
The package is @atom-forge/ship and its executable is ship-it. It works on one npm-format package at the Git repository root; it is not meant for monorepo workspaces, prereleases or non-npm registries.
You configure the verification commands that must pass. Before a release the repository must be clean, on the release branch, level with its remote, and the changelog must contain real Unreleased notes.
A release dry run prints the plan without verifying, changing files, committing, tagging or pushing.
The release commit and its tag are pushed together, so the branch and tag cannot drift apart.
validate compares the tag, package version and changelog; check looks up the exact version in the registry.
Add the scripts and a ship object with your verify commands to package.json.
Review the plan and the release notes before creating anything.
Run the release, then check the CI run and the exact published version separately.
An honest fit check
No workspaces, prereleases or automatic dependency upgrades.
A successful push proves neither that CI passed nor that the version was published.
Run from the configured project. The last command changes release files, commits, tags and pushes.
npm run pub -- minor --dry-run
# After reviewing the plan and release notes:
npm run pub -- minor