RSeidelsohn / license-checker-rseidelsohn

Extract NPM package licenses. Enhanced and updated fork of Dav Glass' original (but abandoned) license-checker.
https://www.npmjs.com/package/license-checker-rseidelsohn
Other
131 stars 34 forks source link

Add files allow-list in package.json #112

Closed emersion closed 3 months ago

emersion commented 4 months ago

The current released version of the package contains a "test" directory with a total size of 146.9MiB. It contains a bunch of unrelated NPM packages in a node_modules directory, for instance angular.

I suspect this directory is local to the maintainer's machine and not meant to be included in NPM releases. To prevent this from happening, add a "files" allow-list to only include what's needed for the package to run in the output of "npm pack".

emersion commented 3 months ago

Ah, apologies, this seems to be a duplicate of https://github.com/RSeidelsohn/license-checker-rseidelsohn/pull/106!