-
Notifications
You must be signed in to change notification settings - Fork 3k
NPM with dry run for testing? #3505
Comments
Dry run meaning what, and for which npm commands? Note that much of npm's behaviour is driven by the contents of files that are downloaded from the registry, so there's not a lot of useful work it can do without downloading anything. And once you're downloading files, you're already beyond a dry run. |
I probably should be more of a tinkerer and actually take a look at the code to see how npm functions. I think I blindly asked the question out of anticipation to get my script finished. Dry run in the sense that npm will display what dependencies it will be installing (with its normal verbose output), but not actually do any of the downloading and file dropping. Similar to |
👍 |
I would be interested in having a dry run option for install Is there any desire for such an option? If I spend some time to implement it, does it stand a chance of being merged or should I do it as a standalone project? Cheers |
and 2 years later, i'm still interested as well :) |
You're in luck, because a version of |
Nice to hear that. Any approximate timeline as to when this may happen? |
See #7774 for what needs to be done before we can put |
Cool - cheers. |
Closing this as fixed in npm/npm#multi-stage |
amazing! thanks! |
Was this a feature that used to exist or will exist eventually? I'm in the midst of writing a shell script with a dry-run option and wanted to pipe that action to NPM.
Thanks
The text was updated successfully, but these errors were encountered: