18 Commits

Author SHA1 Message Date
Michael Shilman
0c1c392c4f CLI: Add preamble instructions to sb repro 2021-05-14 09:52:18 +08:00
Michael Shilman
09b5fe9d52 Improve post-install instructions 2021-05-13 11:45:03 +08:00
Michael Shilman
a191deac52
Update lib/cli/src/repro.ts
Co-authored-by: Yann Braga <yannbf@gmail.com>
2021-05-13 11:22:22 +08:00
Gaëtan Maisse
ab4436ed87
feat(cli): improve sb repro UX by reducing the logs displayed in console 2021-05-11 22:45:57 +02:00
Michael Shilman
884b161f88 CLI: Repro refinements per feedback 2021-05-11 20:39:15 +08:00
Gaëtan Maisse
27fa6e1889
refactor(repro): make the generator responsible for mkdir the repro directory if needed 2021-05-10 22:49:15 +02:00
Gaëtan Maisse
194a699104
feat(repro): add pnp flag to use Yarn in Plug'n'Play mode 2021-05-09 17:22:22 +02:00
Gaëtan Maisse
f1987dd2ff
feat(repro): deactivate git repo init when running in e2e mode 2021-05-09 16:53:32 +02:00
Gaëtan Maisse
86899610c6
e2e: fix name replacement in repro config, add hack for CRA setup, ensure repro is a git repo 2021-04-30 23:25:45 +02:00
Gaëtan Maisse
8ac0be88b2
e2e: always use npx to bootstrap example and yarn dlx to run sb init
The e2e process is the following:
 - Use `npx` or bare `yarn init` to generate an app
 - Install Yarn 2 in the generated app
 - If running with `--e2e` then configure Yarn 2 with stricter options and to use local registry
 - Add TypeScript and other required deps if needed (using Yarn 2)
 - Init Storybook using Yarn 2 with `yarn dlx sb init ...`
2021-04-30 00:03:05 +02:00
Clément DUNGLER
2be11d0df8 fix e2e and track progression 2021-04-29 22:29:11 +02:00
Clément DUNGLER
fdbf0020cf add generator option to repro, move e2e configs 2021-04-27 23:25:29 +02:00
Michael Shilman
6864fa8edf WIP: Install yarn2 after initial install, add git tagging 2021-04-23 09:16:37 +08:00
Michael Shilman
249d3d9d21 Fix selection logic
If the user passes in a template, we don't need to care about the framework
2021-04-22 23:13:33 +08:00
Michael Shilman
0278308fb9 Fix template logic 2021-04-22 18:59:38 +08:00
Clément DUNGLER
2412e20a8b use repro in e2e 2021-04-20 22:23:38 +02:00
Clément DUNGLER
0aec5f6570 wip: add repro cli 2021-04-19 23:27:10 +02:00
Michael Shilman
74e440251f WIP repro template generator 2021-04-14 21:49:10 +08:00