HiFaraz / node-playbook

Get started fast with Node.js

Home Page:http://nodeplaybook.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ready to Provide a solution to Publishing to NPM

hardog opened this issue · comments

@HiFaraz is there other aspect should pay attention to except criteria for accepting a solution., step by step guide to publish to npm is my idea!

commented

Nope, although I recommend you post a summary here first for discussion.

Thank you !

@HiFaraz

  • check the module whether published by others
  • register npmjs account
  • create a dir and npm init
  • execute npm publish cmd
  • check your module whether published

above is the gist, when push the PR, it would be more detail!

commented

Sounds good, couple of points:

  • npm init is already covered in the basic workflow, don't need to address this again
  • you can't publish without changing the version number, so the workflow should mention upping the version (either patch, minor, or major - add a link to the version numbering section)
commented

Closed by #36 a while back