1032 Commits

Author SHA1 Message Date
Valentin Palkovic
76b4932c31 Refactor StoryIndexGenerator to remove deprecated autodocs option and update tests accordingly 2025-03-25 19:29:47 +01:00
Valentin Palkovic
e160c7e286 Merge remote-tracking branch 'origin/next' into valentin/remove-addon-interactions-2 2025-03-25 13:49:46 +01:00
Norbert de Langen
5016a597e5 Merge branch 'next' into norbert/addon-viewport-in-core 2025-03-25 12:35:56 +01:00
Norbert de Langen
96c4771e8d Merge branch 'next' into norbert/addon-toolbar-in-core 2025-03-25 12:09:25 +01:00
Norbert de Langen
090ad8a4ea Merge branch 'next' into norbert/addon-controls-in-core 2025-03-25 11:21:41 +01:00
Valentin Palkovic
a506bce824 Add automigration to remove addon-interactions from the user's codebase 2025-03-25 10:58:31 +01:00
Norbert de Langen
404e2213e1
Merge branch 'next' into norebrt/docs-out-of-essentials 2025-03-25 10:38:13 +01:00
Valentin Palkovic
ae5ce6b2ca Merge remote-tracking branch 'origin/next' into valentin/remove-addon-interactions-2 2025-03-24 21:53:26 +01:00
storybook-bot
959f8cbaed Bump version from "9.0.0-alpha.8" to "9.0.0-alpha.9" [skip ci] 2025-03-24 16:32:04 +00:00
Michael Shilman
612ffb1a9e Update rnstorybook-config.test.ts 2025-03-24 23:17:01 +08:00
Norbert de Langen
18e48f8a76 Merge branch 'norbert/addon-toolbar-in-core' into norbert/addon-viewport-in-core 2025-03-24 16:13:37 +01:00
Norbert de Langen
330fe2536e
Merge branch 'norbert/addon-controls-in-core' into norbert/addon-toolbar-in-core 2025-03-24 16:08:46 +01:00
Norbert de Langen
eeef6bb118
Merge branch 'norebrt/docs-out-of-essentials' into norbert/addon-controls-in-core 2025-03-24 15:45:48 +01:00
Norbert de Langen
5f0e5b2b5a Remove unused import of getStorybookVersionSpecifier in addon-essentials migration files. Simplify the run function parameters by removing the skipInstall option. 2025-03-24 15:43:50 +01:00
Norbert de Langen
2b569da990
Merge branch 'next' into norebrt/docs-out-of-essentials 2025-03-24 15:35:14 +01:00
Norbert de Langen
e1064ce87e Refactor prompt messages in addon-essentials migration to use picocolors for improved readability. Updated messages to clearly indicate the removal of @storybook/addon-docs from @storybook/addon-essentials. 2025-03-24 15:31:29 +01:00
Norbert de Langen
597d522516 Enhance addon-essentials migration logic to check for docs addon presence and update configuration accordingly. Added new tests to validate changes, including handling of options and installation of addon-docs when necessary. 2025-03-24 15:29:19 +01:00
Valentin Palkovic
c63bfd6b06 Remove addon-interactions 2025-03-24 13:52:31 +01:00
Norbert de Langen
7fbfbf2eb7 Add '@storybook/addon-viewport' to consolidatedPackages for improved addon management. 2025-03-24 12:40:58 +01:00
Michael Shilman
1160b19e7b
Merge branch 'next' into shilman/rnstorybook-automigration 2025-03-24 08:21:04 +08:00
Michael Shilman
0b3bb5e04f Rnstorybook automigration - add storybook.requires check 2025-03-23 11:42:59 +08:00
Michael Shilman
ee679d207a React-Native: Rename rnstorybook automigration 2025-03-23 00:35:05 +08:00
Michael Shilman
ae61a53f65 React-Native: Update .storybook references in automigration 2025-03-23 00:27:14 +08:00
Kasper Peulen
5cc4825ab1
Merge pull request #30861 from storybookjs/kasper/sb-doctor
CLI: Add detection for the storybook package being behind any other core packages
2025-03-21 17:39:34 +01:00
Kasper Peulen
9bf4dd07a8 CLI: Update doctor test snapshot to match new user-friendly message 2025-03-21 16:51:36 +01:00
Norbert de Langen
aaf52da51b Add '@storybook/addon-toolbars' to consolidatedPackages for improved addon management. 2025-03-21 13:35:29 +01:00
Michael Shilman
312feec86f Update MIGRATION.md 2025-03-21 20:26:51 +08:00
Michael Shilman
6309f9085e Merge branch 'next' into shilman/rnstorybook-automigration 2025-03-21 20:14:40 +08:00
Michael Shilman
96efdf4848 CLI: Add React Native .rnstorybook CLI automigration 2025-03-21 20:05:03 +08:00
Kasper Peulen
f8cbe33786 Update message for incompatible Storybook packages 2025-03-21 12:37:18 +01:00
Kasper Peulen
d595941b2e CLI: Check for packageVersion 2025-03-21 12:33:03 +01:00
Norbert de Langen
ce7a01ac5d Refactor package.json to remove deprecated control entries and update script definitions for controls in entries.ts. Add '@storybook/addon-controls' to consolidated packages for better integration. 2025-03-20 15:51:40 +01:00
Kasper Peulen
8d23af7639 Fix unit tests 2025-03-20 15:45:48 +01:00
Kasper Peulen
2d8a373146 Make sure that the add commands logs all output to the console 2025-03-20 12:32:32 +01:00
Kasper Peulen
9e8ed3ee17 Add detection for the storybook package being behind any other core packages 2025-03-20 11:14:38 +01:00
Norbert de Langen
213f51abd4
Merge branch 'next' into norebrt/docs-out-of-essentials 2025-03-19 16:29:58 +01:00
storybook-bot
5b4401b2e1 Bump version from "9.0.0-alpha.7" to "9.0.0-alpha.8" [skip ci] 2025-03-19 15:15:35 +00:00
Norbert de Langen
3c08acd034
Merge branch 'next' into norebrt/docs-out-of-essentials 2025-03-19 15:14:22 +01:00
Norbert de Langen
f31f39416c Add test for handling missing essentials addon in addon-essentials-remove-docs migration
Implemented a new test case to verify that the migration logic correctly handles scenarios where the @storybook/addon-essentials is not present in the configuration. This ensures that no modifications are made when essentials are missing, enhancing the robustness of the migration process.
2025-03-19 15:06:20 +01:00
Norbert de Langen
da61b3250c Add safety check for essentials presence in addon-essentials-remove-docs migration
Implemented a safety check to ensure that the @storybook/addon-essentials is present before attempting to modify its configuration. This prevents potential errors when the essentials are not found.
2025-03-19 15:05:14 +01:00
Norbert de Langen
983baa01ab Update Migration interface to specify return type for check method in addon-essentials-remove-docs test 2025-03-19 15:04:03 +01:00
Norbert de Langen
23acfb59d2 Refactor addon-essentials-remove-docs migration to use mock configuration for testing
Removed the mainConfigPath from the AddonDocsOptions interface and updated tests to utilize a mock configuration object instead of reading from a file. This enhances the clarity and maintainability of the migration logic.
2025-03-19 15:00:50 +01:00
storybook-bot
7a9a03f097 Bump version from "9.0.0-alpha.6" to "9.0.0-alpha.7" [skip ci] 2025-03-19 13:58:24 +00:00
Norbert de Langen
3e5ec2e487 Add migration for @storybook/addon-docs removal from essentials
Implement a migration that checks for the presence of @storybook/addon-essentials in the configuration. If found, it either removes the docs configuration if disabled or installs @storybook/addon-docs if enabled. Update the main configuration accordingly. Add tests to ensure correct functionality.
2025-03-19 13:45:17 +01:00
Kasper Peulen
6a97e32621 Add module option to nuxi, so that it is not asked interactively 2025-03-18 11:40:13 +01:00
storybook-bot
c7b4a8fe60 Bump version from "9.0.0-alpha.5" to "9.0.0-alpha.6" [skip ci] 2025-03-17 14:48:53 +00:00
storybook-bot
629fd6381c Bump version from "9.0.0-alpha.4" to "9.0.0-alpha.5" [skip ci] 2025-03-16 18:36:33 +00:00
storybook-bot
25ec4e90e0 Bump version from "9.0.0-alpha.3" to "9.0.0-alpha.4" [skip ci] 2025-03-14 14:59:06 +00:00
Norbert de Langen
3e16646fa0
Merge branch 'next' into valentin/move-addon-actions-into-core 2025-03-13 14:51:21 +01:00
Norbert de Langen
a17039bc0a Add renderer-to-framework migration fix
Introduced a new migration fix to transition from renderer-based to framework-based configuration in Storybook. Updated prompts to inform users about detected frameworks and the changes that will be made to their project, including updating imports, removing renderer packages, and installing necessary dependencies.
2025-03-13 12:44:00 +01:00