DEV Community

Discussion on: An Open Source Maintainer's Guide to Publishing npm Packages

Collapse
 
markerikson profile image
Mark Erikson

I strongly recommend using the np utility for running the actual publishing process. It does a great job of running build and test steps, tagging, asking for 2FA input, pushing, and creating an initial release notes changelog based on commits.

I've been using it for the Redux packages for the last couple years, and it's saved me from a number of mistakes.

Collapse
 
kadikraman profile image
Kadi Kraman

That's a great suggestion, thank you! I'm always rather conscious of the human error involved in publishing packages. Looks like this can save a world of trouble.