Skip to content

fix(repo): normalize npm bin path and register anatomist for publishing - #937

Merged
YusukeHirao merged 2 commits into
devfrom
docs/npm-publish-skill-anatomist
Aug 1, 2026
Merged

fix(repo): normalize npm bin path and register anatomist for publishing#937
YusukeHirao merged 2 commits into
devfrom
docs/npm-publish-skill-anatomist

Conversation

@YusukeHirao

Copy link
Copy Markdown
Member

Summary

  • Add @d-zero/anatomist to the npm-publish skill's target package list (28 → 29 packages)
  • Fix bin field format across 8 CLI packages (a11y-check, anatomist, archaeologist, backlog-projects, filematch, page-cluster, print, replicator): npm 11.17 silently strips the bin entry when the path has a leading ./, leaving the published package without a CLI executable. Switched to the object form with a bare relative path.

Test plan

  • yarn lint
  • yarn build
  • yarn test
  • npm publish --dry-run confirmed no bin warning for anatomist after the fix
  • @d-zero/anatomist@0.1.0 published to npm; npm view @d-zero/anatomist bin returns { anatomist: 'dist/cli.js' }

npm 11.17 treats a leading `./` in the `bin` field value as invalid and
silently strips the entry during publish, leaving the package without a
CLI executable. Switch to the object form with a bare relative path
(no leading `./`) across all packages that ship a CLI.
@YusukeHirao
YusukeHirao requested a review from yusasa16 as a code owner August 1, 2026 02:23
@YusukeHirao
YusukeHirao merged commit 3bb6858 into dev Aug 1, 2026
6 checks passed
@YusukeHirao
YusukeHirao deleted the docs/npm-publish-skill-anatomist branch August 1, 2026 02:27
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