Skip to content

fix: resolve symlink in workspace node_modules when --workspace flag …#9159

Open
yetanotheraryan wants to merge 1 commit intonpm:latestfrom
yetanotheraryan:latest
Open

fix: resolve symlink in workspace node_modules when --workspace flag …#9159
yetanotheraryan wants to merge 1 commit intonpm:latestfrom
yetanotheraryan:latest

Conversation

@yetanotheraryan
Copy link
Copy Markdown

What / Why

Fixes workspace-targeted npm link so the symlink is created inside the selected workspace instead of being reified at the project root.

This is a minimal command-level change in npm link for the --workspace + args case. It preserves existing non-workspace behavior and adds regression coverage for the workspace install location.

References

Fixes #9115

@yetanotheraryan yetanotheraryan requested a review from a team as a code owner March 29, 2026 05:10
@yetanotheraryan
Copy link
Copy Markdown
Author

@owlstronaut Please review and let me know if anything needs to be changed.

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.

[BUG] npm --workspace=<ws> link <path> doesn't setup symlink in workspace

1 participant