-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
2bd12b1
to
fc1bdbc
Compare
fc1bdbc
to
d4176c3
Compare
great work @meeroslav ! would it also be useful to raise an error if the |
d4176c3
to
1f09f2a
Compare
8e76559
to
d81af51
Compare
result[key] = snapshot; | ||
} else { | ||
snapshot['dev'] = false; // all dependencies are prod | ||
if (lockfileVersion < 9) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this
This is amazing news! That’s the last link in the chain needed for pnpm@9 support for Nx 🙌 thank you so much |
- [X] Fix parenthesis separator detection - [x] Fix leading dash detection - [x] Migrate existing pnpm normalizer to latest code - [X] Add unit tests for v9 - [X] Dogfooding Pnpm v9 to Nx repo and agents Fixes regression with alias packages introduced via #23017 ## Benchmarks PNPM v9 Branch (migrated to branch's code) ``` Time (mean ± σ): 3.526 s ± 0.081 s [User: 0.717 s, System: 0.948 s] Range (min … max): 3.390 s … 3.714 s 20 runs ``` Master (running nx 19.1.0-beta.3) ``` Time (mean ± σ): 11.160 s ± 0.112 s [User: 0.799 s, System: 0.979 s] Range (min … max): 10.955 s … 11.379 s 20 runs ``` ## Current Behavior <!-- This is the behavior we have today --> ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #22850 Fixes #23256 --------- Co-authored-by: James Henry <[email protected]>
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Fixes regression with alias packages introduced via #23017
Benchmarks
PNPM v9 Branch (migrated to branch's code)
Master (running nx 19.1.0-beta.3)
Current Behavior
Expected Behavior
Related Issue(s)
Fixes #22850
Fixes #23256