-
Notifications
You must be signed in to change notification settings - Fork 3k
Would love to have a 'dry run' flag for npm publish / pack #6351
Comments
@aredridel you could just use the irish-pub code and put it behind a command in case you do a PR. |
uh, yet again I've built the same thing as you @thlorenz. https://github.com/timoxley/pkgfiles The approach there of grabbing stuff directly from fstream-npm rather than running it through the whole pack/unpack process might be closer to what should happen in npm itself. |
You're both pretty. 💏 The prettiest of all will be the one who turns this into a PR. |
also note |
Totally agree with @timoxley that his implementation is closer to what should be used. |
This is getting increasingly important as people run into more unexpected issues with publishing. Putting this on the "next minor version" milestone. |
I'm planning to spend a little work-sponsored time on it this week. Not a ton, but might be able to polish it off. |
It'd be good if this also explicitly stated which registry URL it is publishing to. Every time I publish a private module I have a slight hand-in-mouth moment when I wonder if i've got the right config set. |
Ever since |
|
@jayphelps |
@glenjamin yep.....if only I had RTFM.... |
|
@iarna did this for |
Aaaactually, no, I added |
@iarna 😓 |
This would've been helpful to at least one person other than me: npm#6351 (comment)
The CLI team still intends to see this functionality added as |
Can I try taking a crack at this? |
I think there is a bug: I did |
@brodybits This functionality has not yet been implemented. |
We're closing this issue as it has gone thirty days without activity. In our experience if an issue has gone thirty days without any activity then it's unlikely to be addressed. In the case of bug reports, often the underlying issue will be addressed but finding related issues is quite difficult and often incomplete. If this was a bug report and it is still relevant then we encourage you to open it again as a new issue. If this was a feature request then you should feel free to open it again, or even better open a PR. For more information about our new issue aging policies and why we've instituted them please see our blog post. |
@othiym23 This was closed automatically—any chance to get it reopened? |
Voting to get opened! |
please vote for #19308 |
#19908 ;) |
It'd be nice when debugging
.npmignore
and.gitignore
files to have a simple way to show what would be packed -- perhaps annpm pack -n
ornpm publish --dry-run
that simply omits any of the output IO, and sets output to log the files packed.The text was updated successfully, but these errors were encountered: