1086 Commits

Author SHA1 Message Date
Norbert de Langen
af1f49c44e
delete html-kitchen-sink example 2022-10-05 12:19:49 +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
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
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
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
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
17ddcb71ba Disable smoke test on cra/default-ts
https://github.com/storybookjs/storybook/issues/19351
2022-10-05 11:49:16 +11: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
313b1eeef6 Merge remote-tracking branch 'origin/next' into vite/framework-plugins 2022-10-04 09:52:13 -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
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
Michael Shilman
7efe75a445 Update danger config to accept "build" label 2022-10-04 10:11:42 +08:00
Bo Vandersteene
dfd38af1df make options optional 2022-10-03 21:55:24 +02:00
Ian VanSchooten
c4c4f68549 Merge remote-tracking branch 'origin/next' into vite/framework-plugins
# Conflicts:
#	code/frameworks/react-vite/src/preset.ts
2022-10-03 12:35:07 -04:00
Norbert de Langen
62d2df7ecb
regen lockfiles 2022-10-03 18:23:58 +02:00
Norbert de Langen
83b4bb2db4
Merge branch 'next' into norbert/sb-625-remove-cypress-from-the-monorepo 2022-10-03 18:13:15 +02:00
Norbert de Langen
8f31e0ca62
Merge branch 'tech/tsup-lib-client-api' into tech/tsup-core-client 2022-10-03 17:52:14 +02:00
Norbert de Langen
8adcd1e2e8
add required dependency 2022-10-03 17:45:43 +02:00
Norbert de Langen
edf0cc8201
Merge branch 'next' into tech/tsup-lib-client-api 2022-10-03 17:42:15 +02:00
Norbert de Langen
c8946632fe
add required dev dep 2022-10-03 17:40:51 +02:00
Norbert de Langen
5bee2e9fe9
remove globals file 2022-10-03 17:37:20 +02:00
Norbert de Langen
67f0aafe74
Merge branch 'next' into tech/tsup-core-client
# Conflicts:
#	code/lib/core-client/src/globals.ts
#	code/lib/core-server/src/presets/common-preset.ts
2022-10-03 17:36:56 +02:00
Norbert de Langen
f3299fe1b3
cleanup 2022-10-03 17:27:50 +02:00
Norbert de Langen
78352c1def
Merge branch 'next' of github.com:storybookjs/storybook into next 2022-10-03 17:11:12 +02:00
Norbert de Langen
ac4622d57b
Merge branch 'tech/tsup-lib-api' of github.com:storybookjs/storybook into next 2022-10-03 17:11:05 +02:00
Norbert de Langen
bba5c8c321
Merge branch 'next' into remove-react-classes-global 2022-10-03 17:46:26 +03:00
Norbert de Langen
b2ad45cd97
Merge pull request #19317 from tolkadot/update-lib-telemetry
chore(telemetry): update package.json paths for compatibility with ts-up
2022-10-03 17:41:37 +03:00
Norbert de Langen
a017d1e344
this preset doesn't actually have any of these files 2022-10-03 15:54:33 +02:00
Norbert de Langen
561a5ad99e
make it platform-node 2022-10-03 15:45:27 +02:00
Norbert de Langen
750747a71d
Merge branch 'next' into jean-storybook 2022-10-03 15:43:42 +02:00
Norbert de Langen
28995ee2c0
Merge branch 'next' into norbert/sb-625-remove-cypress-from-the-monorepo 2022-10-03 15:33:29 +02:00
Dee Bryant
d8883c9d24 chore(postinstall): update package.json paths for compatibility with ts-up 2022-10-03 20:33:13 +11:00
Norbert de Langen
88b681b4a6
Merge branch 'next' into migration/source-loader-tsc 2022-10-03 10:18:58 +02:00
Norbert de Langen
ea969b0fc7
Update code/lib/source-loader/package.json 2022-10-03 10:18:38 +02:00
Norbert de Langen
767830f95d
Merge pull request #19308 from javier-arango/feat/lib-store-tsup
Build lib/store with tsup
2022-10-03 11:01:47 +03:00