New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Published Packages Contain unwanted files #531
Comments
The presence of the |
Yes. That is one more reason |
I also noticed I have found the reason why "update-readme": "sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md",
"restore-readme": "mv README.md.bak README.md",
"prepublish": "in-publish && npm run update-readme || not-in-publish",
"postpublish": "npm run restore-readme" Basically, when someone runs So, all we need to do to fix this issue is:
{
...
files: [
"index.d.ts",
"lib",
"Licence",
"package.json",
"Readme.md" // Or `README.md`
]
...
} If @niftylettuce (or any other maintainer) is okay with this, I can create a PR. 😉 |
The published packages contain
Which is not ideal. They increase the size of the package and don't add any value
The text was updated successfully, but these errors were encountered: