-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Dry-run mode #34
Comments
Would this be any more useful than the already present |
IDK 🙂 I cannot find any documentation about this flag in the readme or the CLI help |
I should update the screenshot in the readme, it basically just turns off all pre and post scripts. |
I don't think I'm using it correctly 😄
The package.json is updated to version "--no-scripts" |
what do you get with a |
OMG, I'm so sorry I think I have another executable named "bump". When I use the fully qualified name of the package I get the following:
However, I think there is some issue here :
Note: the package.json has been updated as expected BTW with a dry run, I would expect the package.json to be left unmodified |
Oh right this package is namespaced unfortunately. It looks like there is a bug somewhere 🤔
What would you expect a dry run mode to actually do? |
I'd expect the dry run to do nothing at all, but print a detailed log of what it would do. Just like if it would be an actual run. So I can tell if I misconfigured something, if the version is not the one I expect, or if the access to the npm repository is misconfigured, and so on |
For instance, you can check the dry-run mode of release-it https://github.com/release-it/release-it/blob/main/docs/dry-runs.md |
It makes sense, but assuming the bug you reported is fixed, wouldn't it be more or less the same as doing a |
Yes good point 🙂 I'll try this and let you know, thank you for taking the time to take a look at this request anyway 😉 |
Possibly a better suggestion, but you can just run |
By the way are you using a version older than v15 of Node? The error you are seeing about |
All right I'm going to try that idea 🙂 Yes well seen 🙂 fnm defaults to version 14:
I change that! |
Hi !
It would be nice to have a dry-run mode to test various options before actually running the command and throwing stuff to the npm registry
The text was updated successfully, but these errors were encountered: