Conversation
This prevents unnecessary files to be published to the npm registry, saving bandwidth and speeding up installs for everyone.
| }, | ||
| "files": [ | ||
| "nise.js", | ||
| "lib/**/*[^test].js" |
There was a problem hiding this comment.
Ha! Didn't know you could get this fancy in the files section 😆
|
👍 |
|
This has been published as |
|
Not sure if this PR is the root cause but it seems in |
|
I was going to say this
but then I remembered this from the docs:
So thanks for reporting, and we will look into it 👍 |
|
I think the regex is not correct as |
|
This seems fine, @Flarna Script from here |
|
@fatso83 - the listing is missing all files from |
|
Yeah, something isn't right, @mroderick: Reproduction |
|
Fix |
|
Would it be possible to deprecate the broken version? |
|
@Xylem Done |
This prevents unnecessary files to be published to the npm registry, saving bandwidth and speeding up installs for everyone.
Before
After
With ~1.2M downloads/month, this will save
1,200,000 * 32,000 / 1024^3 = ~36GB/monthHow to verify
npm packnise.jsis in root, and thatlib/has no tests in it, but still contains all the source files.