mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
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:
commit
36a59afdb2
@ -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:
|
||||
|
@ -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')}'`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user