feat: add link to node modules inspector#73
Conversation
|
@Gugustinette is attempting to deploy a commit to the danielroe Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
in the interests of keeping it tiday, I think this could go next to the 'dependencies' heading in the right pane, with no icon so: |
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| class="link-subtle font-mono text-sm inline-flex items-center gap-1.5" | ||
| > |
There was a problem hiding this comment.
maybe:
| > | |
| title="Inspect dependency tree on node-modules.dev" | |
| > |
|
Works great, @Gugustinette!
@danielroe alternatively or in addition, it could make sense as a second icon here? https://npmgraph.js.org/ + node-modules.dev (+ any future ones we may add... though maybe we should keep the tool selection opinionated) |
|
I was thinking the second one, but I think @serhalp is right - maybe a second icon next to the module graph |
|
Ye I also like that second icon solution. |



Resolves #52 by adding a link to Node Modules Inspector on packages.
Not sure if that's the best icon we could get from available sets, but a classic "file tree" icon might conflict with other part of the UI, which displays dependencies etc...
Also considering issues with having too much links displayed ? Maybe we could find another way to display all of these.