17269 Commits

Author SHA1 Message Date
Michael Shilman
1ef986cd53
Update code/lib/create-storybook/src/initiate.ts
Co-authored-by: Gert Hengeveld <info@ghengeveld.nl>
2025-02-19 23:04:28 +08:00
Kasper Peulen
b605663eed
Merge pull request #30582 from storybookjs/kasper/automatic-before-all
Addon-Test: Make sure that only one global portable story config is ever loaded
2025-02-19 16:02:49 +01:00
Gert Hengeveld
0576c6fa48
Merge pull request #30583 from storybookjs/only-write-config-with-existing-workspaces
Test addon: Only update `vitest.config.ts` with workspaces, otherwise create `vitest.workspace.ts`
2025-02-19 16:01:32 +01:00
Valentin Palkovic
6de6c57b71
Merge pull request #30567 from storybookjs/valentin/fix-runtime-iframe-error-on-first-load
Builder-Vite: Fix runtime and iframe 404 on first load
2025-02-19 15:35:23 +01:00
Kasper Peulen
a2d4030864 Remove redundant type 2025-02-19 15:18:51 +01:00
Kasper Peulen
2810e0f9a6 Command out the before all part for now 2025-02-19 15:03:17 +01:00
Valentin Palkovic
b7126ab949 Apply requested changes 2025-02-19 14:54:10 +01:00
Kasper Peulen
308d77a5be Automatically detect beforeAll in vitest 2025-02-19 14:33:01 +01:00
Gert Hengeveld
c85e72eefb Only update vitest config file if it has a workspace option, otherwise create a workspace file 2025-02-19 13:33:05 +01:00
Norbert de Langen
41fefb7f06 make it an object 2025-02-19 12:41:27 +01:00
Valentin Palkovic
288ef21feb Rename function 2025-02-19 12:10:35 +01:00
Valentin Palkovic
f5452a43c2 Remove iframe.html workaround 2025-02-19 11:51:24 +01:00
Valentin Palkovic
917fad3631 Add entry to optimizeDeps array 2025-02-19 11:50:43 +01:00
Valentin Palkovic
dc7a53af22 Fix routing 2025-02-19 10:08:43 +01:00
Valentin Palkovic
fb039c2cfd Cleanup 2025-02-19 10:05:06 +01:00
Valentin Palkovic
cd9d89abcf Cleanup 2025-02-19 10:00:41 +01:00
Valentin Palkovic
597faff86d Change how iframe route handler is registered in Vite Builder 2025-02-19 09:49:37 +01:00
Jeppe Reinhold
26843e153d add esbuild 0.25 to dependency list 2025-02-19 09:21:03 +01:00
Valentin Palkovic
f39169dc91 Register iframe middleware faster in Vite Builder 2025-02-19 09:20:04 +01:00
storybook-bot
7be3215bc2 Bump version from "8.6.0-beta.3" to "8.6.0-beta.4" [skip ci] 2025-02-18 22:17:05 +00:00
Valentin Palkovic
ac0d3b56da Remove prefetch of sb-preview/runtime.js 2025-02-18 21:45:11 +01:00
storybook-bot
2f0049b28d Write changelog for 8.6.0-beta.4 [skip ci] 2025-02-18 16:20:08 +00:00
Michael Shilman
23b9bab942
Merge pull request #30566 from storybookjs/kasper/typedefs
Core: Fix undeclared internal dependencies
2025-02-18 22:55:55 +08:00
Michael Shilman
6c2fef8aaa
Merge pull request #30568 from storybookjs/jeppe/fix-focused-tests-telemetry
Addon-Test: Add telemetry data for Focused Tests
2025-02-18 22:40:42 +08:00
Michael Shilman
9408d0f0b6
Merge pull request #30565 from storybookjs/kasper/empty-render
Core: Allow empty render functions in CSF factories
2025-02-18 22:40:04 +08:00
Michael Shilman
89cc1c9d74
Merge pull request #30569 from storybookjs/reword-features-question
CLI: Update copy for "features" question and options
2025-02-18 22:36:31 +08:00
storybook-bot
64dc78c124 Bump version from "8.6.0-beta.2" to "8.6.0-beta.3" [skip ci] 2025-02-18 14:07:04 +00:00
Jeppe Reinhold
81f28aff26 send number of selected stories with telemetry 2025-02-18 14:54:13 +01:00
Gert Hengeveld
92c02c55f2 Rewording of features question and answers 2025-02-18 14:52:31 +01:00
Valentin Palkovic
4b84ac24df Builder-Vite: Extend optimizeDeps.include config 2025-02-18 14:43:57 +01:00
Kasper Peulen
df8dcc2edc Fix 30540: Undeclared internal dependencies in 8.6.0-beta for addon-actions 2025-02-18 14:37:32 +01:00
Kasper Peulen
b5aa1f27cd Allow empty render functions in CSF4 2025-02-18 13:17:42 +01:00
storybook-bot
07648cff03 Write changelog for 8.6.0-beta.3 [skip ci] 2025-02-18 12:09:34 +00:00
Jeppe Reinhold
c8844ba73e
Merge pull request #30562 from storybookjs/jeppe/fix-hmr-stripping
Vite: Fix not stripping all HMR boundaries
2025-02-18 13:06:57 +01:00
Jeppe Reinhold
72337e0204
Merge pull request #30557 from storybookjs/jeppe/fix-essentials-in-absolute-paths
Essentials: Fix `addon-essentials` not working when used with `getAbsolutePath`
2025-02-18 13:06:24 +01:00
Valentin Palkovic
f457f7ba88
Merge pull request #30563 from storybookjs/valentin/fix-addon-a11y-loading-after-wrap-pnp-automigration
Addon-A11y: Fix preset loading when loaded via getAbsolutePath
2025-02-18 13:03:20 +01:00
storybook-bot
00d9e6bcd9 Bump version from "8.6.0-beta.1" to "8.6.0-beta.2" [skip ci] 2025-02-18 11:49:01 +00:00
Valentin Palkovic
6397c2149b Addon-A11y: Fix preset loading when loaded via getAbsolutePath 2025-02-18 12:42:23 +01:00
Jeppe Reinhold
f0b573b78b
Merge branch 'next' into jeppe/fix-hmr-stripping 2025-02-18 10:40:38 +01:00
Jeppe Reinhold
c8a7d8ad2d fix not stripping all HMR boundaries 2025-02-18 10:31:53 +01:00
storybook-bot
b357361295 Write changelog for 8.6.0-beta.2 [skip ci] 2025-02-18 05:02:32 +00:00
Michael Shilman
7cc29a44dc Update snapshot 2025-02-18 11:53:48 +08:00
Michael Shilman
83999c3edc Add test case 2025-02-18 11:33:32 +08:00
Michael Shilman
49ebb38586 Index: Don't count example stories towards feature usage stats 2025-02-18 10:36:06 +08:00
Jeppe Reinhold
e22c83cda1 add root preset.js to essentials 2025-02-17 14:07:52 +01:00
Gert Hengeveld
bedcf63932 Minor rewording 2025-02-17 11:01:10 +01:00
Gert Hengeveld
a69b84926e Handle empty list of features 2025-02-17 11:00:17 +01:00
Gert Hengeveld
126e5c930e Fix parsing variadic (array) argument 2025-02-17 10:57:08 +01:00
Gert Hengeveld
aad8526048 Merge branch 'next' into refactor-features-prompt-logic 2025-02-17 10:23:01 +01:00
Gert Hengeveld
90a2b3c78e Always print the selected features 2025-02-17 10:22:42 +01:00