-
Notifications
You must be signed in to change notification settings - Fork 665
[lockfile-explorer] Add support for PNPM 10 #5377
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
Conversation
| export interface IJsonLfxDependency { | ||
| name: string; | ||
| version: string; | ||
| versionPath: string; |
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.
Maybe leave a doc comment about what this is.
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.
These are just the serialized versions of the corresponding fields from LfxGraph
| dependencyType: LfxDependencyKind; | ||
| containingEntry: LfxGraphEntry; | ||
| peerDependencyMeta: IJsonPeerDependencyMeta; | ||
| versionPath: string; |
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.
Same here.
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.
These all have the same meaning as the corresponding fields in LfxGraph, since they are just its inputs
|
|
||
| The lockfiles were built from this repistory: | ||
|
|
||
| https://github.com/octogonz/lockfile-explorer-edge-cases |
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.
Why not just check them into this repo?
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.
We should do that. I was deliberating about whether to make it a separate repo like https://github.com/microsoft/rush-example
common/changes/@rushstack/lockfile-explorer/octogonz-lfx-pnpm-10_2025-10-03-05-47.json
Show resolved
Hide resolved
|
I'll address these minor points in the next PR |
Summary
Add support for PNPM 10 and fix lots of bugs with the lockfile parser
Details
This is the culmination of work from several recent PR's. It will be a major version bump for Lockfile Explorer.
How it was tested
Carefully analyzed the unit test cases for lockfile formats V5.4, V6.0, and V9.0
Impacted documentation
None.