Hive Hive
Sign in

Add Ruby and JavaScript SDK packages

GitHub issue · Closed

Metadata
Source
tuist/once #61
Updated
Jul 5, 2026
Domains
Once
Details

Summary

  • Add Ruby and JavaScript SDK packages that wrap the existing Once C ABI for cache operations.
  • Publish both SDKs as buildonce, with bundled native prebuild support for the language packages.
  • Emit a cdylib from the Rust SDK crate so the Ruby and Node packages can load the native library.
  • Add release tasks for SDK native libraries, RubyGems/npm publishing, docs pages, and sidebar icons.

Testing

  • mise exec -- cargo fmt --all -- --check
  • mise exec -- cargo test --package once
  • mise exec -- ./mise/tasks/release/package-sdk-libs.sh --target aarch64-apple-darwin
  • npm install --prefix packages/js
  • npm test --prefix packages/js
  • gem build packages/ruby/once.gemspec
  • npm run build --prefix docs
  • bash -n mise/tasks/release/package.sh mise/tasks/release/package-sdk-libs.sh mise/tasks/release/publish-sdks.sh
  • Published buildonce@0.1.0 to RubyGems and npm using local authenticated sessions.
Flights

Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.

New Flights are paused Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet

Start a Flight and preserve its objective, outcome, and session here.

Comments

No GitHub comments yet.