1386 Commits

Author SHA1 Message Date
Norbert de Langen
dfd0c6085e
fix tests 2022-10-05 13:43:14 +02:00
Norbert de Langen
e8b3da8955
fix linting 2022-10-05 13:20:07 +02:00
Jeppe Reinhold
be55529cd0 remove @storybook/semver from iframe-webpack config 2022-10-05 12:44:04 +02:00
Michael Shilman
66354a3308 Merge branch 'next' into shilman/add-web-components-vite-framework-and-template 2022-10-05 18:39:29 +08:00
Jeppe Reinhold
0dcc3a0e2c Merge branch 'next' of github.com:storybookjs/storybook into pr/danielamram/19292 2022-10-05 12:35:48 +02:00
Norbert de Langen
27877627dc
fix lockfile 2022-10-05 12:22:06 +02:00
Norbert de Langen
af1f49c44e
delete html-kitchen-sink example 2022-10-05 12:19:49 +02:00
Norbert de Langen
b36a96ffeb
Merge branch 'next' into norbert/sb-525-webpack5react17js 2022-10-05 12:16:36 +02:00
Norbert de Langen
c15daaeb9e
Merge pull request #19341 from storybookjs/norbert/sb-524-webpack5react18ts
add react18 + webpack5 template
2022-10-05 13:14:14 +03:00
Jeppe Reinhold
219eb902c8 Revert "manually remove @storybook/semver from lock files"
This reverts commit a3a8b439adb1e4cbeb0ed929345fd494d0680f5f.
2022-10-05 12:06:40 +02:00
Jeppe Reinhold
a3a8b439ad manually remove @storybook/semver from lock files 2022-10-05 11:57:42 +02:00
Norbert de Langen
24ee6b2977
Merge pull request #19313 from shariqx5/migration/source-loader-tsc
Update: source-loader lib migrated to use modern build tool
2022-10-05 12:25:46 +03:00
Norbert de Langen
9f712a4b51
Merge branch 'norbert/sb-524-webpack5react18ts' into norbert/sb-525-webpack5react17js 2022-10-05 11:15:13 +02:00
Norbert de Langen
570d286793
Merge branch 'next' into norbert/sb-524-webpack5react18ts 2022-10-05 11:07:41 +02:00
Norbert de Langen
abad5077e2
ensure config is resolved with the polyfills 2022-10-05 10:35:17 +02:00
Norbert de Langen
449ddcb169
Merge branch 'next' into norbert/sb-702-migrate-stories-and-delete-official 2022-10-05 10:25:47 +02:00
Norbert de Langen
3e610a0c9a
Merge pull request #19327 from tolkadot/update-lib-postinstall
Build: Bundle lib/postinstall with ts-up
2022-10-05 11:10:39 +03:00
Norbert de Langen
3481c12f48
Merge branch 'norbert/sb-625-remove-cypress-from-the-monorepo' into norbert/sb-702-migrate-stories-and-delete-official 2022-10-05 09:41:03 +02:00
Norbert de Langen
fbc3db6b10
Merge branch 'norbert/sb-524-webpack5react18ts' into norbert/sb-525-webpack5react17js 2022-10-05 09:39:45 +02:00
Norbert de Langen
031fb9ce23
Merge branch 'norbert/sb-625-remove-cypress-from-the-monorepo' into norbert/sb-524-webpack5react18ts 2022-10-05 09:38:24 +02:00
Norbert de Langen
82ec721860
Merge branch 'next' into migration/source-loader-tsc 2022-10-05 09:30:13 +02:00
Norbert de Langen
0b20a710c9
Merge branch 'next' into update-lib-postinstall 2022-10-05 09:29:24 +02:00
Norbert de Langen
1b361c42b5
Merge branch 'next' into norbert/sb-625-remove-cypress-from-the-monorepo 2022-10-05 09:28:36 +02:00
Tom Coleman
6c51c55fd3 Merge remote-tracking branch 'origin/next' into tom/sb-628-properly-document-maintenance-scripts 2022-10-05 17:07:30 +11:00
Tom Coleman
17ddcb71ba Disable smoke test on cra/default-ts
https://github.com/storybookjs/storybook/issues/19351
2022-10-05 11:49:16 +11:00
Tom Coleman
b25a3265bc Refactor sandbox to load async 2022-10-05 11:25:31 +11:00
Ian VanSchooten
63f6386b9e Merge remote-tracking branch 'origin/next' into vite/svelte-docgen-options
# Conflicts:
#	code/frameworks/svelte-vite/src/preset.ts
2022-10-04 14:57:57 -04:00
Ian VanSchooten
2674cc1baa
Merge pull request #19259 from storybookjs/vite/framework-plugins
Issue: https://github.com/storybookjs/builder-vite/issues/498

