578 Commits

Author SHA1 Message Date
Michael Shilman
d5bce2c2bb
Merge pull request #19111 from storybookjs/fix-svelte-dependencies
Svelte: Update sveltedoc dependencies
2022-09-06 00:31:01 +08:00
Michael Shilman
5a6aee7e44
Merge pull request #19098 from storybookjs/remove-core-js
Deps: Remove core-js from most packages
2022-09-06 00:24:04 +08:00
Michael Shilman
c240ea14da
Merge pull request #19115 from storybookjs/fix/cli-init
Include rendererAssets in npm bundle
2022-09-06 00:22:34 +08:00
Ian VanSchooten
eb341b9f6f Include rendererAssets in npm bundle 2022-09-05 10:38:35 -04:00
Tom Coleman
14fc77a688 Update svelte dependencies 2022-09-05 21:10:30 +10:00
Ian VanSchooten
e45aaa6825 Fix usage of react-inspector 2022-09-04 22:04:33 -04:00
Ian VanSchooten
4a9bd4460b Update react-inspector 2022-09-04 18:02:48 -04:00
Ian VanSchooten
0c92e1b099 Upgrade react-element-to-jsx-string 2022-09-04 17:51:02 -04:00
Ian VanSchooten
4a662b3866 Restore core-js to some packages
They use features which our browserslist thinks needs to be polyfilled.
I think these can be removed again once (if?) we move them from babel to esbuild.
2022-09-04 00:31:26 -04:00
Ian VanSchooten
ce8b25c51b Keep core-js for angular 2022-09-03 11:50:45 -04:00
Ian VanSchooten
742bfb05ae Experiment: remove core-js 2022-09-02 23:08:48 -04:00
Michael Shilman
252a26cd9b Update git head to 7.0.0-alpha.29, update yarn.lock [ci skip] 2022-09-03 00:09:51 +08:00
Michael Shilman
87ce9b91ce v7.0.0-alpha.29 2022-09-03 00:03:50 +08:00
Michael Shilman
296bb470e3 Update root, peer deps, version.ts/json to 7.0.0-alpha.29 [ci skip] 2022-09-03 00:00:43 +08:00
Michael Shilman
d1418038d3 Vite: Fix framework typing issues with a hack 2022-09-02 23:54:15 +08:00
Michael Shilman
ee43d69dcf
Merge pull request #19088 from storybookjs/vite/no-install-babel
Vite: Don't add babel dependencies during init
2022-09-02 23:29:31 +08:00
Michael Shilman
9e5d3e0261
Merge pull request #19086 from storybookjs/norbert/sb-580-addon-viewport
Addon-viewport: Move stories into addon
2022-09-02 23:25:49 +08:00
Michael Shilman
7f4c7a378b
Merge pull request #19085 from storybookjs/norbert/sb-575-addon-backgrounds
Addon-backgrounds: Move stories into addon
2022-09-02 23:25:26 +08:00
Michael Shilman
78391bcbd6
Merge pull request #19082 from storybookjs/norbert/sb-573-addon-actions
Addon-actions: Move stories into addon
2022-09-02 23:24:34 +08:00
Michael Shilman
7dadf5059a
Merge pull request #19087 from storybookjs/vite/plugin-cleanup
Vite: cleanup custom plugins
2022-09-02 21:45:58 +08:00
Norbert de Langen
0880c84e4f
rename 2022-09-02 14:25:02 +02:00
Norbert de Langen
5dbdfd5c0f
Merge branch 'norbert/sb-575-addon-backgrounds' into norbert/sb-580-addon-viewport 2022-09-02 14:24:39 +02:00
Norbert de Langen
b6cf506359
rename 2022-09-02 14:24:15 +02:00
Norbert de Langen
2a5ca3a011
Merge branch 'norbert/sb-573-addon-actions' into norbert/sb-575-addon-backgrounds 2022-09-02 14:23:30 +02:00
Norbert de Langen
906d5746fb
fix 2022-09-02 13:59:03 +02:00
Norbert de Langen
4ea9c59e27
Merge branch 'norbert/sb-575-addon-backgrounds' into norbert/sb-580-addon-viewport 2022-09-02 13:38:58 +02:00
Norbert de Langen
ed5c983eb4
Merge branch 'norbert/sb-573-addon-actions' into norbert/sb-575-addon-backgrounds 2022-09-02 13:38:42 +02:00
Norbert de Langen
699ce93104
remove types 2022-09-02 13:36:41 +02:00
Michael Shilman
bc41d6666c Merge branch 'next' into vite/plugin-cleanup 2022-09-02 18:41:42 +08:00
Michael Shilman
6ff0621ded
Merge pull request #19091 from storybookjs/shilman/fix-sb-init
CLI: Fix sb init to use renderer assets instead of frameworks
2022-09-02 18:39:10 +08:00
Norbert de Langen
fbb6c9f479
Merge branch 'norbert/sb-575-addon-backgrounds' into norbert/sb-580-addon-viewport 2022-09-02 12:38:17 +02:00
Norbert de Langen
7f71e3549e
rename files 2022-09-02 12:38:00 +02:00
Norbert de Langen
7f1a7e6e53
rename file 2022-09-02 12:37:03 +02:00
Norbert de Langen
a347cfe27d
Merge branch 'norbert/sb-575-addon-backgrounds' into norbert/sb-580-addon-viewport 2022-09-02 12:35:06 +02:00
Norbert de Langen
2e01fb2fcc
Merge branch 'norbert/sb-573-addon-actions' into norbert/sb-575-addon-backgrounds 2022-09-02 12:34:22 +02:00
Norbert de Langen
802f349c49
add stories for argTypes and rename files to .js extention 2022-09-02 12:28:08 +02:00
Norbert de Langen
606c00dff9
Merge branch 'next' into norbert/sb-573-addon-actions 2022-09-02 12:20:21 +02:00
Norbert de Langen
9cc9803178
fix typos 2022-09-02 12:01:28 +02:00
Michael Shilman
54503208a6 CLI: Fix sb init to use renderer assets instead of frameworks
In 6.5 the `framework` config option was one of `react`, `angular`, etc. and included Webpack settings.

