question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Command to bump version equivalent to `npm version patch`

See original GitHub issue

Would be nice to automate the semantic version bumping process with equivalents for:

  • npm version patch
  • npm version minor
  • npm version major etc…

(npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git])

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sdispatercommented, Apr 4, 2018

The version command has been added in the latest release (0.7.0)

1reaction
sdispatercommented, Mar 26, 2018

This is actually a good idea!

I will see if I can integrate it in a future version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm-version - npm Docs
Bump a package version. ... Run git commit hooks when using the npm version command. ... npm version patch -m "Upgrade to %s...
Read more >
How To Automatically Bump NPM Package Version - Medium
You can add a simple script in our package.json file to automatically bump the version and then publish the package. Add the following...
Read more >
"npm version <major|minor|patch>" and the "dist" directory
1 Answer 1 · Run npm --no-git-tag-version version minor . This would bump the version, but would not check in any files nor...
Read more >
Npm-update and npm-version cli commands - w3resource
inc (one of patch, minor, major, prepatch, preminor, premajor, prerelease), or from-git. In the second case, the existing version is incremented ...
Read more >
version | Dev Cheatsheets - Michael Currin
This NPM command allows easy incrementing in both package files and git tags, with a given tag or increment level. ... Run this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found