mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 06:23:00 +08:00
Fix: [cli] updating "storybook" command
This commit is contained in:
parent
6dae6fdff9
commit
8aff5cb45c
@ -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()
|
||||
|
@ -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')}'`
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user