42346 Commits

Author SHA1 Message Date
Tom Coleman
5407c0c6e2
Merge pull request #19071 from storybookjs/tom/sb-699-sb19015-70-vite-storybook-crashes-when
Ensure if a docs render is torndown during preparation, it throws
2022-09-02 14:26:29 +10:00
Michael Shilman
8645a18c87
Merge pull request #19090 from storybookjs/revert-19077-chore/rename-prepare
Revert "chore: rename prepare script to prep"
2022-09-02 11:49:07 +08:00
Michael Shilman
e1646400e4
Revert "chore: rename prepare script to prep" 2022-09-02 11:26:42 +08:00
Tom Coleman
f84161b14b Fix jest issues 2022-09-02 13:08:10 +10:00
Norbert de Langen
9d198e55fa
Merge pull request #19077 from storybookjs/chore/rename-prepare
chore: rename prepare script to prep
2022-09-01 21:16:33 +02:00
Michael Shilman
bb24ba7d94 Update git head to 7.0.0-alpha.28, update yarn.lock [ci skip] 2022-09-02 00:56:18 +08:00
Michael Shilman
941b85ce04 v7.0.0-alpha.28 v7.0.0-alpha.28 2022-09-02 00:52:03 +08:00
Michael Shilman
ae6940800f Update root, peer deps, version.ts/json to 7.0.0-alpha.28 [ci skip] 2022-09-02 00:37:58 +08:00
Michael Shilman
a2b39a8d07 7.0.0-alpha.28 changelog 2022-09-02 00:37:41 +08:00
Michael Shilman
3296bad121
Merge pull request #19026 from storybookjs/vite-autoconfig
Vite: Automatically use vite.config.js
2022-09-02 00:34:59 +08:00
Michael Shilman
ff452d0fe4
Merge pull request #19083 from storybookjs/shilman/fix-sb-init-race-condition
CLI: Fix race condition in sb init
2022-09-02 00:28:05 +08:00
Ian VanSchooten
f9feca8a2e Update migration guide 2022-09-01 12:20:13 -04:00
Michael Shilman
b1e3b16e35 CLI: Fix race condition in sb init 2022-09-02 00:07:15 +08:00
Katerina Skroumpelou
5c5367b33c chore: rename prepare script to prep 2022-09-01 15:56:01 +03:00
Ian VanSchooten
b110c93cf5 Merge remote-tracking branch 'origin/tom/sb-721-ul-flashes-when-editing-a-csf-file' into vite-autoconfig 2022-09-01 08:33:26 -04:00
Michael Shilman
35e8310e52 Fix bad stat 2022-09-01 19:58:19 +08:00
Michael Shilman
251144f797 Examples: Turn of type checking in doc-blocks 2022-09-01 19:35:02 +08:00
Michael Shilman
0e086d22c6 Build: Generate clean repro templates 2022-09-01 18:37:08 +08:00
Norbert de Langen
cddd1957bd
disable the flaky smoke test for now 2022-09-01 11:51:12 +02:00
Tom Coleman
e000926425 Merge remote-tracking branch 'origin/next' into tom/sb-721-ul-flashes-when-editing-a-csf-file 2022-09-01 17:34:57 +10:00
Tom Coleman
40036eb8a8 Merge remote-tracking branch 'origin/next' into tom/sb-699-sb19015-70-vite-storybook-crashes-when 2022-09-01 17:34:28 +10:00
Tom Coleman
cd73642537
Merge pull request #19072 from storybookjs/fix-jest-type-references
Update to new TS reference format (?)
2022-09-01 17:33:47 +10:00
Tom Coleman
787c394ab7 Update to new TS reference format (?) 2022-09-01 17:32:22 +10:00
Tom Coleman
8c9458c530 Add some basic unit tests for renders 2022-09-01 17:17:21 +10:00
Tom Coleman
05e51a1ade Ensure if a docs render is torndown during preparation, it throws.
Implementing https://github.com/storybookjs/storybook/pull/17599 for DocsRenderrs
2022-09-01 16:56:28 +10:00
Tom Coleman
0961a29570
Merge pull request #19063 from storybookjs/tom/sb-698-improve-vite-dev-setup
Conditionally force vite rebuilds in sandbox
2022-09-01 16:28:12 +10:00
Tom Coleman
57457d6079 Ensure we retained prepared-ness when the index HMRs 2022-09-01 14:01:07 +10:00
Ian VanSchooten
c90f9b4f6b Merge remote-tracking branch 'origin/next' into vite-autoconfig
# Conflicts:
#	code/lib/builder-vite/src/vite-config.ts
2022-08-31 23:05:28 -04:00
Tom Coleman
f21cafed14 Refactor as per @IanVS's suggestion 2022-09-01 12:55:49 +10:00
Michael Shilman
fb4b7832e2
Merge pull request #19062 from storybookjs/vite-framework-checks
Vite: Fix framework option checks, and SSv6
2022-09-01 10:02:03 +08:00
Norbert de Langen
0d3aa8744d
Merge pull request #19066 from storybookjs/shilman/fix-cra-bench-take-n
Build: Try to fix cra-bench part N
2022-08-31 17:44:47 +02:00
Norbert de Langen
b1ce60576f
a bit bigger runner, because something is killing webpack as it's building the preview 2022-08-31 17:19:26 +02:00
Ian VanSchooten
715b22b0b0 Remove unused import 2022-08-31 10:59:59 -04:00
Norbert de Langen
c4d227f216
update & change to other way of creating a zip 2022-08-31 15:40:09 +02:00
Norbert de Langen
c1e6c7d25f
fix yaml file 2022-08-31 15:00:25 +02:00
Norbert de Langen
f20999b2a2
add artifact for debugging 2022-08-31 14:56:58 +02:00
Michael Shilman
64238ecedd Build: Try to fix cra-bench part N 2022-08-31 20:29:51 +08:00
Ian VanSchooten
0aca22eb32 Extract getFrameworkName to core-common 2022-08-31 08:24:45 -04:00
Ian VanSchooten
9e017a48cd Remove unused types 2022-08-31 08:24:45 -04:00
Ian VanSchooten
872b1dfc05 Fix framework option checks 2022-08-31 08:24:45 -04:00
Michael Shilman
e9e10ee1f1
Merge pull request #19048 from clintandrewhall/preview-web-dep-6.5
Core: Fix WebProjectAnnotations export in preview-web for back-compat
2022-08-31 13:32:36 +08:00
Tom Coleman
76780e91a3 Conditionally force vite rebuilds in sandbox 2022-08-31 15:13:43 +10:00
Ian VanSchooten
e225946377 Add excludes for non-react framework react plugin
We just need it for processing mdx, it doesn't need to hmr anything.
2022-08-30 23:24:52 -04:00
Ian VanSchooten
46fe3ea3fb Remove duplicate vue and svelte plugins
It's expected that the original vite.config.js should have one, and we're using that now.
2022-08-30 23:24:52 -04:00
Ian VanSchooten
5e1b062efb Do not add vite-plugin-svelte 2022-08-30 23:24:52 -04:00
Ian VanSchooten
139bfdc901 Remove unused variable 2022-08-30 23:24:52 -04:00
Ian VanSchooten
b2f61d7826 Remove hmr accept calls from story files 2022-08-30 23:24:52 -04:00
Ian VanSchooten
9647bf2d23 Vite: use vite.config.js as config base 2022-08-30 23:24:52 -04:00
Michael Shilman
ac2182761a Update git head to 7.0.0-alpha.27, update yarn.lock [ci skip] 2022-08-31 11:03:14 +08:00
Michael Shilman
3e33f0709d v7.0.0-alpha.27 v7.0.0-alpha.27 2022-08-31 10:58:47 +08:00