Closed JamieMagee closed 2 years ago
First, the npmignore file in this repo is autogenerated, which is why .npmignore
is gitignored. This particular change will be wiped out with every publish anyways.
Second, this is quite intentional. Those files must be included, and will forever be.
Tests should be published with every package, so that npm explore foo && npm install && npm test always works. Duplicate of #281. Duplicate of #279. Duplicate of https://github.com/browserify/resolve/pull/239. Duplicate of https://github.com/browserify/resolve/issues/235. Duplicate of https://github.com/browserify/resolve/issues/58. Duplicate of https://github.com/browserify/resolve/pull/44. See https://github.com/browserify/resolve/pull/105#issuecomment-266653976.
Please do not file PRs on a project when it's unclear if the change is desired (github creates a permanent, undeletable PR ref on the repo for every PR created, so creating an unwanted PR creates pollution that can never be removed); and in this case, it should be quite clear that the change is not desired.
The current contents of the
resolve
package on npm are:After applying this
.npmignore
the contents will be:Closes #271