New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@entropy/npm-release

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@entropy/npm-release

Tiny tool for releasing npm modules.

1.2.2
latest
Version published
Maintainers
2
Created

npm-release

A little script to help release npm modules. It:

  • Bumps the version in package.json
  • Commits 'Release vX.X.X-X'
  • Tags
  • Pushes the commit & tag (git push && git push --tags)
  • Releases to npm (with npm publish)

You can use this (I do!) but I recommend looking at semantic-release too.

Usage

You must use npm-release in a folder with a package.json and a remote to push to.

npm-release 0.0.2

It supports the same version options as npm version.

npm-release [<newversion> | major | minor | patch | build]

And custom commit messages:

npm-release major -m "#yolo"

Finger-licking good!

Install

npm install -g @entropy/npm-release

License

MIT

FAQs

Package last updated on 16 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts