17621 Commits

Author SHA1 Message Date
Valentin Palkovic
2333ef63ce Additional cleanup 2025-03-11 12:25:00 +01:00
Valentin Palkovic
0bdd88d3bc Fix wrong imports 2025-03-11 12:13:31 +01:00
Valentin Palkovic
4803ad78c1 Add CJS fallback 2025-03-11 12:11:53 +01:00
Valentin Palkovic
224a31b268 Merge remote-tracking branch 'origin/next' into valentin/move-addon-actions-into-core 2025-03-11 12:06:04 +01:00
Valentin Palkovic
af8a04a6e4 Final fixes 2025-03-11 10:48:36 +01:00
Valentin Palkovic
405d4ecea6 Final fixes 2025-03-11 06:42:44 +01:00
Michael Shilman
bb2ad1a0d9
Merge branch 'next' into shilman/fix-rnw-test-install 2025-03-11 00:19:28 +08:00
Michael Shilman
a50ff74680 CLI: Fix test install in RNW projects 2025-03-11 00:15:54 +08:00
Jeppe Reinhold
ab4aa24a74
Merge pull request #30755 from storybookjs/yann/vitest-unhandled-errors
Addon Test: Improve unhandled error messages
2025-03-10 16:05:30 +01:00
Valentin Palkovic
733ff35575 Merge remote-tracking branch 'origin/next' into valentin/move-addon-actions-into-core 2025-03-10 13:50:15 +01:00
Valentin Palkovic
1bb6d25bfa Refactor how core annotations are applied 2025-03-10 12:07:04 +01:00
Kasper Peulen
09837b3417 Pin svelte2tsx 2025-03-10 11:50:36 +01:00
Norbert de Langen
0d738c9936
Merge pull request #30771 from storybookjs/norbert/re-export-renderers-from-frameworks
Core: Re-Export renderers from frameworks
2025-03-10 11:37:58 +01:00
Jeppe Reinhold
be8df60bba
Merge pull request #30781 from storybookjs/jeppe/dont-use-crypto
Universal Store: Don't use `crypto.randomUUID`
2025-03-10 10:51:47 +01:00
Jeppe Reinhold
f2fe3bd12e
Merge branch 'next' into yann/vitest-unhandled-errors 2025-03-10 10:12:42 +01:00
Norbert de Langen
14281508ff
Merge branch 'norbert/fix-missingStorybookDependencies' into norbert/re-export-renderers-from-frameworks 2025-03-10 09:51:28 +01:00
Norbert de Langen
2d731810d3 Remove missingStorybookDependencies automigrate fix
This commit removes the missingStorybookDependencies fix from the automigrate process, including the implementation file, test file, and its import in the index. The fix appears to have been deprecated or replaced by another mechanism.
2025-03-10 09:40:11 +01:00
Jeppe Reinhold
27012fe875 don't use crypto.randomUUID in UniversalStore 2025-03-10 08:53:16 +01:00
Valentin Palkovic
cc8b7fe48a Add @storybook/addon-actions to consolidated packages 2025-03-10 08:52:24 +01:00
Valentin Palkovic
43287545e2 Merge remote-tracking branch 'origin/next' into valentin/move-addon-actions-into-core 2025-03-10 08:48:01 +01:00
Valentin Palkovic
75208715df
Merge branch 'next' into valentin/move-addon-actions-into-core 2025-03-07 17:45:21 +01:00
Norbert de Langen
338b629abe Update package.json files to include template directory in published files
Include template directories in the files array for multiple framework packages to ensure template files are packaged and distributed correctly
2025-03-07 16:44:36 +01:00
Norbert de Langen
ebf0df0387 Merge branch 'norbert/fix-missingStorybookDependencies' into norbert/re-export-renderers-from-frameworks 2025-03-07 16:32:46 +01:00
Norbert de Langen
8c83d39180
Merge branch 'norbert/manual-cpc-migration' into norbert/fix-missingStorybookDependencies 2025-03-07 15:51:01 +01:00
Norbert de Langen
92237e7e98 Add Web Components Storybook template components for Vite and Webpack5
Expand the Web Components Storybook template with comprehensive component support:
- Add Button, Header, and Page components for JavaScript and TypeScript (4.9)
- Support multiple configurations for Vite and Webpack5
- Include stories, components, and CSS files
- Add ESLint configuration to disable import/extensions rule
- Implement Storybook best practices with autodocs and component testing
2025-03-07 15:49:12 +01:00
Norbert de Langen
543fbbacb6 Add Vue3 Webpack5 Storybook template components for JavaScript and TypeScript
Expand the Vue3 Webpack5 Storybook template with comprehensive component support:
- Add Button, Header, and Page components for JavaScript and TypeScript (4.9)
- Include stories, components, and CSS files
- Implement Storybook best practices with autodocs and component testing
2025-03-07 15:47:11 +01:00
Norbert de Langen
7418c0edba Add Storybook template components for Vue3 Vite CLI with multiple variations
Expand the Vue3 Storybook template with comprehensive component support:
- Add Button, Header, and Page components
- Support multiple Vue3 configurations:
  * JavaScript
  * TypeScript (4.9)
- Include stories, components, and CSS files
- Implement Storybook best practices with autodocs and component testing
2025-03-07 15:45:53 +01:00
Norbert de Langen
97d6440f2c Add Storybook template components for Svelte Vite CLI with multiple variations
Expand the Svelte Storybook template with comprehensive component support:
- Add Button, Header, and Page components
- Support multiple Svelte configurations:
  * JavaScript
  * Svelte 5 JavaScript
  * Svelte 5 TypeScript (3.8 and 4.9)
  * TypeScript (4.9)
