feat: List bun as an experimental option in wxt init (#233)

This commit is contained in:
Aaron
2023-11-11 15:45:29 -06:00
committed by GitHub
parent 44d715a29e
commit 077fa9939e
+7 -3
View File
@@ -41,9 +41,13 @@ export async function initialize(options: {
type: () => (options.packageManager == null ? 'select' : undefined),
message: 'Package Manager',
choices: [
{ title: 'npm', value: 'npm' },
{ title: 'pnpm', value: 'pnpm' },
{ title: 'yarn', value: 'yarn' },
{ title: pc.red('npm'), value: 'npm' },
{ title: pc.yellow('pnpm'), value: 'pnpm' },
{ title: pc.cyan('yarn'), value: 'yarn' },
{
title: `${pc.magenta('bun')}${pc.gray(' (experimental)')}`,
value: 'bun',
},
],
},
],