Skip to content

feat(nm): Add support for user-defined <workspace>/node_modules symlinks#6416

Merged
larixer merged 5 commits intomasterfrom
larixer/nm-user-defined-ws-symlinks
Aug 11, 2024
Merged

feat(nm): Add support for user-defined <workspace>/node_modules symlinks#6416
larixer merged 5 commits intomasterfrom
larixer/nm-user-defined-ws-symlinks

Conversation

@larixer
Copy link
Copy Markdown
Member

@larixer larixer commented Jul 26, 2024

What's the problem this PR addresses?

Fixes: #6415

How did you fix it?

Now the node-modules linker do not try to delete or recreate <any_workspace>/node_modules directories if they are symlinks and the underlying dependencies were removed or newly added.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

Copy link
Copy Markdown

@dgoldstein0 dgoldstein0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the quick turnaround here! a few questions inline

Comment thread packages/acceptance-tests/pkg-tests-specs/sources/node-modules.test.ts Outdated
@larixer larixer added this pull request to the merge queue Aug 11, 2024
Merged via the queue into master with commit 7fab4f1 Aug 11, 2024
@larixer larixer deleted the larixer/nm-user-defined-ws-symlinks branch August 11, 2024 07:22
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.

[Feature]: Using node_modules as symlink throws 'Error: ENOTDIR: not a directory, rmdir' with node-modules linker

3 participants