Skip to content

Commit

Permalink
feat(cli): Support bun when running cap migrate (#7386)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtarnawsky committed Apr 10, 2024
1 parent c79211e commit 3f96ff9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli/src/tasks/migrate.ts
Expand Up @@ -95,7 +95,7 @@ export async function migrateCommand(
};

const monorepoWarning =
'Please note this tool is not intended for use in a mono-repo enviroment, please check out the Ionic vscode extension for this functionality.';
'Please note this tool is not intended for use in a mono-repo environment, please check out the Ionic vscode extension for this functionality.';

logger.info(monorepoWarning);

Expand All @@ -119,7 +119,7 @@ export async function migrateCommand(
const { depInstallConfirm } = noprompt
? { depInstallConfirm: 'y' }
: await logPrompt(
`Would you like the migrator to run npm, yarn, or pnpm install to install the latest versions of capacitor packages? (Those using other package managers should answer N)`,
`Would you like the migrator to run npm, yarn, pnpm, or bun install to install the latest versions of capacitor packages? (Those using other package managers should answer N)`,
{
type: 'text',
name: 'depInstallConfirm',
Expand All @@ -144,6 +144,7 @@ export async function migrateCommand(
{ title: 'NPM', value: 'npm' },
{ title: 'Yarn', value: 'yarn' },
{ title: 'PNPM', value: 'pnpm' },
{ title: 'Bun', value: 'bun' },
],
initial: 0,
});
Expand Down

0 comments on commit 3f96ff9

Please sign in to comment.