Merge pull request #21475 from storybookjs/shilman/automigration-qa-fixes

CLI: Copy tweaks for automigrations
This commit is contained in:
Michael Shilman 2023-03-08 17:36:16 +08:00 committed by GitHub
commit a7d76d46cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -49,11 +49,11 @@ export const addReact: Fix<AddReactOptions> = {
return dedent`
We've detected that you're using ${dependentsFormatted}.
Starting in Storybook 7 we now require the following peer dependencies:
Starting in Storybook 7, we now require these peer dependencies to render docs:
${additionalDependenciesFormatted}
We can add these for you automatically.
We can add these for you automatically as dev dependencies.
More info: ${chalk.yellow(
'https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#react-peer-dependencies-required'

View File

@ -64,7 +64,7 @@ export const autodocsTrue: Fix<AutodocsTrueFrameworkRunOptions> = {
${autodocsFormatted}
${value === 'tag' ? tagWarning : ''}
More info: ${chalk.yellow(
'https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs'
'https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'
)}
`;
}
@ -77,7 +77,7 @@ export const autodocsTrue: Fix<AutodocsTrueFrameworkRunOptions> = {
${autodocsFormatted}
More info: ${chalk.yellow(
'https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs'
'https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes'
)}
`;
},