idx-cli/scripts
hermes 221dc01397 feat: add npm distribution wrapper for idx-cli
Add an npm wrapper (package.json + postinstall downloader) so the Rust
binary can be installed via npm/npx. Include a local smoke test, a GitHub
Release cross-compile workflow, and nodejs in the dev shell.

- package.json: idx-cli v0.2.3, bin idx, engines node>=16
- scripts/install.js: dependency-free postinstall that downloads the
  platform-specific GitHub Release asset (or IDX_BINARY_URL override)
- scripts/idx.js: binary launcher preserving exit codes/signals
- scripts/npm-smoke.sh: npm pack -> install tarball -> run idx --help
  and idx config --help, locale, no publish required
- .github/workflows/release.yml: cross-compile linux-x64/arm64 and
  darwin-arm64 releases and attach binaries to the version tag
- flake.nix: add nodejs_22 to the dev shell
- docs/NPM_DISTRIBUTION.md: usage, local test, and release flow
2026-08-18 11:14:55 +00:00
..
audit-msn-fundamentals.sh fix: handle non-finite msn key ratios 2026-04-13 23:34:36 +07:00
build-latest-ownership-snapshot.sh feat: add ownership snapshot publish flow 2026-04-12 13:35:09 +07:00
build-ownership-snapshot.sh Add ownership snapshot sync 2026-03-31 19:28:13 +07:00
idx.js feat: add npm distribution wrapper for idx-cli 2026-08-18 11:14:55 +00:00
install.js feat: add npm distribution wrapper for idx-cli 2026-08-18 11:14:55 +00:00
live-smoke.sh feat: support explicit MSN chart history 2026-04-15 13:48:27 +07:00
npm-smoke.sh feat: add npm distribution wrapper for idx-cli 2026-08-18 11:14:55 +00:00
publish-ownership-snapshot.sh fix: refresh snapshot publish output dir 2026-04-13 18:21:36 +07:00