Tag · 3 notes
npm
Notes on publishing and installing packages with npm, from trusted publishing to one package per platform.
2026
Ship a Bun-compiled CLI on npm like esbuildHow spatz puts a compiled Bun binary on npm: a small Node launcher plus one package per platform, so each user downloads only one binary.
write-upnpm Trusted Publishing: what to set up firstPublishing to npm from GitHub Actions without a token takes a few steps in a fixed order. This is the order that worked for @spatz/cli.
write-upWarm the pinned CLI version, not @latestA plugin that downloads its CLI on first use can miss a short hook timeout. Warm the version and runner the plugin will use.
til