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
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
7eae837fcc
Revert changes to exports
fields of addons/renderers
...
All of Node, Webpack and Vite can `import('<pkg>/preview')` etc, as long as the `exports` map is there and setup like so. If the `exports` map is not there, then they can import `node_modules/<pkg>/preview.js` instead.
The issue occurred when an export map existed but Vite tried to import a path that wasn't defined in there.
2022-08-30 14:46:23 +10: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
Ian VanSchooten
0cb5f7c7f1
Clean up unneeded dependencies and files in vite frameworks
2022-08-29 06:41:12 -04:00
Ian VanSchooten
e7bccb04fa
Expand framework package descriptions
2022-08-29 06:41:12 -04:00
Ian VanSchooten
a8af64c05f
Fix node engines versions
...
These match up with vite 3's current requirements
2022-08-29 06:41:12 -04: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
Norbert de Langen
a78c62a7e8
upgrades
2022-08-26 13:06:00 +02: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
Norbert de Langen
c4c51b520a
Merge branch 'next' of github.com:storybookjs/storybook into next
2022-08-26 11:53:13 +02:00
Norbert de Langen
5ee944a0a3
fix
2022-08-26 11:52:51 +02: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
196839d2fa
Merge pull request #19025 from storybookjs/react-vite-deps
...
React-vite: update/cleanup dependencies
2022-08-26 15:39:49 +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
Ian VanSchooten
25d03bcc40
Remove @babel/core peer dep
2022-08-26 00:31:38 -04:00
Ian VanSchooten
b8fbc8c3fa
Use require, but not .default
2022-08-26 00:16:07 -04:00
Michael Shilman
c96e14171e
Svelte: Add template components for sandbox
2022-08-26 11:25:36 +08:00
Ian VanSchooten
cdbd146e5c
Use import
for docgen-typescript
2022-08-25 23:24:20 -04:00
Ian VanSchooten
d7b7e57364
Fix react-docgen paths
2022-08-25 22:51:08 -04:00
Ian VanSchooten
c84dc00a96
React-vite: update/cleanup dependencies
2022-08-25 22:40:23 -04:00
Michael Shilman
07e6c81fd3
Fix typo
2022-08-26 09:37:02 +08:00
Michael Shilman
00ccb9ac4b
Merge branch 'next' into svelte-vite-framework
2022-08-26 09:24:50 +08:00
Ian VanSchooten
83459c6b5a
Move a few react renderer packages to devDeps
2022-08-25 16:48:40 -04: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