Skip to content

feat: npm distribution channel + release v0.8.1#10

Closed
RodCor wants to merge 3 commits into
mainfrom
feat/npm_install
Closed

feat: npm distribution channel + release v0.8.1#10
RodCor wants to merge 3 commits into
mainfrom
feat/npm_install

Conversation

@RodCor

@RodCor RodCor commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Adds an npm distribution channel for Kimetsu (esbuild/turbo style) and cuts v0.8.1.

What's new

  • npm install -g kimetsu installs the prebuilt native binary — no Rust toolchain.
  • Per-platform packages (@kimetsu/{linux-x64,darwin-x64,darwin-arm64,win32-x64}) selected via optionalDependencies; thin bin/cli.js launcher execs the matching binary. No postinstall (works under --ignore-scripts).
  • Embeddings build fetched on demand via KIMETSU_NPM_FLAVOR=embeddings.
  • New gated publish-npm job in release.yml (mirrors the crates.io gate), reusing the existing lean release archives.

Release

  • Workspace version bumped 0.8.0 → 0.8.1 (Cargo.toml, Cargo.lock).
  • CHANGELOG finalized under v0.8.1.
  • Tagging v0.8.1 after merge triggers the binary matrix + GitHub Release, then the crates.io and npm publish jobs.

Verification (local)

  • Launcher tested against the real kimetsu.exe: --version, arg forwarding, exit-code propagation, and embeddings-fetch fallback to lean.
  • npm pack --dry-run: 4 files, no binary bundled.
  • cargo check --locked clean at 0.8.1.

🤖 Generated with Claude Code

RodCor and others added 3 commits June 1, 2026 16:35
Bump workspace version 0.8.0 -> 0.8.1 and finalize the CHANGELOG entry
for the npm distribution channel. Tagging v0.8.1 triggers the release
pipeline: binary matrix + GitHub Release, then the gated crates.io and
npm publish jobs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@RodCor

RodCor commented Jun 1, 2026

Copy link
Copy Markdown
Owner Author

Superseded: the npm work already landed on main via #9. Cutting v0.8.1 as a focused version-bump PR instead.

@RodCor RodCor closed this Jun 1, 2026
@RodCor
RodCor deleted the feat/npm_install branch June 5, 2026 18:46
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