Norbert de Langen
38bb600f5b
merge next
2025-02-12 15:55:41 +01:00
Norbert de Langen
123b18ad1e
fix type issues
2025-02-11 15:44:41 +01:00
storybook-bot
0ee002b88f
Bump version from "8.6.0-alpha.4" to "8.6.0-alpha.5" [skip ci]
2025-02-10 15:40:32 +00:00
storybook-bot
48c2595c5e
Bump version from "8.6.0-alpha.3" to "8.6.0-alpha.4" [skip ci]
2025-02-05 08:34:46 +00:00
Norbert de Langen
c5674a81ed
Merge branch 'next' into norbert/typescript-upgrade
2025-01-30 11:13:06 +01:00
storybook-bot
f3ced529f4
Bump version from "8.6.0-alpha.2" to "8.6.0-alpha.3" [skip ci]
2025-01-30 09:57:14 +00:00
storybook-bot
981a86107f
Bump version from "8.6.0-alpha.1" to "8.6.0-alpha.2" [skip ci]
2025-01-24 01:35:36 +00:00
Norbert de Langen
d2257aed71
upgrade typescript
2025-01-23 09:23:15 +01:00
storybook-bot
61fa84bcac
Bump version from "8.6.0-alpha.0" to "8.6.0-alpha.1" [skip ci]
2025-01-22 05:32:57 +00:00
Kyle Gach
80c12f5d39
Replace interaction test
-> component test
2025-01-21 20:32:51 -07:00
storybook-bot
89631e6fe2
Bump version from "8.5.0" to "8.6.0-alpha.0" [skip ci]
2025-01-15 14:37:37 +00:00
storybook-bot
92770672e5
Bump version from "8.5.0-beta.11" to "8.5.0" [skip ci]
2025-01-15 14:19:39 +00:00
storybook-bot
d8fe93ac1b
Bump version from "8.5.0-beta.10" to "8.5.0-beta.11" [skip ci]
2025-01-14 13:48:15 +00:00
storybook-bot
426586d37a
Bump version from "8.5.0-beta.9" to "8.5.0-beta.10" [skip ci]
2025-01-13 14:49:18 +00:00
storybook-bot
b607dbe575
Bump version from "8.5.0-beta.8" to "8.5.0-beta.9" [skip ci]
2025-01-13 09:37:19 +00:00
storybook-bot
3b979ee412
Bump version from "8.5.0-beta.7" to "8.5.0-beta.8" [skip ci]
2025-01-08 10:09:20 +00:00
Norbert de Langen
2eb8766091
Merge branch 'next' into norbert/node-types-devdep-only
2025-01-02 10:57:36 +01:00
Norbert de Langen
f2560a6f63
move @types/node to devDeps consistently
2025-01-02 10:23:10 +01:00
storybook-bot
2b9f1cfc16
Bump version from "8.5.0-beta.6" to "8.5.0-beta.7" [skip ci]
2024-12-27 15:43:46 +00:00
storybook-bot
91f53fdf55
Bump version from "8.5.0-beta.5" to "8.5.0-beta.6" [skip ci]
2024-12-25 13:59:25 +00:00
storybook-bot
ef9ee273d6
Bump version from "8.5.0-beta.4" to "8.5.0-beta.5" [skip ci]
2024-12-23 13:45:13 +00:00
storybook-bot
cf555266f5
Bump version from "8.5.0-beta.3" to "8.5.0-beta.4" [skip ci]
2024-12-20 16:03:11 +00:00
storybook-bot
df37d0880e
Bump version from "8.5.0-beta.2" to "8.5.0-beta.3" [skip ci]
2024-12-19 09:23:19 +00:00
storybook-bot
1f6fafa2c1
Bump version from "8.5.0-beta.1" to "8.5.0-beta.2" [skip ci]
2024-12-18 08:04:59 +00:00
storybook-bot
c75bef531b
Bump version from "8.5.0-beta.0" to "8.5.0-beta.1" [skip ci]
2024-12-16 17:01:03 +00:00
storybook-bot
88b60be376
Bump version from "8.5.0-alpha.22" to "8.5.0-beta.0" [skip ci]
2024-12-16 14:42:20 +00:00
Valentin Palkovic
fa46d28f93
Next.js: Support v15.1
2024-12-15 11:41:59 +01:00
storybook-bot
d821e7f408
Bump version from "8.5.0-alpha.21" to "8.5.0-alpha.22" [skip ci]
2024-12-13 15:30:04 +00:00
Valentin Palkovic
902dc18344
Fix webpack DefinePlugin import to use default export
2024-12-13 12:51:52 +01:00
Valentin Palkovic
980282f955
Merge branch 'next' into fix-nextjs-webpack-fscache
2024-12-13 11:09:03 +01:00
storybook-bot
00b669f8a5
Bump version from "8.5.0-alpha.20" to "8.5.0-alpha.21" [skip ci]
2024-12-12 11:18:42 +00:00
storybook-bot
a0b8f06ac7
Bump version from "8.5.0-alpha.19" to "8.5.0-alpha.20" [skip ci]
2024-12-11 01:30:19 +00:00
storybook-bot
71af1b86d4
Bump version from "8.5.0-alpha.18" to "8.5.0-alpha.19" [skip ci]
2024-12-10 08:03:34 +00:00
storybook-bot
93ae36792b
Bump version from "8.5.0-alpha.17" to "8.5.0-alpha.18" [skip ci]
2024-12-05 16:02:25 +00:00
storybook-bot
8735b15e5c
Bump version from "8.5.0-alpha.16" to "8.5.0-alpha.17" [skip ci]
2024-12-04 12:48:33 +00:00
Kevin Yank
c00c054199
Undo unintentional formatting change
2024-12-04 10:42:43 +11:00
storybook-bot
e1b5e29bc7
Bump version from "8.5.0-alpha.15" to "8.5.0-alpha.16" [skip ci]
2024-12-03 23:38:17 +00:00
storybook-bot
a8ad83fe63
Bump version from "8.5.0-alpha.14" to "8.5.0-alpha.15" [skip ci]
2024-12-03 01:43:00 +00:00
Kevin Yank
83a1f24f02
Defer all imports from webpack until after Next.js has loaded its internal instance
2024-12-03 12:27:09 +11:00
storybook-bot
f359e2bb4b
Bump version from "8.5.0-alpha.13" to "8.5.0-alpha.14" [skip ci]
2024-11-30 16:59:42 +00:00
storybook-bot
d3bc3ffb0b
Bump version from "8.5.0-alpha.12" to "8.5.0-alpha.13" [skip ci]
2024-11-29 09:32:25 +00:00
storybook-bot
b53665b649
Bump version from "8.5.0-alpha.11" to "8.5.0-alpha.12" [skip ci]
2024-11-29 08:31:42 +00:00
storybook-bot
da1f1a04c0
Bump version from "8.5.0-alpha.10" to "8.5.0-alpha.11" [skip ci]
2024-11-27 13:27:52 +00:00
Kevin Yank
0a3e05bcea
Fix crash when framework is not specified with options
2024-11-27 11:54:46 +11:00
storybook-bot
04da03eac2
Bump version from "8.5.0-alpha.9" to "8.5.0-alpha.10" [skip ci]
2024-11-21 15:31:16 +00:00
storybook-bot
c9f6fa2372
Bump version from "8.5.0-alpha.8" to "8.5.0-alpha.9" [skip ci]
2024-11-20 13:53:24 +00:00
Yann Braga
9794e35ee5
Merge pull request #29640 from storybookjs/yann/next-15-support-vite
...
Nextjs-Vite: Add Next.js 15 support
2024-11-20 10:01:43 +01:00
storybook-bot
7f1b383785
Bump version from "8.5.0-alpha.7" to "8.5.0-alpha.8" [skip ci]
2024-11-19 15:00:07 +00:00
Yann Braga
dd9ed96ee6
skip certain stories in vitest integration
2024-11-19 09:06:04 +01:00
Kevin Yank
2a02e13480
Fix webpack fsCache not working with @storybook/nextjs
...
Next.js overrides certain internal webpack packages (particularly `webpack-sources`), which are involved with filesystem caching, with its own versions from next/dist/compiled.
For filesystem caching to work, Next.js must be allowed to perform these overrides before webpack is first initialized by @storybook/builder-webpack5. If it is not, the objects to be serialized to disk in the caching process will be instantiated using the original (non-Next.js) modules, but the serializers will be created using the Next.js modules. This mismatch between the objects to be cached and the serializers that write the filesystem cache prevents the cache from being written; instead, webpack outputs a warning message to the console for every object that it tries and fails to find a matching serializer for.
This fix works by invoking Next.js to configure webpack in the `core` hook of @storybook/nextjs/preset, immediately before loading @storybook/builder-webpack5. We don't actually use this configuration that Next.js creates; the actual configuration that will be used in the build is still generated in `webpackFinal` as before.
`fsCache` has a large impact on Storybook build performance. Even in a minimal project with a single story, enabling it reduces build time by 66%! This is therefore a very valuable option to be able to enable.
Fixes #29621
2024-11-19 18:14:41 +11:00