|
1 | 1 | import type { JsrPackageInfo } from '#shared/types/jsr' |
2 | 2 |
|
| 3 | +// @unocss-include |
3 | 4 | export const packageManagers = [ |
4 | | - { id: 'npm', label: 'npm', action: 'install', execute: 'npx' }, |
5 | | - { id: 'pnpm', label: 'pnpm', action: 'add', execute: 'pnpm dlx' }, |
6 | | - { id: 'yarn', label: 'yarn', action: 'add', execute: 'yarn dlx' }, |
7 | | - { id: 'bun', label: 'bun', action: 'add', execute: 'bunx' }, |
8 | | - { id: 'deno', label: 'deno', action: 'add', execute: 'deno run' }, |
9 | | - { id: 'vlt', label: 'vlt', action: 'install', execute: 'vlt x' }, |
| 5 | + { |
| 6 | + id: 'npm', |
| 7 | + label: 'npm', |
| 8 | + action: 'install', |
| 9 | + execute: 'npx', |
| 10 | + icon: 'i-simple-icons:npm', |
| 11 | + }, |
| 12 | + { |
| 13 | + id: 'pnpm', |
| 14 | + label: 'pnpm', |
| 15 | + action: 'add', |
| 16 | + execute: 'pnpm dlx', |
| 17 | + icon: 'i-simple-icons:pnpm', |
| 18 | + }, |
| 19 | + { |
| 20 | + id: 'yarn', |
| 21 | + label: 'yarn', |
| 22 | + action: 'add', |
| 23 | + execute: 'yarn dlx', |
| 24 | + icon: 'i-simple-icons:yarn', |
| 25 | + }, |
| 26 | + { id: 'bun', label: 'bun', action: 'add', execute: 'bunx', icon: 'i-simple-icons:bun' }, |
| 27 | + { |
| 28 | + id: 'deno', |
| 29 | + label: 'deno', |
| 30 | + action: 'add', |
| 31 | + execute: 'deno run', |
| 32 | + icon: 'i-simple-icons:deno', |
| 33 | + }, |
| 34 | + { id: 'vlt', label: 'vlt', action: 'install', execute: 'vlt x', icon: 'i-custom-vlt' }, |
10 | 35 | ] as const |
11 | 36 |
|
12 | 37 | export type PackageManagerId = (typeof packageManagers)[number]['id'] |
|
0 commit comments