This past week I was watching a Twitch stream and happened to see the developer using the npm version command. I haven't come across this command b...
For further actions, you may consider blocking this person and/or reporting abuse
npm version
will also automatically create a new git tag for you, too. These tags won't be pushed upstream, though, unless they're signed.Configuring git to cryptographically sign commits would be a great follow up post! 😁👍
Thank you, it is a really good command. I have a webapp that has a lot of commits since November 2017, even with a major release and I forgot (still forgetting) to update the npm version number. Starting from now, I will always update the version number with this useful command.
I would love to see an example of using the
from-git
option and how it works.