Skip to content

build(napi): sync package-lock.json with @napi-rs/cli 3.10.9 - #246

Merged
jamesyong-42 merged 1 commit into
mainfrom
claude/kind-pasteur-5c779u
Nov 1, 2026
Merged

jamesyong-42 merged 1 commit into
mainfrom
claude/kind-pasteur-5c779u

Conversation

@jamesyong-42

@jamesyong-42 jamesyong-42 commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Summary

The 0.7.25 release failed at NAPI Build: npm ci in crates/truffle-napi rejected the lockfile on all 5 targets (lock file's @napi-rs/cli@3.6.2 does not satisfy @napi-rs/cli@3.10.9). #242 bumped @napi-rs/cli in package.json and pnpm-lock.yaml but not in this standalone npm lockfile. Nothing other than the release's NAPI Build runs npm ci there, so CI never caught it. Because @vibecook/truffle-native@0.7.25 was never published, the npm publish timed out and Release Please failed.

This regenerates the lockfile with npm install --package-lock-only --ignore-scripts.

It's titled build: on purpose so release-please doesn't cut 0.7.26. After it merges, truffle-v0.7.25 moves to the merge commit and the NAPI build and npm publish re-run for 0.7.25. Compared with the original tag commit 0967a8b, the only changes are this lockfile and the sidecar checksums already pinned on main by 7d9a11b. There are no source changes, so the crates.io 0.7.25 crates and the release binaries stay consistent.

Type of Change

  • 🔧 Refactor / chore (no functional changes)

Checklist

  • I have tested these changes locally: a clean npm ci in crates/truffle-napi installs @napi-rs/cli 3.10.9, and node scripts/sync-release-locks.mjs --check and node scripts/check-release-versions.mjs --allow-missing-checksums pass
  • I have added/updated tests for the changes (if applicable): n/a
  • I have updated documentation (if applicable): n/a
  • cargo test / cargo clippy / cargo fmt --check: no Rust changes

Additional Context

Follow-up worth doing separately: add an npm ci --dry-run check for crates/truffle-napi to CI, so this kind of drift fails on the PR instead of at release time.


Generated by Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

#242 bumped @napi-rs/cli 3.6.2 -> 3.10.9 in crates/truffle-napi/package.json
and regenerated pnpm-lock.yaml, but not the standalone npm lockfile that the
NAPI Build workflow installs with `npm ci`. The 0.7.25 release's NAPI Build
failed on every target ("lock file's @napi-rs/cli@3.6.2 does not satisfy
@napi-rs/cli@3.10.9"), so @vibecook/truffle-native@0.7.25 was never published
and the npm publish timed out waiting for it.

Regenerated with `npm install --package-lock-only --ignore-scripts`;
`npm ci` now installs @napi-rs/cli 3.10.9, and check-release-versions passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZwaBuXD1phVAJsq2NMXu5
@jamesyong-42
jamesyong-42 merged commit 830b82f into main Nov 1, 2026
10 checks passed
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.

2 participants