321 Commits

Author SHA1 Message Date
Michael Shilman
3e33f0709d v7.0.0-alpha.27 2022-08-31 10:58:47 +08:00
Michael Shilman
06bcf80248 Update root, peer deps, version.ts/json to 7.0.0-alpha.27 [ci skip] 2022-08-31 10:22:09 +08:00
Michael Shilman
541f40db03
Merge pull request #19045 from storybookjs/tom/sb-697-investigate-chromatic-issues-on-next
Core: Restore `/preview` etc package exports; return unresolved path from presets.
2022-08-31 10:19:21 +08:00
Michael Shilman
b63d349aa8
Merge pull request #19047 from mandarini/fix/update-storybook-config-type
Core: Add previewHead and previewBody to StorybookConfig interface
2022-08-30 23:29:45 +08:00
Tom Coleman
2e50d6346a Merge remote-tracking branch 'origin/next' into tom/sb-697-investigate-chromatic-issues-on-next 2022-08-30 23:30:56 +10:00
Tom Coleman
9d689a86b6 Restore svelte exports properly 2022-08-30 23:00:10 +10:00
Tom Coleman
5aadc0fd61 Update comments 2022-08-30 22:29:58 +10:00
Tom Coleman
bb294e9b84 Fix typo 2022-08-30 22:28:48 +10:00
Tom Coleman
c29a9129ef Remove spurious log 2022-08-30 22:26:24 +10:00
Tom Coleman
e3f0e26b3b Use pseudo absolute exports for preview/manager entries 2022-08-30 22:25:21 +10:00
Michael Shilman
8a8d8fac93
Apply suggestions from code review 2022-08-30 20:11:06 +08:00
Norbert de Langen
530d297b0e
Merge branch 'next' into tech/fix-bench
# Conflicts:
#	code/yarn.lock
2022-08-30 11:00:59 +02:00
Katerina Skroumpelou
3b0a999df9 fix: add previewHead and previewBody to StorybookConfig interface 2022-08-30 11:34:29 +03:00
Tom Coleman
57d5b1ae3b Don't return resolved path from browser preset entries
Instead, just return the import path unresolved
2022-08-30 14:44:19 +10:00
Tom Coleman
57d082ced4 Fix addons in examples.
Allow `preview.js` etc to be the name of the package exports
2022-08-29 22:02:34 +10:00
Norbert de Langen
ccb6089194
fix 2022-08-29 11:47:25 +02:00
Tom Coleman
f263f42991 Set resolve.preserveSymlinks in Vite based on env vars
Similar to how we do in webpack.
2022-08-29 11:08:48 +10:00
Norbert de Langen
f8fc018dbc
so it seems that in production mode this is still an issue, so I did the suggested fix by @Anderist
He suggested that 'hiding' the dependency on an export that may or may not exists away from bundlers would solve it.
This is what they do in emotion itself, but esbuild optimizes that away again.
2022-08-26 17:42:51 +02:00
Norbert de Langen
4b15710d26
'fix' warnings 2022-08-26 15:56:24 +02:00
Michael Shilman
df6da4cc51 Update git head to 7.0.0-alpha.26, update yarn.lock [ci skip] 2022-08-26 19:17:00 +08:00
Michael Shilman
e5c9cfe1d0 v7.0.0-alpha.26 2022-08-26 19:12:35 +08:00
Michael Shilman
d14e1401d3 Update root, peer deps, version.ts/json to 7.0.0-alpha.26 [ci skip] 2022-08-26 18:57:25 +08:00
Michael Shilman
3ec6c49504 Update for vite-svelte 2022-08-26 18:31:46 +08:00
Michael Shilman
ab99aa9fa4 Merge branch 'next' into feat/vite-frameworks-automigration 2022-08-26 18:02:25 +08:00
Michael Shilman
53186d8d38
Merge pull request #19018 from storybookjs/story-glob
Core: Fix default story glob
2022-08-26 17:08:49 +08:00
Yann Braga
5d1fd31262 fix test 2022-08-26 09:46:52 +02:00
Michael Shilman
c8a0ba8336 Update snapshots 2022-08-26 15:45:07 +08:00
Michael Shilman
77421b4263
Merge pull request #18978 from storybookjs/svelte-vite-framework
Svelte: Add svelte-vite framework
2022-08-26 15:37:33 +08:00
Michael Shilman
00ccb9ac4b Merge branch 'next' into svelte-vite-framework 2022-08-26 09:24:50 +08:00
Ian VanSchooten
ff9cb3585d Remove babel-loader from core-common 2022-08-25 16:47:37 -04:00
Yann Braga
0258af01b8 CLI: error on vite < 3 in new-frameworks automigrate 2022-08-25 20:33:10 +02:00
Ian VanSchooten
0620d65643 Fix default story glob 2022-08-25 12:37:01 -04:00
Yann Braga
bbffe7d0ea CLI: add react and vue3 vite to new-frameworks automigration 2022-08-25 18:36:46 +02:00
Michael Shilman
03b6c00902 Update git head to 7.0.0-alpha.25, update yarn.lock [ci skip] 2022-08-25 22:49:49 +08:00
Michael Shilman
058af8bac4 v7.0.0-alpha.25 2022-08-25 22:45:32 +08:00
Michael Shilman
402c67c440 Update root, peer deps, version.ts/json to 7.0.0-alpha.25 [ci skip] 2022-08-25 22:32:13 +08:00
Michael Shilman
3a22d4cd80 Builder-vite: Tighten up tsconfig.json 2022-08-25 21:50:31 +08:00
Michael Shilman
dcc9f08396 Merge branch 'next' into vite-frameworks-react 2022-08-25 21:48:00 +08:00
Michael Shilman
1e20308330 Vite: Delete core-vite and cursory first cut at types 2022-08-25 21:41:09 +08:00
Norbert de Langen
dbbe27057e
Update code/lib/builder-manager/README.md
Co-authored-by: Yann Braga <yannbf@gmail.com>
2022-08-25 14:01:17 +02:00
Norbert de Langen
e6411e5cf1
add a README contents to manager-builder package 2022-08-25 12:43:04 +02:00
Norbert de Langen
5a213bd284
Merge pull request #18975 from dartess/replace-rollup-plugin-node-polyfills
Replace rollup-plugin-node-polyfills to analogs
2022-08-25 11:34:21 +02:00
Ian VanSchooten
abf5c991fd Revert "Remove vue3-vite"
This reverts commit de738d4fce0f9abecc41ab075dab14daab8d71de.
2022-08-24 22:32:41 -04:00
Ian VanSchooten
49e21de028 Cleanup unused variables 2022-08-24 14:57:57 -04:00
Ian VanSchooten
de738d4fce Remove vue3-vite
We'll re-add it later, trying to get react working and mergable for now.
2022-08-24 14:55:39 -04:00
Michael Shilman
b049235a99 Merge branch 'next' into vite-frameworks-clean 2022-08-25 02:32:51 +08:00
Michael Shilman
34f013ff26 Update git head to 7.0.0-alpha.24, update yarn.lock [ci skip] 2022-08-24 11:57:58 +08:00
Michael Shilman
e3232cb426 v7.0.0-alpha.24 2022-08-24 11:53:12 +08:00
Michael Shilman
44dd316104 Update root, peer deps, version.ts/json to 7.0.0-alpha.24 [ci skip] 2022-08-24 11:39:37 +08:00
Michael Shilman
f1481d1584 Builder-vite: Add support for previewEntries preset 2022-08-24 11:26:25 +08:00