Skip to content

Commit d76ee23

Browse files
authored
feat: add socket.dev link into package command palette (#2481)
1 parent bec2f2f commit d76ee23

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/components/Package/ExternalLinks.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,15 @@ useCommandPaletteContextCommands(
117117
})
118118
}
119119
120+
commands.push({
121+
id: 'package-link-socket.dev',
122+
group: 'links',
123+
label: 'socket.dev',
124+
keywords: [...packageKeywords, 'socket.dev'],
125+
iconClass: 'i-simple-icons:socket',
126+
href: `https://socket.dev/npm/package/${props.pkg.name}`,
127+
})
128+
120129
commands.push({
121130
id: 'package-link-npm',
122131
group: 'links',

0 commit comments

Comments
 (0)