package-config-checker icon indicating copy to clipboard operation
package-config-checker copied to clipboard

False negative scenario: modules which have .npmignore but exclude it from the package

Open insin opened this issue 8 years ago • 1 comments

They're technically correct (the best kind, ofc :ok_hand:) and I used to do this myself, but this is another reason I now prefer files.

We'll have to fall back completely on heuristics for these packages (e.g. classnames), but I honestly think test folders cover 90% of the npm package bloat I care about.

insin avatar May 04 '16 15:05 insin

One option would be taking the repository field as a last resort and checking if .npmignore exists in the repo. Maybe behind a --i-just-want-to-be-really-really-sure flag or something :ok_hand:

petetnt avatar May 04 '16 16:05 petetnt