Closes https://github.com/storybookjs/storybook/pull/19245

## What I did

When we made the change in 7.0 to start using the user's `vite.config.js`, I made the (faulty) assumption that users would already have vite framework plugins (e.g. `@vitejs/plugin-react`) installed.  But this isn't always true, for example, a project might just be a collection of components being exported, and there may not be an actual app.  

So, this PR checks to see if the required framework plugin is already in the config, and if not, adds it.  I created a utility function to check for the plugin, but ideally this would live in a `vite-core` instead of duplicated across each framework.  This, combined with the duplication in https://github.com/storybookjs/storybook/pull/19216, makes me lean towards creating such a package.  But, it can be done any time and these duplications cleaned up at that point, so I don't think it's a blocker.

## How to test

Create a sandbox, delete `vite.config.js`, and start storybook.  Without this change there would be a crash, but it should work just fine now.
2022-10-04 13:47:33 -04:00
Ian VanSchooten
e37191110f Merge remote-tracking branch 'origin/next' into fix/addon-interactions-build 2022-10-04 13:30:05 -04:00
Ian VanSchooten
80f54842c2 Merge remote-tracking branch 'origin/next' into testing-react-exclude-core 2022-10-04 09:52:50 -04:00
Ian VanSchooten
313b1eeef6 Merge remote-tracking branch 'origin/next' into vite/framework-plugins 2022-10-04 09:52:13 -04:00
Ian VanSchooten
bc9d33b9cc Merge remote-tracking branch 'origin/next' into vite/svelte-docgen-options 2022-10-04 09:42:45 -04:00
Ian VanSchooten
f49fb78a81 Merge remote-tracking branch 'origin/next' into fix/addon-interactions-build 2022-10-04 09:41:29 -04:00
Norbert de Langen
aa8299fc54
Merge branch 'next' into migration/source-loader-tsc 2022-10-04 15:32:35 +02:00
Norbert de Langen
663171e217
Merge branch 'next' into update-lib-postinstall 2022-10-04 15:31:37 +02:00
Norbert de Langen
cebbda6ba5
Merge branch 'next' into norbert/sb-625-remove-cypress-from-the-monorepo 2022-10-04 15:30:37 +02:00
Norbert de Langen
bd0a420209
improve the tsconfig
So we do not get the warning:
ESM You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin

...anymore
2022-10-04 15:14:41 +02:00
Norbert de Langen
bbd4a3a86c
remove official example 2022-10-04 12:35:11 +02:00
Norbert de Langen
7cdb3417f3
add a template for react17 2022-10-04 12:14:24 +02:00
Norbert de Langen
4ed9abd6af
fix the template definition 2022-10-04 11:23:25 +02:00
Norbert de Langen
2f29db5e1f
change name 2022-10-04 11:18:56 +02:00
Norbert de Langen
47da89522c
add react18 + webpack5 template 2022-10-04 09:50:50 +02:00
Norbert de Langen
ecae3e3e2f
Merge pull request #19322 from jeangregorfonrose/jean-storybook
Build: Bundle addons/essentials with ts-up
2022-10-04 10:32:00 +03:00
Norbert de Langen
448f5f48c5
Merge pull request #19307 from bovandersteene/bovds/disable-ngcc
feat(angular): disable ngcc when not needed
2022-10-04 10:02:32 +03:00
Norbert de Langen
16dccf7d54
Merge branch 'next' into jean-storybook 2022-10-04 08:54:57 +02:00
Norbert de Langen
5a2673f42a
Merge branch 'next' into migration/source-loader-tsc 2022-10-04 08:53:53 +02:00
Norbert de Langen
787dbb9af9
Merge branch 'next' into update-lib-postinstall 2022-10-04 08:50:24 +02:00
Norbert de Langen
758427e900
Merge branch 'next' into norbert/sb-625-remove-cypress-from-the-monorepo 2022-10-04 08:49:19 +02:00
Ian VanSchooten
45cc1a2d25 Update yarn.lock 2022-10-03 22:36:05 -04:00
Ian VanSchooten
77d28f8e7d Add svelte csf addon for svelte-native stories 2022-10-03 22:21:40 -04:00