25124 Commits

Author SHA1 Message Date
Tom Coleman
eafa6d1d10 Fix types in test 2020-03-01 23:35:53 +11:00
Tom Coleman
e777d59276 Fix type change that didn't quite work in storyshots
cc @kroeder -- perhaps we need to make the type here "not quite a node module" -- I suppose the issue here is that the require-context hook we use doesn't implement `req.resolve()`: https://www.npmjs.com/package/@storybook/addon-storyshots#configure-jest-to-work-with-webpacks-requirecontext

We should probably just fix it so it does, but for now.
2020-03-01 23:06:53 +11:00
Tom Coleman
a849625504 Fix decorators test 2020-03-01 22:48:35 +11:00
Tom Coleman
c7264a4aee Fix URL test 2020-03-01 22:45:07 +11:00
Tom Coleman
2a190be01b Added tests for makeConfigure 2020-03-01 22:32:19 +11:00
Tom Coleman
0d4049ed13 Fixed start.test.js 2020-02-28 16:30:10 +11:00
Tom Coleman
4e7269ee93 Fixed client_api tests 2020-02-28 16:28:16 +11:00
Tom Coleman
29d7dd0bee Start doesn't need to be a tsx file any more 2020-02-28 15:35:24 +11:00
Tom Coleman
a35c3a689e Add tests for StoryRenderer 2020-02-27 22:22:16 +11:00
Tom Coleman
4c52896bde Channel can be null if there is no browser 2020-02-27 22:21:55 +11:00
Tom Coleman
f07dbaf243 Fix url.test.js 2020-02-27 16:30:35 +11:00
Tom Coleman
95f84f00f0 Added tests for storyStore 2020-02-27 16:20:42 +11:00
Tom Coleman
3c089a8510 Don't use STORIES_CONFIGURED to tell if the stories changed now 2020-02-27 15:50:45 +11:00
Tom Coleman
7616d76326 Basics working 2020-02-26 22:46:44 +11:00
Tom Coleman
6055762dfb Move configure function outside of start.tsx 2020-02-26 08:54:03 +11:00
Tom Coleman
e1cb8816d6 Remove unused events 2020-02-25 18:15:33 +11:00
Tom Coleman
606ce21950 A RenderStoryFunction takes a RenderContext 2020-02-20 21:51:41 +11:00
Tom Coleman
c4a8c869a0 First part of refactor -- pull StoryRenderer out of start.js 2020-02-20 21:41:03 +11:00
Tom Coleman
f9d88daba5 Brought changes lib/core/src/client/preview in #9870 over
Thanks @kroeder!
2020-02-20 20:20:28 +11:00
Tom Coleman
da9576ca18 Move decorator test to TS 2020-02-20 20:18:01 +11:00
Michael Shilman
4b10388a87 6.0.0-alpha.15 next.json version file 2020-02-20 12:37:59 +08:00
Michael Shilman
f04b027da7 Update version.ts to 6.0.0-alpha.15 2020-02-20 12:04:30 +08:00
Michael Shilman
efd0256348 v6.0.0-alpha.15 v6.0.0-alpha.15 2020-02-20 11:54:32 +08:00
Michael Shilman
c74f2378b2 Update peer dependencies to 6.0.0-alpha.15 2020-02-20 11:49:56 +08:00
Michael Shilman
e05c40d70f 6.0.0-alpha.15 changelog 2020-02-20 11:49:46 +08:00
Tom Coleman
a7dc544b41
Merge pull request #9877 from storybookjs/refactor-client-api
Refactor Client API: pull metadata handling code into the store.
2020-02-20 13:34:54 +11:00
Tom Coleman
5b56f443ee
Merge branch 'next' into refactor-client-api 2020-02-20 11:53:20 +11:00
Tom Coleman
f9f0b82594
Merge pull request #9868 from storybookjs/client-api-hot-refresh
Core: Add skip dispose option to ClientApi
2020-02-20 09:20:38 +11:00
Norbert de Langen
49d456dea4
UPGRADE cypress 2020-02-19 16:07:26 +01:00
Norbert de Langen
e8c41383a1
Merge branch 'next' into refactor-client-api 2020-02-19 15:13:13 +01:00
Gytis Vinclovas
fe1d45830f
Update types.ts 2020-02-19 13:04:47 +02:00
Gytis Vinclovas
e9218958cf Merge branch 'client-api-hot-refresh' of github.com:storybooks/storybook into client-api-hot-refresh 2020-02-19 12:58:17 +02:00
Tom Coleman
0a2d972673 Ensure our generated entry loads *after* polyfills 2020-02-19 21:43:26 +11:00
Gytis Vinclovas
83ec145b73 yarn.lock 2020-02-19 12:42:28 +02:00
Tom Coleman
b8b8454dbc Remove multiple decorator from background stories 2020-02-19 21:38:26 +11:00
Tom Coleman
48ae35591e Update custom decorator story snapshot 2020-02-19 20:47:13 +11:00
Tom Coleman
dd103ad87c Extract the framework to an initial entry to ensure it *always* runs first.
cc @shilman
2020-02-19 20:40:13 +11:00
Michael Shilman
d5d2e7972a 6.0.0-alpha.14 next.json version file 2020-02-19 07:06:21 +08:00
Michael Shilman
430cb60570 Update version.ts to 6.0.0-alpha.14 2020-02-19 07:03:02 +08:00
Michael Shilman
4341bc65f7 v6.0.0-alpha.14 v6.0.0-alpha.14 2020-02-19 06:53:15 +08:00
Michael Shilman
845c76aaa3 Update peer dependencies to 6.0.0-alpha.14 2020-02-19 06:49:03 +08:00
Michael Shilman
1f0adc6aa7 6.0.0-alpha.14 changelog 2020-02-19 06:48:24 +08:00
Gaëtan Maisse
7e486a554e
Merge pull request #9902 from storybookjs/add-downlevel-dts
Fix: Add downlevel dts
2020-02-18 22:29:11 +01:00
Gaëtan Maisse
781a472562
Merge pull request #9866 from storybookjs/yarn-2-cli-sb-init-compatibility
CLI: Add Yarn 2 compatibility
2020-02-18 20:59:25 +01:00
Gaëtan Maisse
7e522c65b9 fix: add missing typesVersions for TS<3.5 compatibilty
(cherry picked from commit 363c3d9bd764edfe68fd60de4a21daae1b3f77f3)
2020-02-18 20:40:06 +01:00
Lynn Chyi
23b7d9fde9 Add ts3.5 to package.json's "files" attr
(cherry picked from commit f0edad2d0cb5c74d2f03a13e1ca1cb27287f3625)
2020-02-18 20:37:59 +01:00
Lynn Chyi
d0289d919d Update packages w typesVersions for compatibility
(cherry picked from commit 3667fec36991c0315ac54f2c6b5dffcc098371b7)
2020-02-18 20:37:11 +01:00
Lynn Chyi
b9d9990a11 Add downlevel-dts for TS3.5 compat
(cherry picked from commit 2c3b0f937ab3a729e03f6c88a178b448daacbe9b)
2020-02-18 20:36:04 +01:00
Norbert de Langen
cb9e428bb6
Merge pull request #9865 from storybookjs/imgbot
[ImgBot] Optimize images
2020-02-18 17:49:44 +01:00
Norbert de Langen
b7a225ec52
Merge pull request #9895 from storybookjs/dependabot/npm_and_yarn/webpack-cli-3.3.11
Bump webpack-cli from 3.3.10 to 3.3.11
2020-02-18 17:48:20 +01:00