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
npm notice 📦  [email protected]
npm notice Tarball Contents
npm notice 5.6kB HISTORY.md
npm notice 1.1kB LICENSE
npm notice 4.4kB README.md
npm notice 5.8kB index.js
npm notice 1.3kB package.json
npm notice Tarball Details
npm notice name: finalhandler
npm notice version: 2.1.1
npm notice filename: finalhandler-2.1.1.tgz
npm notice package size: 6.4 kB
npm notice unpacked size: 18.2 kB
npm notice shasum: a6df7151fd63ace02631675d5b9c23155aa47fe1
npm notice integrity: sha512-mmnulc1ofgpzq[...]toZpLVeQ/BNyQ==
npm notice total files: 5
npm notice
finalhandler-2.1.1.tgz

After:

npm pack --dry-run
npm notice
npm notice 📦  [email protected]
npm notice Tarball Contents
npm notice 1.1kB LICENSE
npm notice 4.4kB README.md
npm notice 5.8kB index.js
npm notice 1.3kB package.json
npm notice Tarball Details
npm notice name: finalhandler
npm notice version: 2.1.1
npm notice filename: finalhandler-2.1.1.tgz
npm notice package size: 4.6 kB
npm notice unpacked size: 12.6 kB
npm notice shasum: 6a586d05be24190e75c55636c25cbba0b27ae33f
npm notice integrity: sha512-6vRf3bb63Nb8V[...]T/vxR1z0/589A==
npm notice total files: 4
npm notice
finalhandler-2.1.1.tgz

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.

2 participants