Skip to content

remitbri/npmpublish

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npmpub(lish)

Another better npm publish

Works great with github-release-from-changelog.

Why

  • Pulls in remote git commits to ensure you publish the latest commit
  • Reinstalls dependencies to ensure your project works with the latest dependency tree
  • Runs the tests
  • Bumps the version from the one in package.json and creates a git tag
  • Publishes the new version to npm
  • Pushes commits and tags to GitHub

What is the difference with np?

This npmpublish takes the version from the package.json. I was using the orignal np recipe, but I discovered that I was already always updating the version in the CHANGELOG.md by hand, so why not directly specifying the version everywhere in the same commit?

Install

$ npm install --global npmpub

Note that the package is npmpub and the command is npmpublish.

Usage

$ npmpublish

CONTRIBUTING

  • ⇄ Pull requests and ★ Stars are always welcome.
  • For bugs and feature requests, please create an issue.

About

Another better `npm publish`

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%