Skip to content

fix(ts): export package.json - #25

Merged
amirshabanics merged 1 commit into
mainfrom
fix/ts-export-package-json
Oct 27, 2026
Merged

amirshabanics merged 1 commit into
mainfrom
fix/ts-export-package-json

Conversation

@amirshabanics

Copy link
Copy Markdown
Contributor

require('@bitpin-dev/bitpin-sdk/package.json') fails on the published 0.1.1 with ERR_PACKAGE_PATH_NOT_EXPORTED, because exports doesn't list it. Tools and users that read the installed version break on that.

  • Adds "./package.json": "./package.json" to exports.
  • Adds a test for it, which failed first.
  • The CI pack-and-install check now also reads the package's package.json.

This becomes ts 0.1.2, the first release that goes through the staged npm flow end to end (GitHub approval → npm stage publish → 2FA approval on npm).

🤖 Generated with Claude Code

require('@bitpin-dev/bitpin-sdk/package.json') failed with
ERR_PACKAGE_PATH_NOT_EXPORTED, which breaks tools (and users) that read
the installed version. The CI pack-and-install check now covers it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@amirshabanics amirshabanics self-assigned this Oct 27, 2026
@amirshabanics
amirshabanics merged commit 28f3911 into main Oct 27, 2026
21 checks passed
@amirshabanics
amirshabanics deleted the fix/ts-export-package-json branch October 27, 2026 17:09
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