diff --git a/packages/core/cli/src/commands/upgrade.js b/packages/core/cli/src/commands/upgrade.js index 2a68346ba..d1504a33a 100644 --- a/packages/core/cli/src/commands/upgrade.js +++ b/packages/core/cli/src/commands/upgrade.js @@ -12,9 +12,14 @@ module.exports = (cli) => { cli .command('upgrade') .allowUnknownOption() - .action(async () => { + .option('--raw') + .action(async (options) => { promptForTs(); const version = await getVersion(); + if (options.raw) { + await runAppCommand('upgrade'); + return; + } if (hasCorePackages()) { await run('yarn', ['install']); await runAppCommand('upgrade');