41627 Commits

Author SHA1 Message Date
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
Norbert de Langen
158d3ce4bc
open up the PackageJson type to be extended with custom properties like for eslintConfig 2022-08-01 10:13:15 +02:00
Tom Coleman
d3aa364597
Merge pull request #18781 from storybookjs/tom/sb-568-script-asks-the-maintainer-which
Create a new `yarn example` command that will drive our new dev experience
2022-07-31 14:41:43 +10:00
Tom Coleman
1bb8d80305
Merge pull request #18737 from storybookjs/fix-react-18-docs-tests
React: Fix callback behavior in `react@18`
2022-07-31 14:41:13 +10:00
Tom Coleman
93f3e0e5b5 Get react18 example working via preserve missing 2022-07-31 14:27:09 +10:00
Tom Coleman
99d6c5282b Allow running link without starting 2022-07-31 14:26:45 +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
457714dd06 Add examples to gitignore 2022-07-31 13:12:26 +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
43d142b084 Update trailing CSF version 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
b99d16da69 Drop scripts from code tests 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
Tom Coleman
217fa08ced Add options library, and use it to drive a new example command 2022-07-31 13:12:26 +10:00
Tom Coleman
0180f5bae8
Merge pull request #18816 from storybookjs/fix/sb-init-uncaught-exception
fix(CLI): throw error on failure in sb init
2022-07-31 12:28:24 +10:00
jonniebigodes
1dd3fcd7a0
Merge pull request #18819 from storybookjs/chore_docs_fix_broken_links
Docs broken links fixes
2022-07-29 21:01:26 +01:00
jonniebigodes
4be3af226e Docs broken links fixes 2022-07-29 20:38:12 +01:00
Yann Braga
ce84ddb392 change paths after refactor 2022-07-29 18:01:40 +02:00
Yann Braga
3151f378c8
Merge pull request #18817 from storybookjs/fix/yarn-build-command
fix yarn build command
2022-07-29 17:51:15 +02:00
Yann Braga
b962cf3333 rename tmp folder 2022-07-29 17:38:06 +02:00
Yann Braga
95f300d323 fix(CLI): throw error on failure in sb init 2022-07-29 17:23:58 +02:00
Yann Braga
2adb153902 fix yarn build command 2022-07-29 17:22:56 +02:00
Yann Braga
649a92edbf add documentation per repro 2022-07-29 17:22:12 +02:00
Yann Braga
fd4bfe00b1 refactor and improve repro generate and publish scripts 2022-07-29 16:38:03 +02:00
Norbert de Langen
f4020949d6
make it dynamic form a template 2022-07-29 14:29:13 +02:00
Yann Braga
de83f4f70d replace zx with execa and fs-extra commands 2022-07-29 12:39:01 +02:00
Yann Braga
37075f3da9 rename next-repros action 2022-07-29 10:59:30 +02:00
Tom Coleman
428a768e6a
Merge pull request #18673 from storybookjs/tom/sb-468-add-step-function-to-play-context-and
Add step function to play context
2022-07-29 10:44:02 +10:00
Norbert de Langen
2582c2fe3b
Merge pull request #18798 from abdlqader/feat/lib-core-event-tsup
[CHANGED] core-event compiler to ts-up
2022-07-28 22:16:11 +02:00