6736 Commits

Author SHA1 Message Date
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
Norbert de Langen
febec0f0c0
Merge branch 'next' into 10361-normalize-parameters
# Conflicts:
#	lib/api/src/modules/stories.ts
2020-04-23 10:42:28 +02:00
Norbert de Langen
e401730afb Merge branch 'next' into remove/peer-only-channel 2020-04-23 09:57:25 +02:00
Michael Shilman
555527a16e Merge branch 'next' into fix/moreIE11 2020-04-23 15:42:44 +08:00
Michael Shilman
5701048072 Update version.ts to 6.0.0-alpha.42 2020-04-23 08:22:30 +08:00
Michael Shilman
aa2ceda338 v6.0.0-alpha.42 2020-04-23 08:13:24 +08:00
Michael Shilman
20bd2333b2
Update SectionRow.stories.tsx 2020-04-23 07:35:30 +08:00
Norbert de Langen
bb5b046f3a
FIX linting 2020-04-23 00:31:56 +02:00
Norbert de Langen
204396a781
Update SectionRow.stories.tsx 2020-04-23 00:05:33 +02:00
Norbert de Langen
8539813c28
FIX duplicate stories warning in official storybook example 2020-04-22 18:35:29 +02:00
Norbert de Langen
21119191ab
FIX emotion SSR warnings 2020-04-22 18:28:56 +02:00
Norbert de Langen
403e35563d
FIX linting 2020-04-22 15:58:57 +02:00
Tom Coleman
1bdd48b516 Bugfix 2020-04-22 23:56:34 +10:00
Tom Coleman
01867f9ab0 Duplicate types and combineParameters
Because circular deps
2020-04-22 23:39:20 +10:00
Norbert de Langen
6663fdb6c7
FIX review comments 2020-04-22 15:38:46 +02:00
Tom Coleman
9b91f38dba Pick up in the manager 2020-04-22 23:20:59 +10:00
Norbert de Langen
4024284628 Merge branch 'next' into remove/peer-only-channel 2020-04-22 14:29:57 +02:00
Norbert de Langen
23211835ed
FIX linting 2020-04-22 13:42:59 +02:00
Norbert de Langen
f6ad5eee99
ADD extra test for trailing '/' 2020-04-22 13:08:33 +02:00
Norbert de Langen
a4b071a17e
FIX regex & test 2020-04-22 13:07:11 +02:00
Norbert de Langen
d8725da3f4
FIX matching of refUrl & localUrl 2020-04-22 13:00:31 +02:00