870 Commits

Author SHA1 Message Date
Tom Coleman
61b3bf22ec Hooked up junit in once-per-template 2022-08-09 17:22:11 +10:00
Tom Coleman
356b41da98 Refactor runCommand out
And add cd option and support for non-scripts
2022-08-09 17:22:11 +10:00
Tom Coleman
92eace8b25 Merge fix 2022-08-09 17:17:51 +10:00
Tom Coleman
977b08fa08 Rename to once-per-template 2022-08-09 17:17:51 +10:00
Tom Coleman
c0205310f6 Fix issue with non-specified values 2022-08-09 17:17:51 +10:00
Tom Coleman
01d52abd48 Fail CI job if process fails 2022-08-09 17:17:51 +10:00
Tom Coleman
2b9ec8af2e Fix deepscan 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
5ae85a9da4 Add test for multiplex-templates 2022-08-09 17:17:51 +10:00
Tom Coleman
c537effe4f Fix some minor things 2022-08-09 17:17:51 +10:00
Tom Coleman
1b075df5da Filter by cadence 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
Tom Coleman
308de76eee
Merge pull request #18869 from storybookjs/yann/sb-635-command-silently-fails-if-sandbox-doesnt
improve sandbox command error handling and debugging
2022-08-09 16:42:41 +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
b503e3d3fe fix build-package command 2022-08-05 12:13:39 +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
31b0fe7df9 Small fixes 2022-08-02 14:32:03 +10:00
Tom Coleman
36a006ab03 Use repro-next in the example script! 2022-08-02 14:11:37 +10:00
Tom Coleman
91c1eeebb7 Merge remote-tracking branch 'origin/next' into rename-example-to-sandbox 2022-08-02 14:02:14 +10:00
Tom Coleman
2038d82e61 Fix merge issues 2022-08-02 10:25:16 +10:00
Tom Coleman
cbaf551026 Rename example => sandbox 2022-08-02 09:15:06 +10:00
Tom Coleman
4dba874d5d Got "test-components" concept working 2022-08-02 08:53:44 +10:00
Tom Coleman
9c80244f2d Cleanup 2022-08-02 08:51:23 +10:00
Tom Coleman
40e2ecac80 Use an absolute path for the loader 2022-08-02 08:48:07 +10:00
Tom Coleman
94aace55dc Cleanup 2022-08-02 08:38:41 +10:00
Tom Coleman
d4e108f495 Add stories via story entries 2022-08-02 08:35:20 +10:00
Tom Coleman
b4a37bf898 Add stories via adding to main.js 2022-08-02 08:35:07 +10:00
Tom Coleman
346a8ce31f Simplify things by linking to the dist folder rather than compiling 2022-08-01 21:47:54 +10:00
Tom Coleman
daa02b801f Copy example stories over from renderer + addons 2022-08-01 21:47:53 +10:00
Tom Coleman
0f2cb31f45 Set resolve.symlinks based on node option 2022-08-01 21:46:48 +10:00
Yann Braga
8d86f10f4c
Merge pull request #18800 from storybookjs/yann/sb-509-create-github-action
Add command to publish repros + GH action
2022-08-01 11:28:42 +02:00
Tom Coleman
93f3e0e5b5 Get react18 example working via preserve missing 2022-07-31 14:27:09 +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
9bd059a335 Got linking going 2022-07-31 13:12:26 +10:00
Tom Coleman
4f27fd6b30 Switch to executing yarn storybook in the project 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
38d53e58bc Add script tests as a separate circle job 2022-07-31 13:12:26 +10:00