861 Commits

Author SHA1 Message Date
Michael Shilman
180564e2e1 Fix deepscan 2022-08-14 17:36:06 +08:00
Michael Shilman
4cb06bd1a8 Examples: Add angular repro template and refactor 2022-08-14 17:11:47 +08:00
Norbert de Langen
852d1263d3
fixes 2022-08-10 11:20:47 +02: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
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
a067ce563b Don't need this 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