In the 7.0, we’ve updated it so that these are now called `renderers`, and are builder-independent. Now, frameworks contain specific builder information, such as `cra` or `nextjs` (for specific app environments) or `react-webpack5` / `react-vite` (for custom apps).

This fixes the `sb init` CLI command to use renderer-specific templates. I also call out some follow-up work to fix automigrations & telemetry
2022-09-02 15:35:27 +08:00
Tom Coleman
5407c0c6e2
Merge pull request #19071 from storybookjs/tom/sb-699-sb19015-70-vite-storybook-crashes-when
Ensure if a docs render is torndown during preparation, it throws
2022-09-02 14:26:29 +10:00
Ian VanSchooten
f968c85fc2 Don't add babel dependencies for vite projects 2022-09-01 23:53:53 -04:00
Michael Shilman
e1646400e4
Revert "chore: rename prepare script to prep" 2022-09-02 11:26:42 +08:00
Tom Coleman
f84161b14b Fix jest issues 2022-09-02 13:08:10 +10:00
Ian VanSchooten
9a5adca82e Fix paths to input files 2022-09-01 21:52:51 -04:00
Ian VanSchooten
b70251e25a Use Vite 3.1.0-beta.1 in dev
We need this to support the new object hooks
2022-09-01 16:18:50 -04:00
Ian VanSchooten
351b4f1ad6 Handle rollup hook objects 2022-09-01 16:12:45 -04:00
Ian VanSchooten
119a2d45f1 Use consistent vite plugin names
This will make them easier to understand in debug logs, for instance.
2022-09-01 16:02:57 -04:00
Ian VanSchooten
e39716fffa Move all plugins into /plugins 2022-09-01 15:59:10 -04:00
Ian VanSchooten
0b124c55a7 Remove unneeded no-fouc plugin
The issue was fixed in vite prior to 3.0, which is the lowest version we support now.
2022-09-01 15:51:57 -04:00
Norbert de Langen
9d198e55fa
Merge pull request #19077 from storybookjs/chore/rename-prepare
chore: rename prepare script to prep
2022-09-01 21:16:33 +02:00