-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
Current Behavior
After update of lerna to 8.2.1, packages which has peer: true in package-lock.json are removed from the file on lerna version ${version} --no-git-tag-version --force-publish --yes. It causes npm install to crash as package-lock.json is changed.
Expected Behavior
lerna version ${version} --no-git-tag-version --force-publish --yes doesn't remove these packages.
Steps to Reproduce
- Install
deck.glpackage withnpm install deck.gl - Use
lerna version ${version} --no-git-tag-version --force-publish --yescommand to bump version. arcgisdependencies which havepeer:trueare removed from package-lock
The same thing happens on the version 8.2.0. The dependencies are not being removed on version 8.1.9
Failure Logs / Configuration
node version: 18.20.0
npm version: 10.5.0
lerna.json
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.160.0-SNAPSHOT",
"hoist": true
}
lumirlumir, garryfreeman, JohnSigs, skymutof, thompsonaaron and 1 more