87 Commits

Author SHA1 Message Date
Tom Coleman
ecff39f1b2 Bootstrap directly in the bootstrap task 2022-10-04 20:54:40 +11:00
Tom Coleman
3f4b5c3c92 Merge remote-tracking branch 'origin/next' into tom/sb-628-properly-document-maintenance-scripts 2022-10-03 17:19:02 +11:00
Tom Coleman
c9c3de3c3e Clean up a lot of older code 2022-10-03 17:16:39 +11:00
Tom Coleman
d24daef01f Got task script mostly working 2022-09-27 12:21:21 +10:00
Michael Shilman
62b77cc7d4 Merge branch 'next' into shilman/add-web-components-vite-framework-and-template 2022-09-18 18:58:58 +08:00
Tom Coleman
a5aba9e5b2 Improve error messages 2022-09-12 15:46:23 +10:00
Michael Shilman
ce2a156826 Build: Fix sandbox running multiple versions of react 2022-09-09 19:44:47 +08:00
Michael Shilman
58e361dcc7 Build: Run verdaccio on 6001 to enable web UI 2022-08-22 17:40:30 +08:00
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
Yann Braga
aea156cd45 disable telemetry in sandbox commands 2022-08-15 09:09:22 +02:00
Tom Coleman
fdd23ad9de Add test runner task 2022-08-12 15:06:36 +10:00
Tom Coleman
ed2c21ec65 Ensure the sandbox exits cleanly if publishing 2022-08-12 13:35:30 +10: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
4411ce3a95 Merge branch 'tom/sb-596-bootstrap-templates-that-match-from-a' into tom/sb-597-build-each-of-the-storybooks-from 2022-08-10 14:05: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
Tom Coleman
97f72c63c8 Fix issues with sandbox 2022-08-09 17:16:51 +10:00
Yann Braga
4d41f44feb sandbox: improve error handling 2022-08-08 18:29:08 +02:00
Yann Braga
71fc31706f utils: throw error rather than just logging it 2022-08-05 20:48:52 +02:00
Yann Braga
0f56a10895 improve sandbox command error handling and debugging 2022-08-04 13:16:16 +02:00
Tom Coleman
dc82898548 Use the global cache in sandbox mode
so we aren't re-caching dependencies each time we run sandbox
2022-08-02 23:10:09 +10:00
Tom Coleman
a29aef299a Use global cache for linked projects 2022-08-02 23:09:39 +10:00
Tom Coleman
63828515d1 Got verdaccio working, borrowing heavily from the old repro command 2022-08-02 23:08:42 +10: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
ce461d696e Drop unused var 2022-07-31 13:12:26 +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
6cf650e816 Add a dry-run option to command 2022-07-31 13:12:26 +10:00
Tom Coleman
48e87e39db Cleanup 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
85fac87397 Simply TS usage 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
Norbert de Langen
cd1a19bc5d
fix linting 2022-07-26 09:33:33 +02:00
Norbert de Langen
1775e4676a
ensure packages are installed before running bootstrap via yarn 2022-07-25 15:02:33 +02:00
Norbert de Langen
7d80c53471
add linting on scripts dir && fix linting 2022-07-23 17:15:13 +02:00
Norbert de Langen
1e0998ee02
disable overriding global registry, fix reference to .babelrc file in jest transformer, fix ref to examples in smoke-tests 2022-07-21 21:21:01 +02:00
Norbert de Langen
f8e93edd73
fix some scripts to point at the code dir 2022-07-21 21:06:23 +02:00
Norbert de Langen
624016716c
bootstrap works 2022-07-21 15:42:01 +02:00