Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 630 Bytes

DEVELOPMENT.md

File metadata and controls

37 lines (25 loc) · 630 Bytes

Publishing

Checkout branch

Write code

Get code reviewed and approved

Use the npm build tool to automatically update package.json to the new version

# mainline release
npm version 1.0.1
# preview release
npm version 1.0.1-alpha.1

Use the npm build tool to make a new commit with the updated version, create a git tag to have as a github release, and push the package to npm for consumption

npm publish

If doing an alpha release,

npm publish --tag=alpha

Push the commit and tag up to remote github repository

git push
git push --tags

Lastly, merge and delete the branch