Conversation
…files whitelist react-use-state-with-callback was declared as a dependency but never imported — the code uses its own lib/helpers/useStateWithCallback.ts copy — so it is removed. @freakycoder/react-native-bounceable IS genuinely imported by lib/CounterInput.tsx and stays. 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 while keeping the local-assets images the component require()s at runtime. Version bumped to 2.0.3; no source changes.
kuraydev
force-pushed
the
fix/packaging-hygiene
branch
from
August 16, 2026 18:37
877cd82 to
6246ebd
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-use-state-with-callbackwas declared but never imported — the code uses its own local copy atlib/helpers/useStateWithCallback.ts.@freakycoder/react-native-bounceableis genuinely imported bylib/CounterInput.tsxand stays as a dependency.react >=17.0.0,react-native >=0.64.0.build/distoutput (CounterInput.js/.d.ts), types condition first,./package.jsonexport included..idea/,.husky/,.github/, TypeScript sources (lib/),tsconfig.json,tsconfig.tsbuildinfo, lint dotfiles — now trimmed tobuild/dist. Thebuild/dist/local-assets/PNGs the componentrequire()s at runtime are inside the whitelist and still ship.LICENSE file present ✓
Publish as 2.0.3 after the npm account migration.