[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: vlt exec alias (#1047)

authored by

Ruy Adorno and committed by
GitHub
f96c7b36 5ab76de9

+8 -8
+3 -3
app/utils/install-command.ts
··· 54 54 id: 'vlt', 55 55 label: 'vlt', 56 56 action: 'install', 57 - executeLocal: 'vlt x', 58 - executeRemote: 'vlt x', 59 - create: 'vlt x', 57 + executeLocal: 'vlx', 58 + executeRemote: 'vlx', 59 + create: 'vlx', 60 60 icon: 'i-custom-vlt', 61 61 }, 62 62 ] as const
+3 -3
test/unit/app/utils/install-command.spec.ts
··· 295 295 ['yarn', ['npx', 'eslint']], 296 296 ['bun', ['bunx', 'eslint']], 297 297 ['deno', ['deno', 'run', 'npm:eslint']], 298 - ['vlt', ['vlt', 'x', 'eslint']], 298 + ['vlt', ['vlx', 'eslint']], 299 299 ] as const)('%s → %s', (pm, expected) => { 300 300 expect( 301 301 getExecuteCommandParts({ ··· 314 314 ['yarn', ['yarn', 'dlx', 'degit']], 315 315 ['bun', ['bunx', 'degit']], 316 316 ['deno', ['deno', 'run', 'npm:degit']], 317 - ['vlt', ['vlt', 'x', 'degit']], 317 + ['vlt', ['vlx', 'degit']], 318 318 ] as const)('%s → %s', (pm, expected) => { 319 319 expect( 320 320 getExecuteCommandParts({ ··· 333 333 ['yarn', ['yarn', 'create', 'vite']], 334 334 ['bun', ['bun', 'create', 'vite']], 335 335 ['deno', ['deno', 'run', 'vite']], 336 - ['vlt', ['vlt', 'x', 'vite']], 336 + ['vlt', ['vlx', 'vite']], 337 337 ] as const)('%s → %s', (pm, expected) => { 338 338 expect( 339 339 getExecuteCommandParts({
+2 -2
test/unit/app/utils/run-command.spec.ts
··· 84 84 ['yarn', ['npx', 'eslint']], 85 85 ['bun', ['bunx', 'eslint']], 86 86 ['deno', ['deno', 'run', 'npm:eslint']], 87 - ['vlt', ['vlt', 'x', 'eslint']], 87 + ['vlt', ['vlx', 'eslint']], 88 88 ] as const)('%s (local) → %s', (pm, expected) => { 89 89 expect( 90 90 getRunCommandParts({ ··· 102 102 ['yarn', ['yarn', 'dlx', 'create-vite']], 103 103 ['bun', ['bunx', 'create-vite']], 104 104 ['deno', ['deno', 'run', 'npm:create-vite']], 105 - ['vlt', ['vlt', 'x', 'create-vite']], 105 + ['vlt', ['vlx', 'create-vite']], 106 106 ] as const)('%s (remote) → %s', (pm, expected) => { 107 107 expect( 108 108 getRunCommandParts({