- Include stories, components, and CSS files
- Implement Storybook best practices with autodocs and component testing
2025-03-07 15:45:12 +01:00
Norbert de Langen
e26712b4cf Add Storybook template components for Svelte Vite CLI
Add Button, Header, and Page components with stories for multiple Svelte variations:
- JavaScript
- Svelte 5 JavaScript
- Svelte 5 TypeScript (3.8 and 4.9)
- TypeScript (4.9)

Include stories, components, and CSS files to support the Storybook template components across different Svelte configurations
2025-03-07 15:37:41 +01:00
Norbert de Langen
ec7c826cc3 Improve type safety and compatibility in Next.js Vite Storybook framework template
- Add explicit type imports for Storybook and React types
- Enhance type casting for decorators and loaders
- Improve type handling for Next.js preview configuration
2025-03-07 15:33:05 +01:00
Yann Braga
9aa66376bb fix glob 2025-03-07 15:31:31 +01:00
Norbert de Langen
6e54389c24 Update framework template index files to export core Storybook package functionality
Add exports for respective Storybook framework packages across multiple framework templates, including HTML, Preact, React, Server, Svelte, Vue3, and Web Components for both Vite and Webpack5 configurations
2025-03-07 15:24:21 +01:00
Valentin Palkovic
0519e6083e Support dot folders and adjust regex to support sub-paths 2025-03-07 15:21:23 +01:00
Norbert de Langen
660fd78843 Export React core functionality in React Native Web Vite template
Add full export of '@storybook/react' in the React Native Web Vite template index file to provide comprehensive React framework support
2025-03-07 15:21:16 +01:00
Norbert de Langen
bfedb85628 Export Preact Webpack 5 template core functionality from Storybook
Add export for '@storybook/preact' in the Preact Webpack 5 template index file to provide core Preact framework support
2025-03-07 15:19:15 +01:00
Norbert de Langen
4870635271 Add Preact Vite template exports from Storybook Preact package
Export core Preact functionality from '@storybook/preact' in the Preact Vite template index file
2025-03-07 15:18:39 +01:00
Norbert de Langen
41860ed573 Add additional exports to Next.js Storybook template index file
Export core React functionality and suppress TypeScript error for double exports in the Next.js Storybook template
2025-03-07 15:18:03 +01:00
Norbert de Langen
5592d63966 Export HTML Webpack 5 template core functionality from Storybook
Add export for '@storybook/html' in the HTML Webpack 5 template index file to provide core HTML framework support
2025-03-07 15:17:01 +01:00
Norbert de Langen
920f8c2fb5 Add HTML Vite template exports from Storybook HTML package
Export types and core functionality from '@storybook/html' in the HTML Vite template index file
2025-03-07 15:16:31 +01:00
Norbert de Langen
13c5234b04 Add Storybook template components for React Vite CLI
Add Button, Header, and Page components with stories for both JavaScript and TypeScript (4.9) variations in the React Vite CLI template. Include ESLint configuration and CSS files to support the components.
2025-03-07 15:15:06 +01:00
Norbert de Langen
9fa63207ff Update React Native Web Vite template stories to use '@storybook/react-native-web-vite' imports
Migrate story files in the React Native Web Vite template to use '@storybook/react-native-web-vite' for type imports, replacing '@storybook/react' type imports across Button, Header, and Page stories
2025-03-07 15:14:06 +01:00
Norbert de Langen
b4e0b3ddfc Update Next.js template stories to use '@storybook/nextjs' imports
Migrate story files in the Next.js template to use '@storybook/nextjs' for type imports, replacing '@storybook/react' type imports across multiple stories and template variations
2025-03-07 15:09:16 +01:00
Norbert de Langen
c16f3df507 Update Next.js Vite template stories to use '@storybook/experimental-nextjs-vite' imports
Migrate story files in the experimental Next.js Vite template to use '@storybook/experimental-nextjs-vite' for type imports, replacing '@storybook/react' type imports across multiple stories
2025-03-07 14:49:31 +01:00
Valentin Palkovic
2213e7f121 Update @storybook/test package mapping 2025-03-07 14:16:31 +01:00
Valentin Palkovic
7d254908af
Merge branch 'next' into norbert/automigrate-cpc-complaince 2025-03-07 14:13:41 +01:00
Norbert de Langen
ddeea7e719 Refactor template file copying to use templateLocation parameter
Update `copyTemplateFiles` function and related tests to replace `renderer` parameter with `templateLocation`, improving clarity and flexibility of template file copying mechanism
2025-03-07 13:58:42 +01:00
Norbert de Langen
917164798b Update Storybook manager stories to use '@storybook/react-vite' imports
Migrate story files in the manager package to use '@storybook/react-vite' for type imports, replacing '@storybook/react' type imports across multiple components and settings
2025-03-07 12:16:53 +01:00
Valentin Palkovic
12c33511a7 Merge remote-tracking branch 'origin/next' into valentin/move-lib-test-into-core 2025-03-07 12:10:41 +01:00
Yann Braga
4d4a83a7c1 update vitest in addon test package 2025-03-07 12:01:01 +01:00
Norbert de Langen
9d3a70dcc4 Update blocks package stories to use '@storybook/react-vite' imports
Migrate all story files in the blocks package to use '@storybook/react-vite' for type imports, replacing '@storybook/react' type imports across multiple components and examples
2025-03-07 11:47:00 +01:00