Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Copy tweaks for automigrations #21475

Merged
merged 2 commits into from Mar 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions code/lib/cli/src/automigrate/fixes/add-react.ts
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions code/lib/cli/src/automigrate/fixes/autodocs-true.ts
Expand Up @@ -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'
)}
`;
}
Expand All @@ -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'
)}
`;
},
Expand Down