164 Commits

Author SHA1 Message Date
Yann Braga
643d4f36e9 add safecheck 2023-01-12 10:12:20 +01:00
Yann Braga
b80cb83507 scope mainConfig in "modifications" property 2023-01-12 08:50:50 +01:00
Yann Braga
c0369b7340 rename secondary flag and cleanup 2023-01-11 09:26:11 +01:00
Yann Braga
6c4bb4e6da extract extension of mainjs to a helper function 2023-01-10 18:56:04 +01:00
Yann Braga
62b1b86ce0 separate templates in base and extended templates 2023-01-10 18:55:16 +01:00
Yann Braga
10bf302540 Merge branch 'next' into tom/sb-1040-allow-creating-templates-that-augment 2023-01-10 17:39:12 +01:00
Norbert de Langen
f189971eee
micro-optimizations 2022-12-15 22:12:32 +01:00
Norbert de Langen
b023e32cee
not create dts bundles when not optimized, ensure content matches 2022-12-15 21:46:09 +01:00
Norbert de Langen
a3ab69cd59
fix compile detection 2022-12-15 21:29:11 +01:00
Norbert de Langen
d67e466939
fix a typo 2022-12-08 16:35:47 +01:00
Yann Braga
a37efc6e87 Merge branch 'next' into tom/sb-1040-allow-creating-templates-that-augment 2022-12-06 17:38:13 +01:00
Norbert de Langen
34f3c21d08
make it be part of the options object 2022-12-06 15:17:28 +01:00
Norbert de Langen
9353ae4a2b
add a flag to the sb init when the expected renderer is html, so the cli knows what project type it is. 2022-12-06 14:34:17 +01:00
Kasper Peulen
9056d905b8 Pass debug as third argument to exec 2022-12-06 09:47:39 +01:00
Kasper Peulen
4552082b6f Run sb init locally in sandbox creation 2022-12-06 09:40:48 +01:00
Yann Braga
fd954850ee Merge branch 'next' into tom/sb-1040-allow-creating-templates-that-augment 2022-12-02 17:07:35 +01:00
Jeppe Reinhold
35d139deec Merge branch 'next' of github.com:storybookjs/storybook into jeppe/sveltekit-framework 2022-12-02 16:15:03 +01:00
Yann Braga
46182f28e7 update docs 2022-12-02 15:58:27 +01:00
Jeppe Reinhold
5338cb5583 fix link disabling for inDevelopment sandboxes 2022-12-02 15:13:35 +01:00
Yann Braga
4c5bb3d192 pass debug flag to repro task 2022-12-02 14:51:38 +01:00
Yann Braga
5b7b448f97 improve inDevelopment mode for yarn task 2022-12-02 14:24:55 +01:00
Tom Coleman
054cd73c60 First pass at extending sandboxes.
Works but there are typing problems
2022-12-02 13:09:57 +11:00
Jeppe Reinhold
f51b4af2aa Merge branch 'next' of github.com:storybookjs/storybook into jeppe/sveltekit-framework 2022-12-01 14:10:46 +01:00
Jeppe Reinhold
3bb4c1f8dc svelte-kit > sveltekit 2022-12-01 14:05:53 +01:00
Jeppe Reinhold
51217cd70d move link check from sandbox task to generate task 2022-12-01 10:59:14 +01:00
Valentin Palkovic
6b5f71947c Improve framework version specific story handling
Sandboxes are now capable to load framework version specific stories.

Example:

1. The key of a sandbox in `code/lib/cli/src/repro-templates` is `nextjs/12-js`
2. Create a folder `code/frameworks/nextjs/template/stories_12-js`
3. During sandbox creation, the version 12 specific stories are symlinked to the target `sandbox/nextjs-default-js/stories/frameworks/nextjs_default-js

It is possible now to create stories for specific versions of a framework
2022-12-01 08:36:41 +01:00
Yann Braga
51c2459ca6 add interactions debugger on sandbox templates 2022-11-30 19:26:18 +01:00
Tom Coleman
9ddc1cfa54
Merge pull request #19946 from storybookjs/tom/sb-844-turn-on-telemetry-for-sandboxes-test-in
Build a mechanism to E2E telemetry
2022-11-29 12:14:10 +11:00
Yann Braga
d6bcef90cf Merge branch 'next' into add-chromatic-debug 2022-11-28 15:15:30 +01:00
Tom Coleman
b53a97494d Send telemetry to localhost in sandboxes 2022-11-24 14:56:16 +11:00
Yann Braga
8c35e73864
Update scripts/tasks/chromatic.ts 2022-11-23 09:31:35 +01:00
Tom Coleman
18e4fec083 Add debug to chromatic 2022-11-23 16:15:46 +11:00
Norbert de Langen
a9d2ae754f
Merge branch 'next' into tech/introduce-preview-api 2022-11-22 16:16:42 +01:00
Norbert de Langen
a181638b2d
refactor the exports generation so it's the same as for manager 2022-11-22 10:12:29 +01:00
Norbert de Langen
dfe2039825
Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework 2022-11-22 08:57:20 +01:00
Michael Shilman
55d37ff6a9
Merge pull request #19907 from storybookjs/tom/sb-741-docs2-sb19163-addon-docs-docspage-story
Docs: Fix ordering of entries in `Stories` block
2022-11-21 21:11:32 +08:00
Tom Coleman
3de97942a9 Merge remote-tracking branch 'origin/next' into tom/sb-880-update-execa-and-try-to-fix-waiting 2022-11-21 21:16:01 +11:00
Tom Coleman
bf5eacb9cb Merge remote-tracking branch 'origin/next' into tom/sb-787-add---no-degit-option-to-repro-next-and 2022-11-21 16:36:33 +11:00
Tom Coleman
b518c0c8f0 Allow overriding port in serve/e2e-test task 2022-11-21 16:18:27 +11:00
Tom Coleman
c95ab24d5d Move code import to async 2022-11-21 15:57:46 +11:00
Yann Braga
aefcf33d3c fix chromatic version to 6.11.2 in local scripts 2022-11-18 15:48:58 +01:00
Tom Coleman
4760d60090 Use inDevelopment to drive sandbox too 2022-11-15 20:09:08 +11:00
Tom Coleman
a3e69eeeed Create a generate task and use in the sandbox process 2022-11-15 20:01:19 +11:00
Norbert de Langen
7afd379bd5
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-15 09:30:18 +01:00
Norbert de Langen
e0b708415d
Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework 2022-11-15 09:25:19 +01:00
Michael Shilman
9321b658e3
Merge pull request #19832 from storybookjs/shilman/add-skip-stories-to-bench
Build: Fix benchmark to run on local packages
2022-11-15 09:44:00 +08:00
Norbert de Langen
f81d873d63
Merge branch 'norbert/sb-798-figure-out-plan-for-package-structure-rework' into tech/introduce-preview-api 2022-11-14 18:29:32 +01:00
Norbert de Langen
4b77ab1b98
Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework 2022-11-14 18:00:28 +01:00
Norbert de Langen
3fd2261293
all sorts of ts fixes or ignores after enabling ts to function on tests and stories 2022-11-14 17:06:53 +01:00
Michael Shilman
d4357e176b Task: Add ability to skip stories/addons 2022-11-14 23:58:48 +08:00