self-dep link breaks nx workspaces
isaacs opened this issue · 0 comments
isaacs commented
Getting ELOOP errors because a link is unnecessarily set in src/node_modules/<pkgname>
temporarily, and dist/node_modules/<pkgname>
permanently.
Plus, it's just unnecessary if the pkg is already linked somewhere, because TS and node will find it just fine.
Detect this case, and skip the self-dep link.