Gaëtan Maisse
dfaa3ac87e
feat(e2e): remove riot@3 from e2e config list
...
Example stories for riot need to be updated.
Moreover, they should be migrated to riot@4.
2020-07-25 19:59:00 +02:00
Gaëtan Maisse
ca6784d274
feat(cli): update Rax template with Button, Header and Page stories
2020-07-25 19:59:00 +02:00
Gaëtan Maisse
ea8c5ee428
feat(e2e): use latest version of Yarn 2 when running tests
...
Using `latest` keyword with yarn 1 resolves to Yarn 1.x but we need Yarn 2.
2020-07-25 19:58:59 +02:00
Gaëtan Maisse
b1ad174bf3
refactor(e2e): make yarn add/install
command run in e2e compatible with Yarn 2
2020-07-25 19:58:59 +02:00
Gaëtan Maisse
6515930833
refactor(e2e): use base CRA tests config for Yarn 2 instead of a custom one
2020-07-25 19:58:59 +02:00
Gaëtan Maisse
7e95114d79
feat(e2e): introduce --use-yarn-2
option to run tests with Yarn 2
2020-07-25 19:58:57 +02:00
Michael Shilman
59a3c87a99
Merge pull request #11472 from Marklb/marklb/fix-asset-normalize-win
...
Angular: Use system path when checking if asset is a directory
2020-07-25 17:01:03 +08:00
Michael Shilman
2175c6dce1
Merge pull request #11673 from storybookjs/tech/upgrade-telejson-for-backwards-compat
...
Composition: Fix composition of older storybooks
2020-07-24 21:10:05 +08:00
Norbert de Langen
4a3d15ae16
FIX lockfile
2020-07-23 20:55:35 +02:00
Norbert de Langen
b88fd4f6e5
UPGRADE telejson
2020-07-23 19:58:23 +02:00
Michael Shilman
3bc466689b
Merge pull request #11667 from rek/patch-1
...
Typo: add missing comma in addons example
2020-07-23 21:24:09 +08:00
adam tombleson
e45cc5c94e
Typo: add missing comma in addons example
2020-07-23 11:39:41 +02:00
Michael Shilman
6748cfb400
Merge pull request #11658 from storybookjs/11656-bump-rdtp
...
Bump react-docgen-typescript-plugin to 0.5.2
2020-07-23 12:44:28 +08:00
Michael Shilman
c70c68e353
Merge pull request #11660 from storybookjs/11571-fix-prefix-redirect-2
...
Core: Fix existing behavior with story prefixes
2020-07-23 12:44:00 +08:00
Tom Coleman
07c7e47783
Fix existing behaviour with prefixes
2020-07-23 13:54:10 +10:00
Michael Shilman
dd7b16862d
Bump react-docgen-typescrit-plugin to 0.5.2
2020-07-23 10:17:49 +08:00
Michael Shilman
4af0d0d4b4
Merge pull request #11647 from daniel-ac-martin/patch-1
...
Core: Fix webpack recursion in mainjs glob processing logic
2020-07-23 08:04:39 +08:00
Michael Shilman
e1534a9d10
6.0.0-rc.14 next.json version file
2020-07-23 00:07:38 +08:00
Michael Shilman
9d787248bf
Update version.ts to 6.0.0-rc.14
2020-07-22 23:58:04 +08:00
Michael Shilman
718fd46142
v6.0.0-rc.14
v6.0.0-rc.14
2020-07-22 23:47:42 +08:00
Michael Shilman
08d38bee39
Update root, peer deps to 6.0.0-rc.14
2020-07-22 23:42:03 +08:00
Michael Shilman
a7fb08018d
6.0.0-rc.14 changelog
2020-07-22 23:41:48 +08:00
Michael Shilman
17bc43e913
Merge pull request #11650 from storybookjs/11526-react-source-loader
...
Addon-docs: Re-enable source-loader by default
2020-07-22 23:39:59 +08:00
Michael Shilman
df06c0aeae
Merge pull request #11646 from storybookjs/channel-log-message-length
...
Core: Log message length on channel message
2020-07-22 23:19:41 +08:00
Michael Shilman
d8d4684409
Addon-docs: Re-enable source-loader by default
2020-07-22 23:16:51 +08:00
Daniel A.C. Martin
496b9b7e64
Core: Add tests for recursive flag
...
Adds some crude tests for when we expect to run webpack's
`require.context` in recursive mode.
2020-07-22 15:44:30 +01:00
Michael Shilman
b8daf98348
Merge pull request #11643 from storybookjs/tech/11623-duplicate-decorator-removal-and-warning
...
Core: Remove duplicate decorators and warn
2020-07-22 22:03:44 +08:00
Daniel A.C. Martin
5ab9e09ee6
Core: toRequireContext: recurse in more cases
...
`../base-dir/*/index.stories.jsx` will lead to `glob` being set to `*/index.stories.jsx` and so `glob.split('/').length` = 2.
With the existing code the `recursive` flag would _not_ be set and yet webpack will need to recurse into the directories in order to find any `index.stories.jsx` files that might exist within them.
Therefore, we should compare to 1 and not 2.
See: https://github.com/storybookjs/storybook/issues/11530#issuecomment-662465689
2020-07-22 15:01:12 +01:00
Michael Shilman
895257d169
Merge pull request #11518 from storybookjs/11488-fix-metadata-storyshots
...
Storyshots: Fix metadata (parameters/decorators) handling
2020-07-22 21:59:10 +08:00
Michael Shilman
c2b8715398
Update addons/storyshots/storyshots-core/README.md
2020-07-22 21:58:45 +08:00
Michael Shilman
4d4e8032e4
Merge pull request #11640 from storybookjs/docs-source-optimize-dynamic-rendering
...
Addon-docs: Skip dynamic source rendering when not needed
2020-07-22 21:55:25 +08:00
Michael Shilman
ac53ec4e57
Core: Log message length on channel message
2020-07-22 21:54:40 +08:00
Norbert de Langen
fbdc628178
ADD test
2020-07-22 13:07:38 +02:00
Norbert de Langen
edd796558a
CHANGE addGlobalMetadata so it checks if a global decorator should be added (it should not if it already exists)
2020-07-22 12:14:37 +02:00
Michael Shilman
03cb95427e
Addon-docs: Null context handling
2020-07-22 18:10:12 +08:00
Michael Shilman
35ce32d4fa
Addon-docs: Add tests for dyanamic snippet rendering
2020-07-22 16:47:20 +08:00
Michael Shilman
ba39d681d5
Addon-docs: Skip dynamic source rendering when not needed
2020-07-22 16:19:12 +08:00
Michael Shilman
28e65b00c1
Merge pull request #11637 from storybookjs/11571-fix-prefix-redirect
...
Core: Fix prefix redirect
2020-07-22 15:16:32 +08:00
Tom Coleman
2dff01ff3b
Update examples/official-storybook/stories/core/prefix.stories.js
...
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-07-22 15:50:39 +10:00
Tom Coleman
75fdf5eb56
Ensure we preference shorter matching storyIds
2020-07-22 13:56:54 +10:00
Tom Coleman
7c6d7a9d89
Stop use from flashing around between stories
2020-07-22 13:52:09 +10:00
Tom Coleman
dea3738449
Add prefix stories to replicate #11571
2020-07-22 13:46:04 +10:00
Michael Shilman
2585ac958f
6.0.0-rc.13 next.json version file
2020-07-21 18:37:25 +08:00
Michael Shilman
68bc8331d4
Update version.ts to 6.0.0-rc.13
2020-07-21 18:32:56 +08:00
Michael Shilman
b5a70c7e64
v6.0.0-rc.13
v6.0.0-rc.13
2020-07-21 18:22:34 +08:00
Michael Shilman
d20d325894
Update root, peer deps to 6.0.0-rc.13
2020-07-21 18:20:56 +08:00
Michael Shilman
aff8070ff2
6.0.0-rc.13 changelog
2020-07-21 18:07:40 +08:00
Michael Shilman
c17294b027
Merge pull request #11531 from daniel-ac-martin/expose-globbing-failure
...
Core: Improve translation of globs for main.js stories
2020-07-21 18:04:57 +08:00
Michael Shilman
fd511fc4eb
Merge pull request #11624 from storybookjs/11618-optimize-stories-hash
...
Core: Optimize `storiesHash` by removing unused parameters
2020-07-21 18:01:05 +08:00
Norbert de Langen
7ef6f0accd
Merge pull request #11584 from storybookjs/tech/change-sbextract-cli-command-to-use-better-api
...
CHANGE to use getDataForManager over extract api on storyStore
2020-07-21 11:50:46 +02:00