Replies: 1 comment
-
Btw, the tag is also not included in the email that npm sends you after publishing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
If I publish a package
foobar
withnpm publish --tag dev
, this is the output I get before being prompted to enter the OTP:If I publish without a tag, I get the same output.
This makes it harder to double-check that I'm doing what I think I'm doing. Every time I publish under a tag, I'm a bit afraid of actually publishing to
latest
by accident. If the output included the tag that is being used, I would feel more confident that I'm doing the right thing.Possible output
I'm not sure what's the right way to show this. My guess is that adding it as an extra line there wouldn't be correct, because the tag is not technically part of the tarball. So some ideas are adding a new "section" of output:
or maybe just a line before the tarball details:
Beta Was this translation helpful? Give feedback.
All reactions