Guide

Publishing EntryGo Packages

EntryGo is installable infrastructure for cross-border export orchestration.

On this page

Before publishing, make sure the public install surface is stable for both developers and AI agents.

#Release checklist

  • @entrygo/sdk builds cleanly into dist
  • entrygo points to a working executable bin
  • package names and install commands match docs and /.well-known/entrygo
  • ENTRYGO_API_KEY is the canonical auth environment variable
  • entrygo verify returns deterministic output
  • entrygo bootstrap succeeds on an empty instance
  • entrygo.setup.verify() returns deterministic output
  • pnpm run validate:agent-install passes
  • pnpm run validate:first-run-bootstrap passes
  • package READMEs reflect the current install and verify flow
  • package metadata includes license, repository, homepage, and bugs URL

#Publish the SDK

bash
cd packages/sdk-ts
pnpm pack
npm publish --access public

Expected install command after publish:

bash
pnpm add @entrygo/sdk

#Publish the CLI

bash
cd packages/cli
npm publish --access public

Expected bootstrap command after publish:

bash
npx entrygo init
npx entrygo bootstrap --name "Acme Supply" --email ops@example.com
npx entrygo verify

#Canonical install flow after publish

bash
pnpm add @entrygo/sdk
npx entrygo init
npx entrygo bootstrap --name "Acme Supply" --email ops@example.com
npx entrygo verify

#Pre-publish local validation

Before @entrygo/sdk is on npm, point the CLI at a packed tarball:

bash
cd packages/sdk-ts
pnpm pack --pack-destination /tmp/entrygo-live-app

cd /tmp/entrygo-live-app
ENTRYGO_SDK_SOURCE=/tmp/entrygo-live-app/entrygo-sdk-0.1.0.tgz npx entrygo init
ENTRYGO_SDK_SOURCE=/tmp/entrygo-live-app/entrygo-sdk-0.1.0.tgz npx entrygo bootstrap --name "Acme Supply" --email ops@example.com