Norbert de Langen
11ad35dd26
Merge pull request #10588 from storybookjs/fix/add-identifiers-to-panel-components
2020-04-30 10:27:07 +02:00
Gaëtan Maisse
4f561dcc21
refactor(cli): use async/await instead of promises in latest_version.js
2020-04-29 21:26:22 +02:00
Gaëtan Maisse
1b758de921
fix: update the command used to get package's version using CLI with Yarn 2
...
Using CLI with Yarn 2 and Node 10 results in an output polluted with:
`(node:87281) ExperimentalWarning: The XXX.promises API is experimental`
These messages are warnings but are sent to `stderr` which is causing CLI to throw an error too.
With `sync` function we can check the `status` to know if command ends in error or not and process accordingly.
2020-04-29 19:58:12 +02:00
Yann Braga
4f0762ebf3
feat(components): add ids to panels tab and content
...
- Makes it easier to select when needed (e.g. e2e tests)
- Add @storybook/csf in the dependency list as well
2020-04-29 17:03:50 +02:00
Michael Shilman
347bc94a1e
Update version.ts to 6.0.0-beta.0
2020-04-29 21:37:24 +08:00
Michael Shilman
93ccaba607
v6.0.0-beta.0
2020-04-29 21:27:43 +08:00
Michael Shilman
bea3644ac1
Update version.ts to 6.0.0-alpha.46
2020-04-29 17:08:14 +08:00
Michael Shilman
bd4b167dca
v6.0.0-alpha.46
2020-04-29 16:58:43 +08:00
Michael Shilman
e2d54f647c
Update snapshots
2020-04-29 16:33:21 +08:00
Michael Shilman
a1b9372f14
Fix failing tests
2020-04-29 16:16:03 +08:00
Tom Coleman
241d06c378
Ensure we set parameters.argTypes
in the preview
2020-04-29 17:53:33 +10:00
Michael Shilman
03425f60d9
Fix deepscan
2020-04-29 12:17:49 +08:00
Michael Shilman
8390c62e27
Fix inclusion logic
2020-04-29 12:17:39 +08:00
Michael Shilman
27fadc6035
Normalized parameters: Fix failing test
2020-04-29 12:03:28 +08:00
Michael Shilman
884bb157ce
SET_STORY_STORE_DATA => SET_STORIES
2020-04-29 11:59:32 +08:00
Michael Shilman
afdfd04aa8
Merge branch 'next' into 10361-normalize-parameters
2020-04-29 10:56:14 +08:00
Tom Coleman
385fe81069
Update to use a single SET_STORIES event
2020-04-28 21:38:10 +10:00
Tom Coleman
fecf1d91a5
More spurious logs
2020-04-28 21:23:30 +10:00
Tom Coleman
0c6cbd67fe
Revert "Rename SET_STORIES
to SET_STORY_STORE_DATA
"
...
This reverts commit bd9dd9f022a0d3f4dc6b2f074550fda804d74540.
2020-04-28 21:22:18 +10:00
Tom Coleman
de6d52ef8f
Remove spurious log
2020-04-28 21:21:08 +10:00
Tom Coleman
c0cdd3f004
Export combineParameters
and document in migrations
2020-04-28 21:20:09 +10:00
Tom Coleman
63682a297c
Explicitly don't allow setting storySort any other way
2020-04-28 21:13:22 +10:00
wKich
06c61d1809
fix possible exception by getting property of null
2020-04-28 16:10:41 +05:00
Michael Shilman
09c0e9830f
Update version.ts to 6.0.0-alpha.45
2020-04-28 11:35:34 +08:00
Michael Shilman
5b26d301f3
v6.0.0-alpha.45
2020-04-28 11:25:49 +08:00
Michael Shilman
5d9fa73f49
Merge pull request #10452 from storybookjs/6639-pass-args-first-by-default
2020-04-28 11:16:54 +08:00
Yann Braga
e4a7848f90
chore(cli): make the error message clearer
2020-04-27 18:57:58 +02:00
Michael Shilman
7ac696c5fa
Pass args first as default: update tests
2020-04-27 22:52:55 +08:00
Michael Shilman
0f7c9036d5
Merge branch 'next' into 6639-pass-args-first-by-default
2020-04-27 22:23:32 +08:00
Michael Shilman
4800657e7b
Update version.ts to 6.0.0-alpha.44
2020-04-27 12:17:12 +08:00
Michael Shilman
af271cf5e3
v6.0.0-alpha.44
2020-04-27 12:07:47 +08:00
Yann Braga
bc89df1a58
refactor(cli): projectTypes|types -> PROJECT_TYPES
2020-04-26 12:03:58 +02:00
Yann Braga
5581f626a5
refactor(cli): supportedFrameworks -> SUPPORTED_FRAMEWORKS
2020-04-26 11:58:19 +02:00
Yann Braga
c7770f73cb
refactor(cli): supportedLanguages -> SUPPORTED_LANGUAGES
2020-04-26 11:56:42 +02:00
Yann Braga
519fc1af88
refactor(cli): supportedStoryFormats -> STORY_FORMAT
2020-04-26 11:54:28 +02:00
Yann Braga
2a0138c364
test(cli): improve tests for detect
...
- Also add couple more tests to improve coverage
2020-04-26 10:19:47 +02:00
Yann Braga
1f791402f3
feat(cli): automatically detect CSF typescript
...
- Also remove a section in run_tests.sh which is not necessary anymore,
given that typescript is automatically detected.
2020-04-25 22:01:39 +02:00
Yann Braga
dd7a9c7252
feat(cli): fall back to CSF in case ts is not available
...
- There could be a project using typescript but storybook might not have
a template for typescript available. If that ever happens, it will
fall back to the plain CSF template.
2020-04-25 22:01:39 +02:00
Yann Braga
08790dfea8
test(cli): mock path.join for easier testing
2020-04-25 22:01:39 +02:00
Yann Braga
fd54428845
refactor(cli): move default format to upper level
...
- also move magic strings to constants so they're defined only once
2020-04-25 22:01:39 +02:00
Yann Braga
ed817332ee
feat(cli): add programming language detection
2020-04-25 22:00:52 +02:00
Yann Braga
3043d261be
fix(cli): move html check down in detection
...
- this way it first checks if storybook is installed
2020-04-25 18:11:02 +02:00
Yann Braga
7865b19a19
feat(cli): improve framework detection
...
- also add unit tests to cover every case
2020-04-25 18:11:00 +02:00
Norbert de Langen
cbcdfba1c9
FIX tests
2020-04-24 13:20:46 +02:00
Norbert de Langen
b12b2ce926
Merge branch 'next' into remove/peer-only-channel
2020-04-24 13:08:57 +02:00
Norbert de Langen
8d7a8981a4
Merge pull request #10292 from storybookjs/fix/10233
...
UI: Fix `viewMode` parameter handling
2020-04-24 09:44:57 +02:00
Michael Shilman
99b6520062
Update version.ts to 6.0.0-alpha.43
2020-04-24 06:34:37 +08:00
Michael Shilman
c32b263d03
v6.0.0-alpha.43
2020-04-24 06:24:53 +08:00
Norbert de Langen
d8317ae5ef
CLEANUP
2020-04-23 13:25:18 +02:00
Norbert de Langen
cb28194bb6
ADD rest data to ref
2020-04-23 10:44:43 +02:00