Norbert de Langen
1396928df9
Merge pull request #10659 from storybookjs/fix/error-handling
2020-05-11 09:39:17 +02:00
Gaëtan Maisse
37f29dc707
test(cli): don't test CLI against react_scripts
fixtures with Yarn 2
...
When testing Yarn 2 compatibility of Storybook CLI, we are using Yarn 2 in fixture directories inside a Yarn 1 workspace.
To access local versions of `@storybook` packages we use Yarn 2 `portal` protocol (see berryfy_package_json.js). However, it looks like CRA is not playing well with `portal` protocol and is throwing this kind of error: `Relative imports outside of src/ are not supported.`.
As new E2E tests will be soon available, I just removed the CRA tests instead of trying to hack them a bit more.
2020-05-10 12:58:15 +02:00
Norbert de Langen
c348b35676
IMPROVE the EmptyBlock for refs in sidebar
2020-05-08 20:37:16 +02:00
Norbert de Langen
4be9c94d74
Merge branch 'next' into fix/error-handling
2020-05-08 17:16:13 +02:00
Michael Shilman
7d3f36f384
Update version.ts to 6.0.0-beta.4
2020-05-08 21:08:58 +08:00
Michael Shilman
0e4076e643
v6.0.0-beta.4
2020-05-08 20:59:59 +08:00
Michael Shilman
7bf9709a0c
Controls: Don't render array when value is invalid
2020-05-08 18:07:28 +08:00
Norbert de Langen
4c35a213b7
Merge pull request #10679 from BridgeAR/remove-corejs-upgrade-webpack-plugin
2020-05-08 09:57:11 +02:00
Ruben Bridgewater
ef0ec6d83c
fix: remove corejs-upgrade-webpack-plugin dependency
...
The dependency caused multiple issues, since it's not possible to
just replace one dependency version with another if a specific
version is required.
Remove the dependency from storybook to fix the issue.
2020-05-08 03:21:52 +02:00
Norbert de Langen
7404ad200a
FIX loading story for sidebar
2020-05-07 20:00:43 +02:00
Norbert de Langen
1e60f59764
ADD isEmpty story for sidebar
2020-05-07 17:27:23 +02:00
Norbert de Langen
d8ed361996
FIX loading story for sidebar
2020-05-07 17:26:49 +02:00
Norbert de Langen
ec512f9a89
ADD a 'empty' state when stories are set successfully, but it was empty
2020-05-07 17:02:25 +02:00
Norbert de Langen
17fbf4c157
CLEANUP
2020-05-07 15:04:08 +02:00
Norbert de Langen
5bcb88e0f0
Expand the globs given, and if they result in 0 files, log a warning to the user
2020-05-07 14:58:44 +02:00
Norbert de Langen
f869aa9d24
CLEANUP
2020-05-07 14:18:09 +02:00
Norbert de Langen
974cbfac0f
Merge branch 'next' into fix/error-handling
2020-05-07 13:52:02 +02:00
Michael Shilman
3252d08079
Build: Upgrade jest to 26
2020-05-07 14:36:11 +08:00
Michael Shilman
92101cc0cc
Update version.ts to 6.0.0-beta.3
2020-05-07 13:00:19 +08:00
Michael Shilman
9881185a4a
v6.0.0-beta.3
2020-05-07 12:50:57 +08:00
Michael Shilman
7dfa77f866
Merge pull request #10642 from storybookjs/jest-26
...
Build: Upgrade to jest 26
2020-05-07 08:32:41 +08:00
Michael Shilman
932d2bd6c8
Merge pull request #10634 from storybookjs/feature/addon-backgrounds-revamp
...
Addon-backgrounds: simplified parameters API
2020-05-06 23:33:40 +08:00
Michael Shilman
17caf09142
Merge pull request #10566 from wKich/filter-null-from-storystore-raw-method
...
Core: Fix `globalArgs` initialization from global parameters
2020-05-06 23:31:02 +08:00
Norbert de Langen
d386a37d06
FIX build
2020-05-06 14:53:05 +02:00
Norbert de Langen
1274d214f1
Merge branch 'fix/error-handling' of github.com:storybookjs/storybook into fix/error-handling
...
# Conflicts:
# lib/client-api/src/story_store.test.ts
2020-05-06 12:16:29 +02:00
Norbert de Langen
e39424c12a
CLEANUP
2020-05-06 11:54:09 +02:00
Norbert de Langen
bbc3991451
Revert story_store.test.ts
2020-05-06 11:53:53 +02:00
Yann Braga
d8edf8c236
refactor(addon-backgrounds): use the new api
...
- Update all places where backgrounds is used to use the new api
2020-05-06 11:53:02 +02:00
Norbert de Langen
2ae3c2f7bc
Merge branch 'fix/error-handling' of github.com:storybookjs/storybook into fix/error-handling
2020-05-06 11:51:50 +02:00
Norbert de Langen
d51c19687f
CLEANUP
2020-05-06 11:51:43 +02:00
Norbert de Langen
b96c3cbb5b
Update lib/api/src/modules/refs.ts
...
Co-authored-by: Tom Coleman <tom@thesnail.org>
2020-05-06 11:20:03 +02:00
wKich
4aeef6182f
read args from global parameters instead of first story parameters
2020-05-06 14:00:38 +05:00
Norbert de Langen
4d92845400
Merge pull request #10644 from storybookjs/ie11_again
2020-05-06 09:56:34 +02:00
Norbert de Langen
97748aad31
FIX tests
2020-05-05 21:40:39 +02:00
Norbert de Langen
b88cb33540
FIX tests
2020-05-05 21:28:30 +02:00
Norbert de Langen
415400c71f
FIX mockdata & stories
2020-05-05 21:17:23 +02:00
Norbert de Langen
6ce5ad160a
FIX loading state in manager preview component when there's an error
2020-05-05 20:58:27 +02:00
Norbert de Langen
b85c6ad0ed
FIX loading state of sidebar when no setStories is emitted (because of an error for example)
2020-05-05 20:57:37 +02:00
Norbert de Langen
5a2edae1a3
show errorDisplay when an error occurs
2020-05-05 20:28:07 +02:00
Norbert de Langen
befafac56e
ADD CURRENT_STORY_WAS_SET to core-events
2020-05-05 19:18:50 +02:00
Norbert de Langen
75d403e480
REMOVE unneeded duplicated stories interface && ADD error to setStories event interface
2020-05-05 19:16:23 +02:00
dependabot-preview[bot]
c94a920112
Bump terser-webpack-plugin from 2.3.6 to 3.0.0
...
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin ) from 2.3.6 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.6...v3.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 07:57:36 +00:00
wKich
ee21cd1360
tune some story merging args and parameters
2020-05-05 10:01:31 +05:00
wKich
430482da40
Merge branch 'next' into filter-null-from-storystore-raw-method
2020-05-05 08:27:31 +05:00
tooppaaa
04c1df5fc7
fix incorrect dll context
2020-05-04 23:11:31 +02:00
Filipp Riabchun
1fdda7a7e4
Support jest 26
2020-05-04 21:10:19 +02:00
Norbert de Langen
a26ff77afd
Merge pull request #10630 from storybookjs/fix/litHtmlDep
2020-05-04 19:59:26 +02:00
Norbert de Langen
73641ce609
Merge branch 'next' into aurelia
...
# Conflicts:
# package.json
# yarn.lock
2020-05-04 16:07:26 +02:00
Brandon Seydel
eafe8a4774
Lint issues fixed
2020-05-04 08:15:09 -05:00
Michael Shilman
d33a3501d4
Update version.ts to 6.0.0-beta.2
2020-05-04 20:17:17 +08:00