Skip to content

fix: resolve bundled tool binaries without package metadata exports#13

Merged
artiphishle merged 3 commits intomainfrom
fix/binary-wrapper-package-exports
May 10, 2026
Merged

fix: resolve bundled tool binaries without package metadata exports#13
artiphishle merged 3 commits intomainfrom
fix/binary-wrapper-package-exports

Conversation

@artiphishle
Copy link
Copy Markdown
Collaborator

Summary

  • stop resolving bundled tools through <package>/package.json
  • resolve the package entrypoint first, then walk up to the package root and read package metadata from disk
  • fixes packages such as Knip that do not export package.json
  • add a patch changeset

Verification

Not run by ChatGPT. Before merge, run:

bun run build
bun run lint:fix
bun run test
bun run knip

After release, downstream repos using ankhorage-knip should update to the new patch version.

@artiphishle artiphishle merged commit 4fe0295 into main May 10, 2026
1 check passed
@artiphishle artiphishle deleted the fix/binary-wrapper-package-exports branch May 10, 2026 17:22
@artiphishle artiphishle self-assigned this May 10, 2026
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