6465 Commits

Author SHA1 Message Date
Michael Shilman
c4da5401d2 v6.0.0-alpha.34 2020-04-15 16:58:32 +08:00
Norbert de Langen
46cc1bda7d
Merge pull request #10251 from alexreardon/patch-3
Adding children prop to button Button.tsx
2020-04-15 10:40:26 +02:00
Norbert de Langen
370b7c4e13
Merge pull request #10332 from storybookjs/dependabot/npm_and_yarn/commander-5.0.0
Bump commander from 4.1.1 to 5.0.0
2020-04-15 10:37:55 +02:00
Michael Shilman
bf1b955640
Merge pull request #10354 from storybookjs/6639-args-table-controls
Addon-docs: Add controls to ArgsTable
2020-04-15 16:27:53 +08:00
Michael Shilman
c577129fa9 Addon-docs: Fix section formatting with controls 2020-04-15 16:11:00 +08:00
Norbert de Langen
b753582d43
Merge branch 'next' into dependabot/npm_and_yarn/commander-5.0.0 2020-04-15 09:59:40 +02:00
Norbert de Langen
25ada50e9d
Merge branch 'next' into fix-regex-to-glob-conversion 2020-04-14 17:41:12 +02:00
Norbert de Langen
e58f78d6b9
Merge branch 'next' into pr/goldhand/10421
# Conflicts:
#	yarn.lock
2020-04-14 16:12:21 +02:00
Norbert de Langen
171f96bd4d
REGEN lockfile 2020-04-14 16:04:46 +02:00
Valery Bugakov
415813bd96 fix(to-require-context): fixed regex to glob conversion 2020-04-14 21:12:41 +08:00
Will Farley
563445550e ADD unit tests for refs.getSourceType 2020-04-14 04:52:14 -07:00
Norbert de Langen
34ec239aa2
Merge pull request #10358 from storybookjs/fix/cjs
FIX .cjs files for config as main
2020-04-14 12:01:44 +02:00
Michael Shilman
40ca654b7b
Merge pull request #10329 from yannbf/feat/reuse-tab-when-possible
CLI: Reuse existing chromium tab if possible
2020-04-14 17:51:55 +08:00
Norbert de Langen
4e3a89ed38 Merge branch 'fix/cjs' of github.com:storybookjs/storybook into fix/cjs 2020-04-14 10:55:51 +02:00
Norbert de Langen
7d0d98e54a
CLEANUP 2020-04-14 10:55:43 +02:00
Will Farley
544572d40a FIX ref getSourceType for paths with */index.html
* Fixes #10324
* Visiting <storybook-path>/index.html?path=/story/* will return "local" in getSourceType and will not throw an exception by going to 'external' switch case block.
2020-04-14 01:54:18 -07:00
Norbert de Langen
58385e5f2e
Merge branch 'next' into fix/cjs 2020-04-14 10:50:03 +02:00
Michael Shilman
c8f38e55f6 Merge branch 'next' into 6639-args-table-controls 2020-04-14 14:49:03 +08:00
Michael Shilman
5e10f5b1ae Update version.ts to 6.0.0-alpha.33 2020-04-14 08:01:08 +08:00
dependabot-preview[bot]
5386097822
Bump commander from 4.1.1 to 5.0.0
Bumps [commander](https://github.com/tj/commander.js) from 4.1.1 to 5.0.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v4.1.1...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 23:59:19 +00:00
Michael Shilman
5b90cb7bf2 v6.0.0-alpha.33 2020-04-14 07:52:18 +08:00
Michael Shilman
8ec37b96f5
Merge pull request #10396 from storybookjs/fix-cli-tests
CLI: Update fixtures used for CLI tests
2020-04-14 07:45:53 +08:00
Michael Shilman
c2087f6ce1 Fix deepscan 2020-04-14 06:33:06 +08:00
Michael Shilman
dd4fa2bc8e ArgsTable: Misc fixes 2020-04-14 05:09:31 +08:00
Michael Shilman
1895a93b00 Merge branch 'next' into 6639-args-table-controls 2020-04-14 04:22:26 +08:00
Norbert de Langen
e213240348
Merge branch 'next' into fix-cli-tests 2020-04-13 21:13:03 +02:00
Norbert de Langen
3f7def23f6
Merge branch 'next' into fixed-webpackFinal-being-called-twice 2020-04-13 21:08:40 +02:00
Norbert de Langen
51321e8838
FIX 2020-04-13 20:16:34 +02:00
Norbert de Langen
c1fb718f52
FIX 2020-04-13 20:14:17 +02:00
Norbert de Langen
a3d20b7006
FIX 2020-04-13 19:42:31 +02:00
Norbert de Langen
5acda2f228
FIX 2020-04-13 19:41:41 +02:00
Norbert de Langen
fec3a4cc95
REMOVE loggings 2020-04-13 18:04:01 +02:00
Norbert de Langen
63ecc3e6ae
FIX legacy redirect 2020-04-13 15:54:56 +02:00
Yama-Tomo
5eb589b10d refactor: refactor when customConfig is null 2020-04-13 17:58:58 +09:00
Yama-Tomo
46dd912cbe refactor: redundant function calls 2020-04-13 17:39:24 +09:00
Michael Shilman
0b940bf216
Merge pull request #10383 from storybookjs/10374-remove-source-enhancer
Addon-docs: Format Source at render time
2020-04-13 16:02:06 +08:00
Michael Shilman
1b832cfd99 ArgTypes enhancers: Simplify application logic 2020-04-13 14:37:00 +08:00
Michael Shilman
6e51f9463b Merge branch '10374-arg-types-enhancer' of github.com:storybookjs/storybook into 10374-arg-types-enhancer 2020-04-13 14:33:34 +08:00
Michael Shilman
fc730695dc ArgTypes enhancer: added falsey test case 2020-04-13 14:33:09 +08:00
Michael Shilman
aefc29c520
Update lib/client-api/README.md
Co-Authored-By: Tom Coleman <tom@thesnail.org>
2020-04-13 14:30:58 +08:00
Michael Shilman
94cf165466 Core: Args enhancer => ArgTypesEnhancer 2020-04-13 12:06:10 +08:00
Michael Shilman
1c6262a4a0 Rename ParameterEnhancer to ArgsEnhancer 2020-04-13 08:33:36 +08:00
Gaëtan Maisse
a7e966d264 test: remove react_babel_6 refs in CLI tests
There is no more fixture related to `react_babel_6` so I removed all refs to that in scripts used to run CLI tests
2020-04-12 17:37:23 +02:00
Gaëtan Maisse
2c4ccc43d9 test: remove SB config and stories from CLI test fixtures
These fixtures are used to check that `sb init` is properly initializing SB in the fixture context so SB config (and stories) shouldn't be already in the fixture.
Moreover, fixtures were using outdated `config.js` file and a new `main.js` config file is added during initialization causing SB build to fail with:
```
ERR! Error: You have both a "main" and a "config". Please remove the "config" file from your configDir
```
2020-04-12 17:35:32 +02:00
Michael Shilman
edeca572e5 ArgsTable: Add state to e2e stories 2020-04-12 18:33:22 +08:00
Michael Shilman
6d891355f2 Update version.ts to 6.0.0-alpha.32 2020-04-11 16:17:18 +08:00
Michael Shilman
e517a6322a v6.0.0-alpha.32 2020-04-11 16:07:53 +08:00
Michael Shilman
0e00269ac8 ArgsTable: Improved args tests and stories 2020-04-10 07:49:54 +08:00
Norbert de Langen
78e306138e
FIX .cjs files for config as main 2020-04-09 11:08:55 +02:00
Yann Braga
e7a95edf24 refactor(load-csf): improve message and code logic 2020-04-09 10:09:23 +02:00