Skip to content
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

feat(core): add support for pnpm lockfile v9 #22906

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

meeroslav
Copy link
Contributor

@meeroslav meeroslav commented Apr 19, 2024

  • Fix parenthesis separator detection
  • Fix leading dash detection
  • Migrate existing pnpm normalizer to latest code
  • Add unit tests for v9
  • Dogfooding Pnpm v9 to Nx repo and agents

Current Behavior

Expected Behavior

Related Issue(s)

Fixes #22850

Potentially fixes #23256

@meeroslav meeroslav self-assigned this Apr 19, 2024
@meeroslav meeroslav requested a review from a team as a code owner April 19, 2024 12:10
Copy link

vercel bot commented Apr 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview May 17, 2024 6:43pm

@mattfysh
Copy link

great work @meeroslav ! would it also be useful to raise an error if the lockfileVersion encountered is outside the expected range?

@mattfysh
Copy link

@meeroslav please don't blindly accept lockfiles whose versions are higher than 9, this is how the release of pnpm v9 caused all sorts of issues that didn't immediately map back to lockfile format support

please, if the lockfileVersion > 9 then throw an error to indicate that nx does not support that lockfile - this will save a lot of headaches in future

@meeroslav
Copy link
Contributor Author

Thank you @mattfysh, that's a good feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: core core nx functionality
Projects
None yet
3 participants