diff options
author | Steven R. Loomis <srl295@gmail.com> | 2018-03-22 19:06:09 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2018-04-11 04:22:51 +0300 |
commit | ab489b75362348f412c002cf795a31dea6420ef0 (patch) | |
tree | ac441d7ac762eb01260a29d29553049fee09cf6d /doc | |
parent | f8ec520732bda687bc58d9da0873dadb2d65ca96 (diff) |
doc: note that package-lock version gets touched by npm-version
Credit: @srl295
PR-URL: https://github.com/npm/npm/pull/20140
Reviewed-By: @iarna
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cli/npm-version.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/cli/npm-version.md b/doc/cli/npm-version.md index 5a9df4c1f..49f842fbb 100644 --- a/doc/cli/npm-version.md +++ b/doc/cli/npm-version.md @@ -12,7 +12,7 @@ npm-version(1) -- Bump a package version ## DESCRIPTION Run this in a package directory to bump the version and write the new -data back to `package.json` and, if present, `npm-shrinkwrap.json`. +data back to `package.json`, `package-lock.json`, and, if present, `npm-shrinkwrap.json`. The `newversion` argument should be a valid semver string, a valid second argument to [semver.inc](https://github.com/npm/node-semver#functions) (one of `patch`, `minor`, `major`, |