Fix: [cli] updating "storybook" command

This commit is contained in:
Sulthan Mohaideen 2022-04-22 06:08:43 +05:30
parent 6dae6fdff9
commit 8aff5cb45c
2 changed files with 4 additions and 2 deletions

View File

@ -52,7 +52,7 @@ export const webpack5: Fix<Webpack5RunOptions> & CheckBuilder = {
To upgrade to the latest stable release, run this from your project directory:
${chalk.cyan('npx sb upgrade')}
${chalk.cyan('npx storybook upgrade')}
Add the ${chalk.cyan('--prerelease')} flag to get the latest prerelease.
`.trim()

View File

@ -52,7 +52,9 @@ export const automigrate = async ({ fixId, dryRun, yes }: FixOptions = {}) => {
} else {
logger.info(`Skipping the ${chalk.cyan(f.id)} fix.`);
logger.info();
logger.info(`If you change your mind, run '${chalk.cyan('npx sb@next automigrate')}'`);
logger.info(
`If you change your mind, run '${chalk.cyan('npx storybook@next automigrate')}'`
);
}
}
}