Skip to content

fix(gvs): expose hoisted aliases in package directories#11119

Open
raashish1601 wants to merge 1 commit intopnpm:mainfrom
raashish1601:lane/pnpm-9618
Open

fix(gvs): expose hoisted aliases in package directories#11119
raashish1601 wants to merge 1 commit intopnpm:mainfrom
raashish1601:lane/pnpm-9618

Conversation

@raashish1601
Copy link
Copy Markdown

Fixes #9618.

Summary

  • expose hoisted transitive aliases inside global virtual store package directories during linking and restore paths
  • add a regression that executes from inside a global virtual store package and proves a hoisted transitive import resolves
  • align GVS runtime resolution on Windows more closely with the standard .pnpm layout behavior

Validation

  • reproduced the original Windows failure against maple-font-page v7.3.1 with [email protected]
  • corepack pnpm exec jest test/install/globalVirtualStore.ts --runInBand
  • focused regression passed (20 passed)

Notes

  • a broader tsgo --build installing/deps-restorer installing/deps-installer run still hits an unrelated existing type error in lockfile/to-pnp/src/index.ts

@raashish1601 raashish1601 requested a review from zkochan as a code owner March 27, 2026 16:57
@welcome
Copy link
Copy Markdown

welcome bot commented Mar 27, 2026

💖 Thanks for opening this pull request! 💖
Please be patient and we will get back to you as soon as we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fail to find package in global virtual store

1 participant