250 Commits

Author SHA1 Message Date
Benjamin Kindle
d8944a5dda feat: support Qwik framework in sb init
Works with this change in the storybook-framework-qwik project: 3dca5b48de
2023-01-18 07:58:58 -05:00
Valentin Palkovic
170749b17c Fix compodoc generation for angular sandboxes 2023-01-17 15:40:39 +01:00
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
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
Yann Braga
4c5bb3d192 pass debug flag to repro task 2022-12-02 14:51:38 +01:00
Tom Coleman
054cd73c60 First pass at extending sandboxes.
Works but there are typing problems
2022-12-02 13:09:57 +11: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
b53a97494d Send telemetry to localhost in sandboxes 2022-11-24 14:56:16 +11:00
Tom Coleman
4760d60090 Use inDevelopment to drive sandbox too 2022-11-15 20:09:08 +11:00
Michael Shilman
d4357e176b Task: Add ability to skip stories/addons 2022-11-14 23:58:48 +08:00
Michael Shilman
c47ea637c4
Merge pull request #19765 from storybookjs/fix-eslint-in-scripts
Build: Fix eslint formatting in scripts
2022-11-07 15:40:30 +08:00
Tom Coleman
737d339927 Fix eslint formatting in scripts 2022-11-07 17:20:42 +11:00
Tom Coleman
7bc85c0628 Fix files to search subdirectories 2022-11-07 11:48:29 +11:00
Tom Coleman
a37905763c Deepscan issue 2022-11-04 16:45:15 +11:00
Tom Coleman
4efd919120 Update sandbox script to create stories entry per linked package 2022-11-04 16:16:11 +11:00
Michael Shilman
6466e55eed Fix test-runner version conflicts 2022-10-22 17:34:09 +08:00
Yann Braga
2f2a198d16 Merge branch 'next' into nextjs-framework-support 2022-10-20 07:56:07 +02:00
Michael Shilman
a5ff418a9e
Merge pull request #19495 from storybookjs/shilman/upgrade-mdx2
Addon-docs: Upgrade to MDXv2
2022-10-20 02:17:10 +08:00
Yann Braga
ff27b659ce include framework specific stories in sandbox 2022-10-19 19:20:47 +02:00
Tom Coleman
b346bfca01
Merge pull request #19505 from storybookjs/task-runner-tweaks
Some task runner tweaks + move test-runner into sandbox task.
2022-10-19 10:57:37 +11:00
Michael Shilman
7daa804ed5 Merge branch 'next' into shilman/upgrade-mdx2 2022-10-19 00:03:12 +08:00
Tom Coleman
0378410510 Loosen version of test runner 2022-10-18 13:50:31 +11:00
Ian VanSchooten
db23556156 Merge remote-tracking branch 'origin/next' into pnpm/install 2022-10-16 20:13:16 -04:00
Tom Coleman
713ad66bd5 Install test-runner as part of the sandbox proxess 2022-10-17 10:25:35 +11:00
Michael Shilman
dffc6a4096 Update to MDXv2 across the board 2022-10-15 14:59:51 +08:00
Jeppe Reinhold
5deb2967a7 Merge branch 'next' of github.com:storybookjs/storybook into jeppe/sb-544-sveltekit 2022-10-13 20:30:04 +02:00
Tom Coleman
548cd31817 Merge remote-tracking branch 'origin/next' into tom/sb-512-angular-14 2022-10-12 15:19:13 +11:00
Ian VanSchooten
5fd8728ddc CLI: Add PNPM support (--use-pnpm) 2022-10-10 19:34:52 -04:00
Michael Shilman
5580df220b Fix sandbox to link in preview.js for projects that lack src directory 2022-10-10 20:25:39 +08:00
Tom Coleman
da4be79fe1 Merge remote-tracking branch 'origin/next' into tom/sb-512-angular-14 2022-10-10 22:35:41 +11:00
Tom Coleman
f56998e1bc Merge remote-tracking branch 'origin/next' into tom/sb-628-properly-document-maintenance-scripts 2022-10-10 21:43:06 +11:00
Tom Coleman
7a53b32ac3 Better resolution 2022-10-10 17:15:43 +11:00
Tom Coleman
80e313db74 Merge remote-tracking branch 'origin/next' into tom/sb-628-properly-document-maintenance-scripts 2022-10-10 16:56:47 +11:00
Tom Coleman
c9d876c23d Fix issue with global usage 2022-10-10 13:05:51 +11:00
Tom Coleman
f52725775a More fixes so things actually run 2022-10-06 13:57:17 +11:00
Tom Coleman
fed5708ed3 Fix esbuild-loader resolution 2022-10-06 13:39:25 +11:00
Tom Coleman
8a7328f121 Deepscan 2022-10-05 15:49:58 +11:00
Tom Coleman
b25a3265bc Refactor sandbox to load async 2022-10-05 11:25:31 +11:00