zelosh
v0.0.12
Published
Zelo published binaries wrapper (zelo, zelo-server).
Readme
zelosh
zelosh is a publish-only wrapper package that exposes two CLI entrypoints:
zelozelo-server
At runtime it selects a prebuilt native binary by platform/arch and executes it.
The binaries are shipped via platform-specific optional dependencies:
@zelo/zelosh-darwin-arm64@zelo/zelosh-darwin-x64@zelo/zelosh-linux-arm64@zelo/zelosh-linux-x64@zelo/zelosh-win32-arm64@zelo/zelosh-win32-x64
At runtime it resolves @zelo/zelosh-${process.platform}-${process.arch} and executes the binary from that package.
Platform package layout
Inside each @zelo/zelosh-<platform>-<arch> package:
bin/
zelo[.exe]
zelo-server[.exe]Release (CI-friendly)
Bun can't cross-compile --compile binaries, so build each platform/arch in a matrix, then assemble and publish in a final job.
Build (per platform job):
bun run scripts/release-zelosh.ts packThis produces an npm tarball under dist/ like:
dist/zelo-zelosh-<platform>-<arch>-<version>.tgz
Publish (final job):
bun run scripts/release-zelosh.ts release --artifacts dist -- --access public