File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,7 +111,13 @@ const headCell = `sticky z-10 bg-neutral-50 text-center font-semibold dark:bg-ne
111111 :colspan =" ALL_KEYS.length + 1"
112112 class =" border-b border-neutral-200 bg-sky-50/70 px-6 py-2 text-left font-semibold dark:border-neutral-700/80 dark:bg-sky-900/25"
113113 >
114- <code >{{ group.name }}</code >
114+ <a
115+ :href =" `https://www.npmjs.com/package/${group.name}`"
116+ target =" _blank"
117+ rel =" noopener"
118+ class =" hover:text-declared hover:underline"
119+ :title =" `${group.name} on npm`"
120+ ><code >{{ group.name }}</code ></a >
115121 <span class =" ml-2 text-xs font-normal text-neutral-500 dark:text-neutral-400" >{{ group.total }} releases</span >
116122 </th >
117123 </tr >
@@ -122,7 +128,13 @@ const headCell = `sticky z-10 bg-neutral-50 text-center font-semibold dark:bg-ne
122128 :class =" border"
123129 class =" px-6 py-3 text-left align-top font-medium group-hover:bg-neutral-50 dark:group-hover:bg-neutral-800/70"
124130 >
125- <code >{{ version }}</code >
131+ <a
132+ :href =" `https://www.npmjs.com/package/${group.name}/v/${version}`"
133+ target =" _blank"
134+ rel =" noopener"
135+ class =" hover:text-declared hover:underline"
136+ :title =" `${group.name}@${version} on npm`"
137+ ><code >{{ version }}</code ></a >
126138 <div class =" mt-1 flex flex-wrap items-center gap-x-2 gap-y-1" >
127139 <span
128140 v-for =" tag in group.tags.get(version) ?? []"
You can’t perform that action at this time.
0 commit comments