17968 Commits

Author SHA1 Message Date
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
Norbert de Langen
2bf6c2737a
Merge pull request #30841 from storybookjs/norbert/viewport-background-addon
Addons: Update the Viewport and Background Addon
2025-03-24 14:24:33 +01:00
Norbert de Langen
991d6692a7
Update code/addons/viewport/template/stories/globals.stories.ts
Co-authored-by: Valentin Palkovic <valentin@chromatic.com>
2025-03-24 14:24:11 +01: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
0b4c493e78
Merge pull request #30865 from storybookjs/kasper/show-add-output
CLI: Make sure that the add commands logs all output to the console
2025-03-21 16:55:54 +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
1cbf2a2689
Merge branch 'norebrt/docs-out-of-essentials' into norbert/addon-controls-in-core 2025-03-21 13:16:02 +01:00
Norbert de Langen
43129b5eba
Merge branch 'norbert/viewport-background-addon' into norebrt/docs-out-of-essentials 2025-03-21 13:15:20 +01:00
Norbert de Langen
2717d54e80
Merge branch 'next' into norbert/viewport-background-addon 2025-03-21 13:14:59 +01:00
Norbert de Langen
e436c5d672
Merge branch 'norbert/viewport-background-addon' into norebrt/docs-out-of-essentials 2025-03-21 13:14:43 +01: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
8aa77a0258
Merge branch 'norebrt/docs-out-of-essentials' into norbert/addon-controls-in-core 2025-03-21 09:20:46 +01:00
Norbert de Langen
cac1f17a13 Update migration documentation to reflect the removal of the docs addon from addon-essentials and adjust README for main.ts configuration. Ensure clarity on the new installation process for addon-docs. 2025-03-21 09:20:17 +01:00
Kasper Peulen
039ca1a733 Fix: Handle non-configurable properties in instrumenter for expect.toThrow 2025-03-20 23:52:35 +01:00
Kasper Peulen
54c6d58cad Revert "Fix: Handle non-configurable properties in instrumenter for expect.toThrow"
This reverts commit 70e27245888a7c549a3a77b12015dd96956f3ac7.
2025-03-20 23:48:03 +01:00
Kasper Peulen
70e2724588 Fix: Handle non-configurable properties in instrumenter for expect.toThrow 2025-03-20 23:37:32 +01:00
Norbert de Langen
29ff89b9b2 Merge branch 'norbert/addon-controls-in-core' of https://github.com/storybookjs/storybook into norbert/addon-controls-in-core 2025-03-20 15:51:58 +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
Norbert de Langen
07ff9991b1
Discard changes to code/core/tsconfig.json 2025-03-20 15:40:56 +01:00
Norbert de Langen
1be2ccdea4 Update e2e tests to navigate to the correct Storybook path for core controls 2025-03-20 13:40:26 +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
Norbert de Langen
a8b06f5e22 Clarify architectural considerations for handling embedded addons in core. Added detailed comments regarding the future of inferControls and the need for a decision on addon integration. 2025-03-20 11:34:30 +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
032f0e160f Remove unused addon control entries from Storybook main configuration 2025-03-20 10:29:10 +01:00
Norbert de Langen
867d8b3afb Add control manager entry to common-preset.ts for Storybook integration 2025-03-20 10:26:43 +01:00
Norbert de Langen
816107a48a Remove '@storybook/addon-controls' from package.json and related files, migrating its functionality into core. Update dependencies and documentation accordingly. 2025-03-20 10:16:38 +01:00
Norbert de Langen
213f51abd4
Merge branch 'next' into norebrt/docs-out-of-essentials 2025-03-19 16:29:58 +01:00
Norbert de Langen
d1e0712b9e Remove unused '@storybook/addon-essentials/docs/mdx-react-shim' from optimizeViteDeps in preset.ts 2025-03-19 16:28:01 +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
4113cd8491 Remove unused '@storybook/addon-essentials/docs/preview' from INCLUDE_CANDIDATES in optimizeDeps.ts 2025-03-19 16:01:20 +01:00
Norbert de Langen
51cdef6012
Merge branch 'next' into norbert/viewport-background-addon 2025-03-19 15:15:16 +01:00
Norbert de Langen
3c08acd034
Merge branch 'next' into norebrt/docs-out-of-essentials 2025-03-19 15:14:22 +01:00
storybook-bot
68dcba71ed Write changelog for 9.0.0-alpha.8 [skip ci] 2025-03-19 14:10:31 +00:00
storybook-bot
30ea85a129 Merge branch 'next-release' into next 2025-03-19 14:07:59 +00:00
Norbert de Langen
5ae5a9c8b4 Merge branch 'norebrt/docs-out-of-essentials' of https://github.com/storybookjs/storybook into norebrt/docs-out-of-essentials 2025-03-19 15:06:32 +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
3e4608d62b
Merge branch 'next' into norebrt/docs-out-of-essentials 2025-03-19 15:05:42 +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
e306469ec6 Add @storybook/addon-docs to the Storybook configuration for enhanced documentation support 2025-03-19 14:26:56 +01:00
Norbert de Langen
2585fc9232 Update README to include new valid addon keys and clarify docs addon separation 2025-03-19 14:21:32 +01:00
Kasper Peulen
83b7776e72 Make sure that telemetry doesn't fail on init 2025-03-19 14:15:41 +01:00