npm: restore the blockflow command (runner 1.0.2), manual npm release run #15
Loading…
Reference in a new issue
No description provided.
Delete branch "akib/fix-npm-bin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem:
[email protected](published by the v1.0.1 release run) has noblockflowcommand. CI publishes with npm 11, which drops abinpath written as./cli.mjs("script name cli.mjs was invalid and removed"); npm 10, used for the 1.0.0 publishes, only rewrote it. bridge 1.0.0, mcp 1.0.0 and runner 1.0.0 are fine.Changes
binpaths in all three packages are plain (cli.mjs,server.mjs). The newtests/bridge/packageBins.test.tsfails on./paths, missing files or a missing shebang. It failed before this fix.blockflow-runneris now 1.0.2, with the same 1.0.1 extension bundled. Bridge and MCP keep their versions; their fix ships with their next bump.release.ymlgets aworkflow_dispatchtrigger: Actions → Release → Run workflow runs only thenpmjob, withnpm run checkfirst. A package fix therefore needs no new extension tag or AMO submission. It is the same workflow file, so the trusted publisher accepts it.Verified
npm run check: 1144 tests.blockflow-runner-1.0.2.tgzhasbin: {"blockflow":"cli.mjs"};blockflow --version→blockflow 1.0.2.After merge: run Release by hand on
main, then deprecate 1.0.1.🤖 Generated with Claude Code