Skip to content

Conversation

@Phillip9587
Copy link
Contributor

This PR removes HISTORY.md from published tarball content. It also removes automatically included files (LICENSE) from the files array.

Before:

npm pack --dry-run

npm notice 📦  [email protected]
npm notice Tarball Contents
npm notice 9.9kB HISTORY.md
npm notice 1.2kB LICENSE
npm notice 4.5kB README.md
npm notice 4.5kB index.js
npm notice 1.5kB mimeScore.js
npm notice 1.3kB package.json
npm notice Tarball Details
npm notice name: mime-types
npm notice version: 3.0.2
npm notice filename: mime-types-3.0.2.tgz
npm notice package size: 7.4 kB
npm notice unpacked size: 22.9 kB
npm notice shasum: a4a9c96646aaba87ad3587142944fca433951b60
npm notice integrity: sha512-+9gmYMUvA2esM[...]sjLY7TbYhw3RQ==
npm notice total files: 6
npm notice
mime-types-3.0.2.tgz

After:

npm pack --dry-run

npm notice 📦  [email protected]
npm notice Tarball Contents
npm notice 1.2kB LICENSE
npm notice 4.5kB README.md
npm notice 4.5kB index.js
npm notice 1.5kB mimeScore.js
npm notice 1.2kB package.json
npm notice Tarball Details
npm notice name: mime-types
npm notice version: 3.0.2
npm notice filename: mime-types-3.0.2.tgz
npm notice package size: 5.1 kB
npm notice unpacked size: 12.9 kB
npm notice shasum: f6e4da81fe6fe51951fab4598dab078e3cbf3831
npm notice integrity: sha512-49zFfgLOXDjZE[...]kqN7neL6FYJdw==
npm notice total files: 5
npm notice
mime-types-3.0.2.tgz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants