From 3f96ff911588c517dc2d924f55ef28a25c30bd33 Mon Sep 17 00:00:00 2001 From: Damian Tarnawsky <84595830+dtarnawsky@users.noreply.github.com> Date: Wed, 10 Apr 2024 07:01:09 -0700 Subject: [PATCH] feat(cli): Support bun when running cap migrate (#7386) --- cli/src/tasks/migrate.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cli/src/tasks/migrate.ts b/cli/src/tasks/migrate.ts index b9f15d0e8..ff14c7dee 100644 --- a/cli/src/tasks/migrate.ts +++ b/cli/src/tasks/migrate.ts @@ -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); @@ -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', @@ -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, });