1
0
mirror of https://github.com/storybookjs/storybook.git synced 2025-03-23 05:02:10 +08:00

22 Commits

Author SHA1 Message Date
Michael Shilman
c6f2d4e17e
Update scripts/utils/options.ts 2022-08-15 16:59:55 +08:00
Yann Braga
6fb436bf61 exit sandbox gracefully on cancel 2022-08-15 10:45:30 +02:00
Tom Coleman
a05bccefbf Created basic task infrastructure,
as well as bootstrap, publish and create tasks
2022-08-12 13:07:07 +10:00
Tom Coleman
c0205310f6 Fix issue with non-specified values 2022-08-09 17:17:51 +10:00
Tom Coleman
95658cfc1a Use discriminated types on options
And actually infer value types closely
2022-08-09 17:17:51 +10:00
Tom Coleman
a1b94ba45c Created multiplex script and use for sandbox 2022-08-09 17:17:50 +10:00
Yann Braga
4d41f44feb sandbox: improve error handling 2022-08-08 18:29:08 +02:00
Tom Coleman
9d831be524 Use as const on booleans rather than weak matching 2022-07-31 13:27:11 +10:00
Tom Coleman
5a37d8de3d Get rid of any casts, thanks @kasperpeulen! 2022-07-31 13:26:09 +10:00
Tom Coleman
7a47b38fea I renamed it 2022-07-31 13:12:26 +10:00
Tom Coleman
4f2dac0cee Address issues with optional prompts 2022-07-31 13:12:26 +10:00
Tom Coleman
a8ce72cb06 Simple updates from @yannbf's comments 2022-07-31 13:12:26 +10:00
Tom Coleman
c928629c6a Fix typing problems 2022-07-31 13:12:26 +10:00
Tom Coleman
dd56d4a436 Fix typing problem 2022-07-31 13:12:26 +10:00
Tom Coleman
8e9515691a Add basic logic to prompt to reuse or delete existing projects 2022-07-31 13:12:26 +10:00
Tom Coleman
c9df02b8a8 Do typing shenanigans for options 2022-07-31 13:12:26 +10:00
Tom Coleman
3872a0fb32 Update example command to run SB commands 2022-07-31 13:12:26 +10:00
Tom Coleman
a742fe79a1 Some UX improvements 2022-07-31 13:12:26 +10:00
Tom Coleman
1b447a5a0d Small simplification 2022-07-31 13:12:26 +10:00
Tom Coleman
c3c1018535 Add option validation/massaging 2022-07-31 13:12:26 +10:00
Tom Coleman
5a5bb0925e Automatically infer flags 2022-07-31 13:12:26 +10:00
Tom Coleman
217fa08ced Add options library, and use it to drive a new example command 2022-07-31 13:12:26 +10:00