-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Doesn't include dist
folder
#719
Comments
I'm having a very similar issue with the
|
What version of What's the output if you run |
@tommy-mitchell commented on Feb 29, 2024, 11:40 PM GMT+1:
The latest version 10.
Exactly the same result as seen above with
np - 10.0.0 |
Yarn gives the same result as npm. I tried running np with yarn via What I do find surprising is that the files in the |
Finally had time to do a real publish to NPM and confirmed that the Maybe I do not understand the message correctly. It says |
Description
It is not including the
dist/
folder when it is specified to be ignored in.gitignore
but not in.npmignore
.Steps to reproduce
dist
in your.gitignore
file.node_modules
in.npmignore
npx np@latest --preview
even with--contents=dist
doesn't mention that the dist folder will be included.Expected behavior
It should follow the conventions
Environment
np - 8.0.4
Node.js - 16.20.2
pnpm - 8.10.0
Git - 2.42.0
OS - macOS Ventura 13.6.1
The text was updated successfully, but these errors were encountered: