nx icon indicating copy to clipboard operation
nx copied to clipboard

fix(core): ignore nested node_module paths for findProjectOfResolvedModule in TargetProjectLocator

Open meeroslav opened this issue 2 years ago • 2 comments

Current Behavior

TargetProjectLocator's findProjectOfResolvedModule will treat unknown imports as the source project if import is pointing to nested node_modules.

Expected Behavior

The findProjectOfResolvedModule should check if module path contains node_modules (not only if it starts with one)

Related Issue(s)

Fixes #15957

meeroslav avatar Jun 16 '23 13:06 meeroslav

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 1:19pm

vercel[bot] avatar Jun 16 '23 13:06 vercel[bot]

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

github-actions[bot] avatar Jun 24 '23 00:06 github-actions[bot]