@avasapp/dhoni
v0.5.2
Published
dhoni CLI — React Native build tooling and dev bundle distribution
Readme
@avasapp/dhoni
The dhoni CLI, distributed as prebuilt binaries so nobody has to install Go or rebuild after every pull.
bun add -g @avasapp/dhoni
dhoni helpPrivate to the @avasapp scope — installing needs a token that can read it.
How it works
The wrapper package ships only a Node shim. The actual binary arrives through
optionalDependencies, one package per platform, each declaring os and cpu
so npm installs exactly the one that matches:
| Platform | Package |
| ----------- | ------------------------------- |
| macOS arm64 | @avasapp/dhoni-darwin-arm64 |
| macOS x64 | @avasapp/dhoni-darwin-x64 |
| Linux arm64 | @avasapp/dhoni-linux-arm64 |
| Linux x64 | @avasapp/dhoni-linux-x64 |
Windows is not published. Adding it is a one-line change to TARGETS in
scripts/release-cli.sh, plus a .exe case in the shim.
Installing with --no-optional leaves the shim with no binary to run. It
detects that and says so rather than failing with a confusing resolution error.
Releasing
scripts/release-cli.sh 0.2.0 --dry-run # cross-compile and pack
scripts/release-cli.sh 0.2.0 # publishThe script cross-compiles all four targets, stamps the version into every manifest, and publishes the platform packages before the wrapper. That order matters: the wrapper pins its platform packages to an exact version, so publishing it first opens a window where installs resolve nothing and the CLI silently has no binary.
