From 9abcb2bee55d0a6f117fdddeb7bab35eb850c399 Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Thu, 2 Oct 2025 17:39:29 +0100 Subject: [PATCH] Fix: Incorrect URLS for the upgrade command --- .../src/automigrate/helpers/logMigrationSummary.test.ts | 6 +++--- .../src/automigrate/helpers/logMigrationSummary.ts | 2 +- code/lib/cli-storybook/src/upgrade.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/lib/cli-storybook/src/automigrate/helpers/logMigrationSummary.test.ts b/code/lib/cli-storybook/src/automigrate/helpers/logMigrationSummary.test.ts index ddca7ea5f343..1c4f22ff5bc7 100644 --- a/code/lib/cli-storybook/src/automigrate/helpers/logMigrationSummary.test.ts +++ b/code/lib/cli-storybook/src/automigrate/helpers/logMigrationSummary.test.ts @@ -111,7 +111,7 @@ describe('logMigrationSummary', () => { The automigrations try to migrate common patterns in your project, but might not contain everything needed to migrate to the latest version of Storybook. - Please check the changelog and migration guide for manual migrations and more information: https://storybook.js.org/docs/migration-guide?ref=upgrade?ref=upgrade + Please check the changelog and migration guide for manual migrations and more information: https://storybook.js.org/docs/releases/migration-guide?ref=upgrade And reach out on Discord if you need help: https://discord.gg/storybook" `); }); @@ -132,7 +132,7 @@ describe('logMigrationSummary', () => { The automigrations try to migrate common patterns in your project, but might not contain everything needed to migrate to the latest version of Storybook. - Please check the changelog and migration guide for manual migrations and more information: https://storybook.js.org/docs/migration-guide?ref=upgrade?ref=upgrade + Please check the changelog and migration guide for manual migrations and more information: https://storybook.js.org/docs/releases/migration-guide?ref=upgrade And reach out on Discord if you need help: https://discord.gg/storybook" `); }); @@ -153,7 +153,7 @@ describe('logMigrationSummary', () => { The automigrations try to migrate common patterns in your project, but might not contain everything needed to migrate to the latest version of Storybook. - Please check the changelog and migration guide for manual migrations and more information: https://storybook.js.org/docs/migration-guide?ref=upgrade?ref=upgrade + Please check the changelog and migration guide for manual migrations and more information: https://storybook.js.org/docs/releases/migration-guide?ref=upgrade And reach out on Discord if you need help: https://discord.gg/storybook" `); }); diff --git a/code/lib/cli-storybook/src/automigrate/helpers/logMigrationSummary.ts b/code/lib/cli-storybook/src/automigrate/helpers/logMigrationSummary.ts index 4e16e97797a1..527b15db41ad 100644 --- a/code/lib/cli-storybook/src/automigrate/helpers/logMigrationSummary.ts +++ b/code/lib/cli-storybook/src/automigrate/helpers/logMigrationSummary.ts @@ -63,7 +63,7 @@ export function logMigrationSummary({ The automigrations try to migrate common patterns in your project, but might not contain everything needed to migrate to the latest version of Storybook. Please check the changelog and migration guide for manual migrations and more information: ${picocolors.yellow( - 'https://storybook.js.org/docs/migration-guide?ref=upgrade?ref=upgrade' + 'https://storybook.js.org/docs/releases/migration-guide?ref=upgrade' )} And reach out on Discord if you need help: ${picocolors.yellow('https://discord.gg/storybook')} `); diff --git a/code/lib/cli-storybook/src/upgrade.ts b/code/lib/cli-storybook/src/upgrade.ts index 2fc52b9caba5..0209de238178 100644 --- a/code/lib/cli-storybook/src/upgrade.ts +++ b/code/lib/cli-storybook/src/upgrade.ts @@ -263,7 +263,7 @@ function logUpgradeResults( } logger.log( - `For a full list of changes, please check our migration guide: ${CLI_COLORS.cta('https://storybook.js.org/docs/migration-guide?ref=upgrade?ref=upgrade')}` + `For a full list of changes, please check our migration guide: ${CLI_COLORS.cta('https://storybook.js.org/docs/releases/migration-guide?ref=upgrade')}` ); }