danmakenoise / link-status

A simple CLI to display all of the Node modules you have currently linked through `npm link`.
7 stars 2 forks source link

Source Paths Reflect NVM Shims, Not Actual Links #2

Open danmakenoise opened 7 years ago

danmakenoise commented 7 years ago

Currently when running the -s flag, sym links are shown, but they are really just the nvm shims for the links. It would be nice to follow the symlink through to give an actual directory.

Example: ../../../.nvm/versions/node/v6.9.1/lib/node_modules/semistandard

Versus: /Users/me/dev/semistandard

danmakenoise commented 7 years ago

@orrybaram do you want to try out the beta of this and see if sources map through for you? npm install -g link-status@beta should get you v1.2.0-1

orrybaram commented 7 years ago
screen shot 2017-01-12 at 12 40 47 am
danmakenoise commented 7 years ago

So you are saying it doesn't work @orrybaram haha.

danmakenoise commented 7 years ago

I think I coupled it too tightly with my own directory structure by accident.

orrybaram commented 7 years ago

Yeah, doesnt look like it worked for me

danmakenoise commented 7 years ago

@orrybaram try it without pretty print. just realized I didn't hook it up in there yet. good sign I need to refactor some things.