Add pnpm-aliased-chain regression fixture (#528)#559
Open
Ayush7614 wants to merge 1 commit into
Open
Conversation
Minimal pnpm v9 lockfile reproducing the formisch/vm2 alias bug: deep transitive vm2@3.9.19 through @remix-run/dev → @vercel/remix-run-dev. Path resolution must keep the real package name and suggest pnpm add vercel.
Contributor
Author
|
cc: @sonukapoor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
examples/pnpm-aliased-chain/for Discussion Help wanted: edge case lockfile fixtures for regression testing #528 fixture 6vercel→@vercel/remix-builder→@remix-run/dev(alias →@vercel/remix-run-dev) →vm2@3.9.19'@remix-run/dev': '@vercel/remix-run-dev@1.16.1'— dep name differs from real package nameexamples/readme.mdVerified scan output
pnpm-lock.yamlvm2@3.9.19(transitive)project → vercel → @vercel/remix-builder → @vercel/remix-run-dev → vm2(real name, not alias)pnpm add vercel@32.0.2(parent upgrade — not a broken direct-install on the alias name)Test plan
node dist/index.js examples/pnpm-aliased-chain --verbose→ correct 5-hop path through aliased intermediatetests/parsers.test.ts— "resolves transitive paths through pnpm v9 aliased dependencies"Closes Discussion #528 fixture 6 (regression fixture).