Skip to content

fix: packaging hygiene — react peers, types/exports map, files whitelist - #6

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

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

Conversation

@kuraydev

@kuraydev kuraydev commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Packaging-hygiene pass mirroring react-native-bouncy-checkbox #822. package.json only, no source changes.

  • peerDependencies: was an empty object — added react >=17.0.0, react-native >=0.64.0.
  • types + exports map: added, pointing at the published build/dist output (InteractiveTextInput.js / .d.ts), types condition first, ./package.json export included.
  • files whitelist: the published 0.1.5 tarball ships .idea/ project files, TypeScript sources (lib/), tsconfig.json, tsconfig.tsbuildinfo, lint dotfiles — now trimmed to build/dist.
  • Version: 0.1.5 → 0.1.6.

⚠️ No LICENSE file in the repo (package.json says MIT) — worth adding separately.

Publish as 0.1.6 after the npm account migration.

…itelist

peerDependencies was an empty object, there was no types field or
exports map, and the published tarball shipped .idea project files,
TypeScript sources and tsconfig. Peers on react/react-native added,
types + exports point at the published build/dist output with the
types condition first, and a files whitelist trims the tarball to
build/dist. Version bumped to 0.1.6; no source changes.
@kuraydev
kuraydev force-pushed the fix/packaging-hygiene branch from 07097af to d9c0b59 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