Repository navigation
ripple v0.11.0
Native binaries for Linux and macOS Apple Silicon ship alongside Windows, distributed as platform-specific npm subpackages. npm i -g @ytsuda/ripple now installs from @ytsuda/ripple-win32-x64, @ytsuda/ripple-linux-x64, or @ytsuda/ripple-darwin-arm64 automatically via optionalDependencies; a small Node launcher (bin/cli.mjs) resolves the matching subpackage and spawns its binary with stdio inherited and SIGTERM/SIGINT/SIGHUP/SIGQUIT forwarded. The release workflow is a three-runner matrix build (windows-latest, ubuntu-latest, macos-latest) followed by a single Linux publish job that Authenticode-signs the Windows binary via AzureSignTool, publishes three subpackages + one meta-package with SLSA provenance, and attaches all three binaries to the GitHub Release.
Added
- Linux x64 and macOS arm64 native binaries. NativeAOT-compiled from the same source as the Windows binary via the
buildmatrix job; identical--testsuite gates publish. macOS is Apple Silicon only — GHA's macos-13 (Intel) runner pool capacity madeosx-x64unshippable. @ytsuda/ripple-<platform>subpackages. Each carriesos+cpufilters so npm installs only the matching one; the meta package'soptionalDependenciesskip the rest silently.npm/bin/cli.mjsdispatcher. Resolves<platform>-<arch>against an allow-list,require.resolves the subpackage binary, spawns it withstdio: 'inherit', forwards SIGTERM/SIGINT/SIGHUP/SIGQUIT to the child, and re-raises the child's exit signal so$?/%ERRORLEVEL%/$statusmatch a direct invocation.
Changed
.github/workflows/release.ymlis now a two-job matrix build + single-runner publish.buildusesstrategy.matrixover{win-x64, linux-x64, osx-arm64}and uploads artifacts;publish(Linux,environment: release) downloads all three, signs the Windows binary, and publishes subpackages sequentially (win32-x64 → linux-x64 → darwin-arm64) before the meta package so a mid-sequence failure halts before the meta points at a missing subpackage.npm/package.jsonis now a meta-package. Ships onlybin/cli.mjs, README, LICENSE;optionalDependenciespin the three subpackages to the exact current version. Theosrestriction on the meta package has been removed — Node can install everywhere, the native binary enforcement is the subpackage filter.- Version cross-check verifies five fields. csproj
<Version>, metanpm/package.json, and each of the threenpm/platforms/*/package.jsonmust all equal the pushed tag; the publish job aborts fast if any disagree.