835 Commits

Author SHA1 Message Date
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
Tom Coleman
217fa08ced Add options library, and use it to drive a new example command 2022-07-31 13:12:26 +10:00
Yann Braga
ce84ddb392 change paths after refactor 2022-07-29 18:01:40 +02:00
Yann Braga
b962cf3333 rename tmp folder 2022-07-29 17:38:06 +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
113edf02ad switch to npx 2022-07-27 20:53:44 +02:00
Yann Braga
ea2fffc963 add command to publish repos + GH action 2022-07-27 20:37:20 +02:00
Norbert de Langen
6457be8780
Merge branch 'next' of github.com:storybookjs/storybook into next 2022-07-27 16:42:42 +02:00
Norbert de Langen
e575669e0d
use local ts-node 2022-07-27 16:42:03 +02:00
Yann Braga
b7522fb476
Merge pull request #18787 from storybookjs/yann/sb-617-setting-up-the-generate-repro-script
feat: add next-repro CLI command
2022-07-27 16:29:54 +02:00
Yann Braga
e7f5e08bf9 remove unused import 2022-07-27 16:11:04 +02:00
Yann Braga
216c667e3f rename before/after folders 2022-07-27 16:09:29 +02:00
Norbert de Langen
e3115fd152
Merge branch 'next' into preact-typescript-pragma-fix
# Conflicts:
#	app/preact/src/server/framework-preset-preact.ts
#	code/examples/preact-kitchen-sink/.storybook/main.ts
#	code/examples/preact-kitchen-sink/src/stories/test-cases/__snapshots__/test-component.stories.storyshot
#	code/examples/preact-kitchen-sink/src/stories/test-cases/no-pragma.tsx
#	code/examples/preact-kitchen-sink/src/stories/test-cases/test-component.stories.tsx
#	code/examples/preact-kitchen-sink/tsconfig.json
2022-07-27 11:24:53 +02:00
Yann Braga
33e88443f9 bring cra ts back 2022-07-27 11:17:27 +02:00
Yann Braga
b829e9f697 setup yarn version and update docs 2022-07-27 11:16:08 +02:00
Norbert de Langen
944ae406fe
fix 2022-07-26 14:46:39 +02:00
Norbert de Langen
18db6ff63e
cleanup 2022-07-26 14:22:00 +02:00
Norbert de Langen
3d528fafe6
improve 2022-07-26 13:14:22 +02:00
Yann Braga
d282324c5d feat: add next-repro CLI command 2022-07-26 11:41:33 +02:00
Norbert de Langen
cd1a19bc5d
fix linting 2022-07-26 09:33:33 +02:00
Norbert de Langen
504d40faab
fix reset script 2022-07-26 09:32:13 +02:00
Norbert de Langen
113e0582d2
Merge branch 'next' into future/move-code-into-directory
# Conflicts:
#	.vscode/launch.json
#	CONTRIBUTING.old.md
#	code/lib/cli/tsconfig.json
#	scripts/tsconfig.json
2022-07-26 08:33:57 +02:00
Norbert de Langen
d08c11c6a3
lint the newly linted code 2022-07-25 18:51:24 +02:00