isaacs / tshy

Other
890 stars 18 forks source link

self-dep link breaks nx workspaces #4

Closed isaacs closed 1 year ago

isaacs commented 1 year ago

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.