54 Commits

Author SHA1 Message Date
Norbert de Langen
1c1b22817b ADD --yes option to CLI init command && USE --yes command to skip question where possible 2019-02-09 18:20:24 +01:00
Keraito
bd421eb4da Merge branch 'next' into cli-add 2018-12-26 12:50:01 +01:00
Michael Shilman
59c40d3c5e
Merge branch 'master' into cli-framework-choice 2018-10-11 08:18:37 +08:00
Keraito
92c98a08fa Merge branch 'master' into cli-framework-choice 2018-10-10 21:42:29 +02:00
Michael Shilman
29def997a9 Remove start/build commands for now
"sb start/build" should call start-storybook and build-storybook directly, rather than calling "yarn storybook". This way we can use "sb start/build" in the package.json NPM scripts and expose users to the CLI that way. For now let's remove it.
2018-10-11 03:27:52 +08:00
Michael Shilman
5e38138dd8 Rename storybook CLI to sb to avoid conflicts with storybook NPM script
We use "yarn storybook" everywhere and creating a CLI called "storybook" introduces a name conflict. Plus "sb" is shorter.
2018-10-11 03:24:04 +08:00
Keraito
c918b5ae94 Revert change from other PR 2018-09-30 15:46:50 +02:00
Keraito
5a64fcec4d Add initial command to add an addon 2018-09-27 06:24:30 +02:00
Keraito
242dcbd7dd Remove debugging flag 2018-09-21 20:03:31 +02:00
Keraito
ced0fcfa16 Isolate getstorybook code 2018-09-21 19:57:51 +02:00
Keraito
d60900f537 Remove manual HTML CLI flag 2018-09-14 02:19:14 +02:00
Keraito
d20e1b3043 Add CLI flag to choose SB framework to install 2018-09-14 02:18:22 +02:00
Keraito
fa40eefcb6 Also init storybook on deprecated getstorybook 2018-09-12 12:49:15 +02:00
Keraito
14f7b5fb16 Change descriptions of commands 2018-09-12 12:38:00 +02:00
Keraito
79532d4281 Fix linter 2018-09-12 12:36:57 +02:00
Keraito
fc59925328 Deprecate getstorybook 2018-09-12 00:37:13 +02:00
Keraito
d80dc8f3b2 Add start and build command 2018-09-12 00:33:37 +02:00
Keraito
01d7080267 Add fallback for unknown commands and help on storybook 2018-09-12 00:33:37 +02:00
Keraito
b9255b2024 Change getstorybook command to storybook init 2018-09-12 00:33:37 +02:00
lionel benychou
3893d5299d riot integration 2018-08-27 19:42:20 +02:00
Keraito
8d9fbb7c9e Update generators for HTML and Marko 2018-05-09 15:37:48 +02:00
Filipp Riabchun
c47c5fc9ba
Merge branch 'master' into use-npm 2018-05-09 02:03:09 +03:00
Keraito
5f991ff83d Use npmOptions in all generators 2018-05-09 00:34:08 +02:00
Keraito
ffd2107e45 Pass npmOptions to every generator 2018-05-08 22:48:54 +02:00
Neville Mehta
d8e0673d31 Merge branch 'master' of github.com:storybooks/storybook into addmarkosupport 2018-05-06 21:13:31 -07:00
Keraito
568b35fb2d Use the --use-npm flag also for version checking 2018-05-06 12:18:32 +02:00
Hypnosphi
f00a369d9e Add CLI template 2018-05-05 22:55:31 +03:00
Hypnosphi
7a879b8726 Add storybook for HTML snippets 2018-04-22 20:02:31 +03:00
Sangmin Yoon
5c9a26c0a1 add Mithril support in CLI 2018-03-20 14:59:48 +09:00
Hypnosphi
398ff2639e eslint: remove unused disable directives 2018-02-17 20:35:37 +03:00
Stijn Koopal
57f01048a5 Add polymer support in CLI 2017-11-03 11:55:00 +01:00
hypnos
dc140b02ed Merge remote-tracking branch 'upstream/release/3.3' into 269-angular-support 2017-09-15 03:45:42 +03:00
hypnos
f0c6942b61 Compare current and latest versions 2017-09-15 02:25:02 +03:00
hypnos
067ccdf9a0 Refactor CLI 2017-09-14 04:35:40 +03:00
Norbert de Langen
ff7f049271 Merge branch 'release/3.3' into 269-angular-support 2017-09-09 13:32:22 +02:00
Norbert de Langen
eb9fe3c6e7 Merge branch 'release/3.3' into 269-angular-support 2017-09-09 09:30:20 +02:00
Norbert de Langen
f9590dc589 Merge branch 'release/3.3' into undetected 2017-09-09 08:46:23 +02:00
hypnos
40716afb8b CLI: handle promise rejections 2017-09-09 06:08:07 +03:00
hypnos
227677c1fb CLI: A more human-friendly message for undetected project types 2017-09-09 04:24:32 +03:00
hypnos
7df5a6ab93 Add tests for CLI. Support node 4 2017-08-30 02:47:15 +03:00
Carlos Vega
a01752ef05 Adding angular to the cli generator
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Alexandre BODIN
8145ac3414 Merge branch 'master' into add-app-vue 2017-06-18 18:00:46 +02:00
kazuya kawaguchi
9bd55bc9a4
🆙 update(cli): stories creating for vue 2017-06-16 22:47:24 +09:00
kazuya kawaguchi
ff5686143f
🆙 update(cli): getstorybook vue supporting 2017-06-16 03:19:56 +09:00
Augustin Le Fèvre
d3f0a9de26 Add --parser option to getstorybook 2017-06-15 15:51:09 +02:00
Norbert de Langen
da961dc508 FIX linting 2017-06-03 21:06:48 +02:00
Tom Coleman
104ca5143e Added an upgrade mode to getstorybook
This allows us to go from 2.x -> 3.0

A future version of storybook may include a version # that allows us to be more subtle, but we don't need it yet.
2017-05-30 10:22:16 +10:00
Norbert de Langen
db3cd0b6eb FIX spelling 2017-05-27 22:10:34 +02:00
Michael Shilman
01db55980b Suppress lint error 2017-05-26 01:58:27 +10:00
Michael Shilman
fbb5a86d5e Fix linting err in CRNA script 2017-05-25 22:06:50 +10:00