Skip to content

fix: packaging hygiene — missing peers, types/exports map, files whitelist - #587

Open
kuraydev wants to merge 1 commit into
masterfrom
fix/packaging-hygiene
Open

fix: packaging hygiene — missing peers, types/exports map, files whitelist#587
kuraydev wants to merge 1 commit into
masterfrom
fix/packaging-hygiene

Conversation

@kuraydev

@kuraydev kuraydev commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Wrongs in the published 5.0.0 tarball: .idea/ (!), .husky/, .github/, dotfiles, TypeScript sources and tsbuildinfo shipped; no react / react-native peers; no types / exports.

Fixes (package.json only):

  • Added react >=17.0.0 / react-native >=0.64.0 peers.
  • types + exports map matching the published layout (./build/dist/index.d.ts first, ./package.json export included).
  • files whitelist restricted to build/ — the social-button local-assets ship inside build/dist/local-assets, so runtime require()s keep working.
  • react-native-text-input-interactive is genuinely imported and stays in dependencies.

No source changes. Publish as 5.0.1 after the npm account migration.

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
kuraydev force-pushed the fix/packaging-hygiene branch from d713478 to 7e02a92 Compare August 16, 2026 18:38
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