Skip to content

Add npm distribution - #1

Merged
dunctk merged 3 commits into
mainfrom
agent/npm-distribution
Aug 13, 2026
Merged

dunctk merged 3 commits into
mainfrom
agent/npm-distribution

Conversation

@dunctk

@dunctk dunctk commented Aug 13, 2026

Copy link
Copy Markdown
Owner

What changed

  • adds a dependency-free npm launcher for npx whyhot
  • bundles native Apple Silicon and Intel macOS binaries in the published tarball
  • adds reproducible binary build and manual npm publishing workflows
  • documents one-off and global npm installation

Why

Developers can run whyhot without first installing Rust or Cargo. The package performs no install-time downloads and has no lifecycle scripts or runtime dependencies.

Validation

  • cargo fmt --check
  • cargo test --offline --locked (11 tests)
  • cargo clippy --offline --all-targets -- -D warnings
  • native release builds for aarch64-apple-darwin and x86_64-apple-darwin
  • both architecture binaries execute on Apple Silicon
  • npm test
  • npm pack --dry-run (673 KB package)
  • clean global install from the generated npm tarball
  • installed launcher --version and --once smoke tests

@dunctk
dunctk marked this pull request as ready for review August 13, 2026 09:08
@dunctk
dunctk merged commit 2e8c929 into main Aug 13, 2026
2 checks passed
@dunctk
dunctk deleted the agent/npm-distribution branch August 13, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant