Ship — the AtomForge character at work

@atom-forge/ship · Releases

Prepare the release. Let CI publish it.

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.

CLI Git tags Changelog npm

What it is

A release step with a clear boundary.

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.

Why choose Ship?

Plan before you act

A release dry run prints the plan without verifying, changing files, committing, tagging or pushing.

Atomic push

The release commit and its tag are pushed together, so the branch and tag cannot drift apart.

Exact checks

validate compares the tag, package version and changelog; check looks up the exact version in the registry.

How it works

  1. Configure

    Add the scripts and a ship object with your verify commands to package.json.

  2. Dry run

    Review the plan and the release notes before creating anything.

  3. Release

    Run the release, then check the CI run and the exact published version separately.

An honest fit check

Trade-offs, not fine print

Single package

No workspaces, prereleases or automatic dependency upgrades.

A push is not a publish

A successful push proves neither that CI passed nor that the version was published.

In practice

Review, then release

Run from the configured project. The last command changes release files, commits, tags and pushes.

Shell · Illustrative · adapted from the source texts; package API not verified here
npm run pub -- minor --dry-run

# After reviewing the plan and release notes:
npm run pub -- minor