43186 Commits

Author SHA1 Message Date
Norbert de Langen
fc77297556
Merge pull request #19358 from storybookjs/fix/assert-polyfill-missing-webpack-builder
Fix resolution of webpack config relating to resolve fallbacks (assert)
2022-10-05 12:02:38 +03:00
Norbert de Langen
39568efb02
Merge pull request #19357 from storybookjs/tech/regen-lockfile-scripts
Build: regen the lockfile of scripts
2022-10-05 12:02:25 +03:00
Norbert de Langen
abad5077e2
ensure config is resolved with the polyfills 2022-10-05 10:35:17 +02:00
Norbert de Langen
74a6330cac
regen-lockfile 2022-10-05 10:31:05 +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
7ca44733a7
Merge pull request #19303 from storybookjs/norbert/sb-625-remove-cypress-from-the-monorepo
Build: Remove cypress from monorepo
2022-10-05 11:10:25 +03: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
4ce073d1ec
Merge branch 'norbert/sb-524-webpack5react18ts' of github.com:storybookjs/storybook into norbert/sb-524-webpack5react18ts 2022-10-05 09:38: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
Norbert de Langen
33f942bcca
Merge pull request #19352 from storybookjs/disable-cra-default-ts-smoke-test
Disable smoke test on cra/default-ts
2022-10-05 10:24:57 +03:00
Tom Coleman
d5b05d2091 Let's debug bootstrap 2022-10-05 17:10:03 +11: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
f3dd526f9c Commit top-level yarn.lock 2022-10-05 17:04:49 +11:00
Tom Coleman
b1f8c4504e Keep fixing bootstrap until it works 2022-10-05 16:56:02 +11:00
Tom Coleman
f0ab6e6879 Fix bootstrap 2022-10-05 16:47:03 +11:00
Tom Coleman
a3b78e179a Wrong parallelism 2022-10-05 16:41:15 +11:00
Tom Coleman
272fcef10f Properly skip in get-tempate 2022-10-05 15:55:57 +11:00
Tom Coleman
8a7328f121 Deepscan 2022-10-05 15:49:58 +11:00
Tom Coleman
5af3929926 Fix bootstrap 2022-10-05 15:49:52 +11:00
Tom Coleman
19ca84a45c
Pass task to get-template 2022-10-05 15:32:20 +11:00
Tom Coleman
a396d3a5db Updates to package.json to make things simpler 2022-10-05 12:31:33 +11:00
Tom Coleman
7b90d1b993 Decrease parallelism 2022-10-05 11:50:57 +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
Tom Coleman
229a912594 No need to mess with task controllers 2022-10-05 11:09:57 +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
Norbert de Langen
be861c882a
Merge pull request #19243 from joshwooding/fix-prepare-bundle-on-windows
Fix prepare bundle on Windows
2022-10-04 21:04:47 +03: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
Norbert de Langen
9f56f8e4de
Merge pull request #19346 from storybookjs/tech/tsconfig-improvement
improve the tsconfig
2022-10-04 20:18:29 +03:00
Ian VanSchooten
784bf4e079 Merge remote-tracking branch 'origin/next' into fix/addon-interactions-build 2022-10-04 12:19:18 -04:00
Ian VanSchooten
1ff4bb9edf Merge remote-tracking branch 'origin/next' into vite/svelte-docgen-options 2022-10-04 12:18:48 -04:00
Ian VanSchooten
0bf4ad89bf Merge remote-tracking branch 'origin/next' into vite/framework-plugins 2022-10-04 12:17:03 -04:00
Ian VanSchooten
1d77776b0b Merge remote-tracking branch 'origin/next' into testing-react-exclude-core 2022-10-04 12:16:29 -04:00
Norbert de Langen
54383d996b
Merge branch 'next' into tech/tsconfig-improvement 2022-10-04 17:25:12 +02:00
Norbert de Langen
9ab3b19abe
Merge branch 'next' into norbert/sb-625-remove-cypress-from-the-monorepo 2022-10-04 17:25:01 +02:00
Norbert de Langen
095974fab7
Merge branch 'next' into update-lib-postinstall 2022-10-04 17:24:42 +02:00
Norbert de Langen
44e4472445
Merge branch 'next' into migration/source-loader-tsc 2022-10-04 17:24:31 +02:00
Norbert de Langen
29f3921dd6
Merge branch 'next' into fix-prepare-bundle-on-windows 2022-10-04 17:24:15 +02:00
Michael Shilman
7f090ea2f6
Fix chromatic key sanitization for "." 2022-10-04 17:23:45 +02:00
Norbert de Langen
ff88de8652
Merge pull request #19347 from storybookjs/shilman/delete-dead-badges
Docs: Delete dead badges
2022-10-04 18:05:59 +03:00
Norbert de Langen
c4f00145a3
remove broken badges 2022-10-04 16:47:39 +02:00
Michael Shilman
8ce15d387f Delete dead badges 2022-10-04 22:31:01 +08: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
Michael Shilman
e095e8f8d4 Fix chromatic key sanitization for "." 2022-10-04 21:49:33 +08:00
Ian VanSchooten
bc9d33b9cc Merge remote-tracking branch 'origin/next' into vite/svelte-docgen-options 2022-10-04 09:42:45 -04:00