packlint icon indicating copy to clipboard operation
packlint copied to clipboard

fix(package.json): add files field to remove unnecessary files in published package

Open manudeli opened this issue 2 years ago • 1 comments

First of all, I really wanted to say thank you so so much for providing this cool package! 👍

I've been waiting too long for a package that can replace npx sort-package-json to be released. This package completely eliminated my annoyance with running npx sort-package-json for every package in my monorepo:suspensive/react. Thank you thank you so much!

but I found some unnecessary files. so I make this Pull Request.

Remove unncessary files in published package

You can see below link to check unnecessary files in published packlint. https://www.npmjs.com/package/packlint?activeTab=explore

and installed package image

Package.json's files field will remove them. check it please

manudeli avatar Feb 08 '23 10:02 manudeli

Actually, I was planning to rewrite this library. Here is a proposal. Any feedbacks will be wellcomed!

artechventure avatar Feb 09 '23 08:02 artechventure