Michael Shilman
b6e017d8c2
Update root, peer deps to 6.0.0-rc.15
2020-07-27 12:54:04 +08:00
Michael Shilman
98f3923b52
6.0.0-rc.15 changelog
2020-07-27 12:26:41 +08:00
Michael Shilman
7a1d8e5cb0
Merge pull request #11680 from jonspalmer/server_to_controls
...
Server: Update to 6.0 APIs and support Controls
2020-07-27 12:25:00 +08:00
Michael Shilman
a053d4b3c3
Merge pull request #11679 from storybookjs/fix/broken-storysource-when-no-story
...
Addon-storysource: Fix broken source when there's no story
2020-07-27 12:24:09 +08:00
Jon Palmer
a99f66a551
add fetchStoryHtml parameter support
2020-07-26 08:50:18 -04:00
Jon Palmer
a1b44d9e24
cleanup
2020-07-26 08:46:24 -04:00
Jon Palmer
3d7da43571
Update Server to 6.0 APIs and support Controls
2020-07-26 08:46:23 -04:00
Michael Shilman
5d453ae959
Merge pull request #11690 from storybookjs/fix-11315
...
Addon-knobs: Move `@types/react-color` to devDeps
2020-07-26 09:43:10 +08:00
Gaëtan Maisse
c115867654
feat(knobs): move @types/react-color
from dep to devDeps
...
No definition file is using it anymore so we can move this regular dep to devDeps.
2020-07-25 20:14:16 +02:00
Gaëtan Maisse
5b59ae62f4
fix(knobs): update visibility of methods to avoid too broad .d.ts
files
...
All theses functions shouldn't be used outside the class, making them private simplify the types generated in type definition files (`.d.ts`).
This enable us to move some deps to devDeps if they are not used (imported) in generated definition files.
2020-07-25 20:13:15 +02:00
Gaëtan Maisse
a8090fbde9
feat(cli): update Web component template with Button, Header and Page stories
2020-07-25 19:59:01 +02:00
Gaëtan Maisse
f3e122bca0
feat(cli): update Mithril template with Button, Header and Page stories
2020-07-25 19:59:01 +02:00
Gaëtan Maisse
6c9f09f25e
refactor(e2e): rename tests folders to {{name}}-{{version}}
...
It was previously `{{name}}-v{{version}}` but the `v` isn't needed as we are using `latest` version in many and `vX-lts` for angular.
2020-07-25 19:59:01 +02:00
Gaëtan Maisse
cd1b48f245
feat(e2e): add --use-local-sb-cli
flag to run E2E tests with local @storybook/cli package
2020-07-25 19:59:00 +02:00
Gaëtan Maisse
359ee22983
chore(e2e): comment HTML e2e config as stories used in CLI need to be updated
2020-07-25 19:59:00 +02:00
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
75a8f083f5
FIX broken story-source when there's no story
2020-07-24 12:53:11 +02: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