Zoltan Kochan 2e7e5f7b5c fix(npm): preserve executable bit on platform binaries
Per-platform packages were published with the binary at mode 0644, so
pacquet's JS shim's spawnSync failed with EACCES on install. The
chmodSync(0o755) in generate-packages.mjs ran on the publish runner,
but npm/pnpm pack normalizes file modes for deterministic tarballs:
files referenced in the manifest's bin field become 0755 and everything
else 0644.

publishConfig.executableFiles is the npm-native way to keep additional
files at 0755 in the published tarball without overloading bin's "this
is a CLI entry point" semantics. Both npm and pnpm honor it.
2026-04-27 01:26:43 +02:00
Description
No description provided
MIT 301 MiB
Languages
Rust 61.8%
TypeScript 37.7%
JavaScript 0.4%