Merge pull request #16618 from fabiradi/16617-fix-migration-docs-sb-fix

Fix rename of "sb fix" into "sb automigrate"
This commit is contained in:
Michael Shilman 2021-11-06 14:56:20 +08:00 committed by GitHub
commit 36a59afdb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ Storybook 6.3 supports CRA5 out of the box when you install it fresh. However, i
upgrade the configuration. You can do this automatically by running:
```
npx sb@next fix
npx sb@next automigrate
```
Or you can do the following steps manually to force Storybook to use webpack 5 for building your project:

View File

@ -46,7 +46,7 @@ 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 fix')}'`);
logger.info(`If you change your mind, run '${chalk.cyan('npx sb@next automigrate')}'`);
}
}
}