Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
npm version major/minor/patch
can change the version of the currently developednpm
package:package.json
git tag
... which makes it very nice to use to make a deploy using a single command.
Unfortunately, it reformats the
package.json
file into a more standard version. It's still 4 spaces, but a bit more verbose.I think the trade-off is worth it here, just to make releasing a bit easier.
Description
I ran
npm version patch
and only selectively added the things that do not change the version, thus making the diff smaller for an actual release.