-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] npm 9 does not handle workspace versioning done outside of npm version
#5967
Comments
npm version
This is no longer reproducible by default in But it is still a bug and I was able to write a failing test (ref: #6150) to isolate this behavior. The gist is that Keeping this open since we will still want to track and fix this behavior even though |
Enable CorePack in create-release-pr.yml npm 9.3.1 break lerna lerna/lerna#3455 npm/cli#5967
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Currently a
lerna
monorepo that is usingnpm
< 9 workspaces under the hood runningwould resolve as expected w/ bumping the versions of the packages. However running the same sequence generates this below
Expected Behavior
Once the above commands are run it should continue with lerna's process of bumping the package version and pushing of git tags
Steps To Reproduce
npm install
npx lerna version patch
Environment
The text was updated successfully, but these errors were encountered: