-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
Ensure that required files are packaged #82
Comments
Good idea! For
We talked about it previously, but it's very complicated, especially when you start having Babel and Webpack in the picture. I think we instead should get it implemented in eslint-plugin-import and recommend that. |
|
@bfred-it Would you mind reposting your npm/npm#13948 proposal on the Yarn issue tracker? I don't see it going anywhere with the npm client. |
From this I think it's a matter of testing |
Here: https://github.com/typicode/pkg-ok Apparently it's pretty old, even |
I think with #682, this could be two checks:
|
This new tool also verifies the |
I just published a package with the wrong
files
andbin
package.json settings. I'm surprised thatnpm
doesn't check this at all since an incorrectbin
causes a subsequent install to fail.Possible checks:
files
existbin
existmain
to make sure that all non-external requires are included infiles
or notnpmignore
dThe text was updated successfully, but these errors were encountered: