fix: packaging hygiene — missing peers, types/exports map, files whitelist - #587
Open
kuraydev wants to merge 1 commit into
Open
fix: packaging hygiene — missing peers, types/exports map, files whitelist#587kuraydev wants to merge 1 commit into
kuraydev wants to merge 1 commit into
Conversation
react and react-native peers were missing and are now declared; react-native-text-input-interactive is genuinely imported and stays in dependencies. The published tarball shipped .idea, .husky, .github, dotfiles, TypeScript sources and tsbuildinfo; a files whitelist restricts the package to the build directory. A types + exports map is added, types condition first.
kuraydev
force-pushed
the
fix/packaging-hygiene
branch
from
August 16, 2026 18:38
d713478 to
7e02a92
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.
Wrongs in the published 5.0.0 tarball:
.idea/(!),.husky/,.github/, dotfiles, TypeScript sources and tsbuildinfo shipped; no react / react-native peers; notypes/exports.Fixes (package.json only):
react >=17.0.0/react-native >=0.64.0peers.types+exportsmap matching the published layout (./build/dist/index.d.tsfirst,./package.jsonexport included).fileswhitelist restricted tobuild/— the social-button local-assets ship insidebuild/dist/local-assets, so runtimerequire()s keep working.react-native-text-input-interactiveis genuinely imported and stays independencies.No source changes. Publish as 5.0.1 after the npm account migration.