42310 Commits

Author SHA1 Message Date
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
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
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
2665ecad7f 7.0.0-alpha.27 changelog 2022-08-31 10:21:51 +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
Ian VanSchooten
fed59c8aec Merge remote-tracking branch 'origin/next' into preview-web-dep-6.5 2022-08-30 20:36:59 -04: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
Ian VanSchooten
691bfa17fb Merge remote-tracking branch 'origin/next' into preview-web-dep-6.5 2022-08-30 09:51:22 -04: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
Norbert de Langen
c4bc3488d9
Merge pull request #19029 from storybookjs/tech/fix-bench
Build: Fix the sb-bench CI step
2022-08-30 15:30:26 +02:00
Tom Coleman
9d689a86b6 Restore svelte exports properly 2022-08-30 23:00:10 +10:00
Norbert de Langen
8af57a2c1a
update 2022-08-30 14:57:22 +02: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
c9d75a91cd
upgrade sb-bench again, this might fix it! 2022-08-30 11:54:54 +02:00
Norbert de Langen
1128a2aa70
bump sb-bench version 2022-08-30 11:35:48 +02: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
Clint Andrew Hall
64a729c82d Add type export for storybookjs/testing-react#106 2022-08-29 12:14:12 -05:00
Kyle Gach
bbc0e82937
Merge pull request #19032 from storybookjs/test-runner-docs
Update test-runner docs
2022-08-29 09:32:34 -06:00
Kyle Gach
666f917275
Merge pull request #18974 from kk3939/patch-2
Update MIGRATION.md
2022-08-29 09:28:40 -06:00
Kyle Gach
40acda043c
Merge pull request #18976 from Lalanthawi/next
Update README.md
2022-08-29 09:27:24 -06:00
Kyle Gach
879c94ea6c
Merge pull request #19003 from lubnafathima/new
updated README.md
2022-08-29 09:17:35 -06:00
Kyle Gach
072179ce9c
Merge pull request #19009 from Lalanthawi/patch-3
Update README.md
2022-08-29 09:06:50 -06:00
Kyle Gach
ea370e4511
Merge pull request #19010 from sun0day/patch-1
docs: consistent with CONTRIBUTING.md
2022-08-29 09:04:43 -06:00
Kyle Gach
733092fcd1
Merge pull request #19040 from storybookjs/un-ignore-sandbox
Remove sandbox from `.ignore`
2022-08-29 08:52:02 -06:00
Michael Shilman
65e3093cdc
Merge pull request #19035 from storybookjs/vite-framework-deps
Vite: Clean up framework dependencies / unused files
2022-08-29 22:02:43 +08: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
Michael Shilman
eaac79569a
Merge pull request #19039 from storybookjs/symlinks-in-vite 2022-08-29 15:48:48 +08:00