3776 Commits

Author SHA1 Message Date
Michael Shilman
eac0c6b9aa v6.1.0-alpha.13 2020-09-22 00:55:25 +08:00
Yann Braga
f55b4b61d4 test(preset-react): update tests for new implementation 2020-09-21 18:09:37 +02:00
Yann Braga
deb453ecb7 fix(fast-refresh): set babel plugin correctly in the preset
- Rather than in the webpack config, set it in babel, so that
 there aren't multiple loaders and instead just the plugin is added
 together with the presets.
 Examples were moved to cra-kitchen-sink because official removes
 the babel-loader taht comes from storybook.
2020-09-21 16:53:12 +02:00
Kevin Zolkiewicz
611a5aedd4 Web Components: Add script tag support 2020-09-20 14:33:02 -05:00
Michael Shilman
275810d1da Update git head to 6.1.0-alpha.12 2020-09-21 00:28:33 +08:00
Michael Shilman
76ebd96c33 v6.1.0-alpha.12 2020-09-21 00:22:53 +08:00
Michael Shilman
ea341b594c
Merge pull request #12470 from storybookjs/react/refresh2
React: Add react-refresh
2020-09-21 00:07:04 +08:00
Michael Shilman
de35c21ab3
Merge pull request #12522 from jonspalmer/server_script_tags
Server: Add support for script tags
2020-09-20 23:42:47 +08:00
Michael Shilman
336a1f3753
Merge branch 'next' into react/refresh2 2020-09-20 23:39:24 +08:00
Gaëtan Maisse
3406c88cf9
Merge branch 'next' into deps 2020-09-20 16:14:28 +02:00
Gaëtan Maisse
d1d7035da0
chore: update TypeScript peerDep version in @storybook/angular
`@storybook/angular` is compatible with old version of Angular.
However, these old versions only officially support some versions of TS.
So I reverted the update made in c8a60565b01f44659ecbd7af9ab7891b7e075456
2020-09-20 16:11:48 +02:00
Gaëtan Maisse
f91e8d36c4
refactor: rename downleveled TS directory to ts3.4
As of 0.6.0, `downlevel-dts` targets TypeScript 3.4 and there is no option to change that.
So I renamed all the output dirs to `ts3.4` to better represent what's inside them.
2020-09-20 15:54:35 +02:00
Jon Palmer
001dbc666a
Server: Add support for script tags 2020-09-19 20:42:44 -04:00
Michael Shilman
b84a545075 Update git head to 6.1.0-alpha.11 2020-09-19 23:34:22 +08:00
Michael Shilman
38fc33bac6 v6.1.0-alpha.11 2020-09-19 23:28:55 +08:00
Clément DUNGLER
13e5e183ee cleanup and doc 2020-09-19 14:59:59 +02:00
Clément DUNGLER
aba7ba68ff fix typings 2020-09-19 14:52:19 +02:00
Andrew Lisowski
c8a60565b0 upgrade typescript + babel 2020-09-17 08:50:44 -07:00
Tom Coleman
22dabf7579
Merge pull request #12221 from dvoytenko/preact/force-render-support
Preact: Keep the story state between rerenders
2020-09-17 16:30:05 +10:00
Clément DUNGLER
8db20c7596 Merge remote-tracking branch 'origin/next' into react/refresh2 2020-09-17 08:10:19 +02:00
Clément DUNGLER
9406734c76 export as type 2020-09-17 08:08:58 +02:00
Tom Coleman
a87fa1e75a
Minor change (and typo fix) to trigger CI 2020-09-17 15:17:53 +10:00
Michael Shilman
ddd4498df2 Update git head to 6.1.0-alpha.10 2020-09-16 12:59:18 +08:00
Michael Shilman
57798a108e v6.1.0-alpha.10 2020-09-16 12:53:47 +08:00
Michael Shilman
f6b631cc94
Merge pull request #12440 from dbendaou/add-polyfill-support-for-ember
Ember: Add `emberOptions` to `main.js` config 
2020-09-16 08:55:04 +08:00
AndrewLeedham
3ab18b54b3 fix(react): reactDocgen option when false 2020-09-16 00:40:24 +01:00
Clément DUNGLER
45e106f8ef fix build 2020-09-15 20:31:26 +02:00
Djamel BENDAOUD
d54e125d1a 📝 add some documentation about polyfill and emberOptions 2020-09-15 15:32:19 +02:00
Djamel BENDAOUD
a4f7879c85 🐛 delete the frameworkOptions key from the main.js preset 2020-09-15 15:14:06 +02:00
Djamel BENDAOUD
5f674f5c0f add ability to pass custom emberOptions to framework-preset-babel-ember 2020-09-15 15:13:17 +02:00
Yann Braga
146617c3fc test(preset-react): test fast refresh scenarios 2020-09-14 23:37:30 +02:00
Clément DUNGLER
d789ea53fa Merge remote-tracking branch 'origin/next' into react/refresh2 2020-09-14 23:02:08 +02:00
Clément DUNGLER
b41f3a6060 Add frameworkOptions and fastRefresh option 2020-09-14 22:56:12 +02:00
Clément DUNGLER
2ae46dc6a5 Limit to development 2020-09-14 14:10:21 +02:00
Clément DUNGLER
115fbb44a4 Remove details 2020-09-14 11:55:25 +02:00
Clément DUNGLER
688b3891cb WIP 2020-09-14 09:11:44 +02:00
Michael Shilman
9f6cb63080 Update git head to 6.1.0-alpha.9 2020-09-13 01:46:51 +08:00
Michael Shilman
91446c812d v6.1.0-alpha.9 2020-09-13 01:41:44 +08:00
Michael Shilman
f53f4dcabb Update git head to 6.1.0-alpha.8 2020-09-12 00:49:31 +08:00
Michael Shilman
3a636538b7 v6.1.0-alpha.8 2020-09-12 00:43:54 +08:00
Michael Shilman
9a5995e5f4
Merge pull request #12089 from adamonsoon/feature/simulate-pageload
HTML: Add script tag support
2020-09-12 00:21:57 +08:00
Michael Shilman
bac8a06a58 Fix linting 2020-09-11 23:55:38 +08:00
Michael Shilman
df297e2960
Merge pull request #11753 from merceyz/pnp
Core: Fix monorepo compatibility
2020-09-11 23:14:56 +08:00
Gaëtan Maisse
7cd6bdbfc1
Merge branch 'next' into pnp 2020-09-11 13:22:40 +02:00
merceyz
3189a6d5e1 fix: handle windows paths 2020-09-11 12:57:59 +02:00
Gaëtan Maisse
a463c89aba fix: resolve presets relatively to configDir
Storybook doesn't work correctly in monorepos with both node_modules (Yarn 1/2) and PnP (Yarn 2) because it's trying to require the addons declared in .storybook/main.js from @storybook/core instead of requiring them on behalf of the config.

Also makes checks on preset names less restrictive as they are now resolved path and not simple name anymore.
2020-09-11 12:54:51 +02:00
merceyz
9e2e633ab1 chore: fix merge issues 2020-09-10 18:20:03 +02:00
merceyz
0531c06a09 Merge branch 'next' into merceyz/pnp-issues 2020-09-10 18:15:17 +02:00
Michael Shilman
47fdc13333 Update git head to 6.1.0-alpha.7 2020-09-10 23:44:20 +08:00
Michael Shilman
c63131f032 v6.1.0-alpha.7 2020-09-10 23:37:45 +08:00