-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 release
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
- run
npm versionfor workspaces with-w <workspace>args - see only changed
package.jsonbut not change lockfile
Expected Behavior
run npm version -w <workspace> need adjust new version of workspace package in package-lock.json
As it said in npm cli docs:
Run this(
npm version) in a package directory to bump the version and write the new data back to package.json, package-lock.json, and, if present, npm-shrinkwrap.json.
Steps To Reproduce
- run
npm versionfor workspaces with-w <workspace>args - see only changed
package.jsonbut not change lockfile - for verify whether lockfile need update, I have run
npm install - yes,
lockfilechanged
Environment
- npm: 8.3.0
- Node: 16.8.0
- OS: macOS 11.15
- platform: Mac
- npm config:
audit = false
fund = false
if-present = true
ignore-scripts = false
yes = true
digitaltopo
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 release


