Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to "Dependency tree" even on unpublished packages #132

Open
fregante opened this issue Jul 26, 2021 · 0 comments · May be fixed by #179
Open

Link to "Dependency tree" even on unpublished packages #132

fregante opened this issue Jul 26, 2021 · 0 comments · May be fixed by #179

Comments

@fregante
Copy link
Member

Sometimes I visit regular repos like this one and I cannot explore its dependencies because the link is only visible for packages on npm:

{#if isPublic}
<HeaderLink href="https://www.npmjs.com/package/{package_.name}" label="npm"/>
<HeaderLink href="https://npm.runkit.com/{package_.name}" label="RunKit"/>
<details class="dropdown details-reset details-overlay d-inline-block BtnGroup-parent">
<summary class="btn btn-sm BtnGroup-item" aria-haspopup="true">
<div class="dropdown-caret m-0"></div>
</summary>
<ul class="dropdown-menu dropdown-menu-sw">
<li><a class="dropdown-item" href="https://www.unpkg.com/browse/{package_.name}@latest/">Contents</a></li>
<li><a class="dropdown-item" href="https://bundlephobia.com/result?p={package_.name}">BundlePhobia</a></li>
<li><a class="dropdown-item" href="https://packagephobia.com/result?p={package_.name}">PackagePhobia</a></li>
<li><a class="dropdown-item" href="https://npm.broofa.com/?q={package_.name}">Dependency tree</a></li>

This depends on:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant