๐ Feature: Test files shouldn't be published
JoshuaKGoldberg opened this issue ยท 5 comments
JoshuaKGoldberg commented
Bug Report Checklist
- I have pulled the latest
main
branch of the repository. - I have searched for related issues and found none that matched my issue.
Overview
Right now, CTA repos publish all files under lib/
:
create-typescript-app/package.json
Lines 17 to 23 in 9034d25
...including *.test.*
files. ๐ฌ. That's a lot of extra file size on published packages for no real gain. I think *.test.*
files should be excluded from the published outputs.
Additional Info
I'd previously fixed this in 7cdb836, but at some point switched away from .npmignore
files and lost that.
๐
johnnyreilly commented
Is this as simple as re-introducing an .npmignore
with this content?:
*.test.*
JoshuaKGoldberg commented
I think so!
johnnyreilly commented
Let me PR - just heading out so hopefully tomorrow
github-actions commented
github-actions commented