Saturday, 22 April 2017

What are the correct steps to publish npm package?

TL;DR: I need a guide to synchronous publishing new versions of a project as a release on GitHub and an npm package.


Suppose I have a project on GitHub called "webcats". I've just made an initial major release with a tag v1.0.0 and successfully npm published it as webcats@1.0.0. And then I've decided to add new features to the project.
I need the version v1.1.0 both as a GitHub Release and as an NPM package.

How do I achieve that?
I understand the possible silliness of the question, but I really stuck here.



via Dmitry Parzhitsky

No comments:

Post a Comment