fix: packaging hygiene — types/exports map, files whitelist - #1
Open
kuraydev wants to merge 1 commit into
Open
Conversation
The package had no types field or exports map, and the published tarball shipped .husky hooks, TypeScript sources, tsconfig and lint dotfiles. types + exports now point at the published build/dist output with the types condition first, and a files whitelist trims the tarball to build/dist. Existing react/react-native peer dependencies were already present and are kept as-is. Version bumped to 0.1.1; no source changes.
kuraydev
force-pushed
the
fix/packaging-hygiene
branch
from
August 16, 2026 18:38
652601c to
63c8371
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Packaging-hygiene pass mirroring react-native-bouncy-checkbox #822. package.json only, no source changes.
react >= 16.x.x,react-native >=0.63.x) — kept as-is.build/distoutput (ToggleButton.js/.d.ts), types condition first,./package.jsonexport included..husky/hooks, TypeScript sources (lib/),tsconfig.json,tsconfig.tsbuildinfo,.eslintrc.js,.prettierrc,.commitlintrc.json— now trimmed tobuild/dist.Publish as 0.1.1 after the npm account migration.