216 Commits

Author SHA1 Message Date
Norbert de Langen
76f05c7fdb
split generate workflow into main and next
skip yarn command for publish
add branch parameter for publish script
drop next parameter for publish script
add a constants file for scripts to prevent mismatching paths etc.
2023-03-29 12:05:38 +02:00
Valentin Palkovic
372a550116 Fix csf-plugin loader
The CSF-Plugin loader was not applying the necessary transformations in Angular projects.

Co-authored-by: Norbert de Langen <ndelangen@me.com>
2023-03-16 14:39:53 +01:00
Michael Shilman
aa0bb20554
Merge pull request #21046 from storybookjs/norbert/pnp-experiment-2
CLI: Fix pnp support & add auto-detection
2023-02-15 19:31:36 +08:00
Michael Shilman
a39743e363
Merge pull request #21088 from storybookjs/feat/make-interactions-debugger-default
Interactions: Add debugger to the addon panel
2023-02-15 19:28:07 +08:00
Norbert de Langen
d2c23c82ab
cleanup 2023-02-15 11:47:17 +01:00
Yann Braga
77dfa012c4 make interactions debugger the default behavior of the addon 2023-02-15 11:37:53 +01:00
Michael Shilman
5ed049fb8d Build: Fix --addon option for sandboxes 2023-02-15 12:16:18 +08:00
Norbert de Langen
62e37c0882
fix pnp 2023-02-14 17:06:21 +01:00
Tom Coleman
5fbb76b574 Allow stories folder to be served by vite sandboxes 2023-02-09 13:37:47 +11:00
Tom Coleman
bcca0cc704
Merge pull request #20705 from storybookjs/>20626-fix-inconsistent-order
Core: Fix issue with inconsistent CSF ordering in sandboxes
2023-01-24 21:30:31 +11:00
Tom Coleman
4eabf7ea12 Merge branch 'next' into >20626-fix-inconsistent-order 2023-01-24 17:33:34 +11:00
Tom Coleman
839cc79da4 Use a for loop rather than promise.all to link 2023-01-24 13:41:56 +11:00
Charles GRUENAIS
c05aebe719 Fixed paths in generated main.cjs for the default sandbox on Windows 2023-01-22 13:59:56 +01:00
Norbert de Langen
aa8b691013
do not include non-working stories for now 2023-01-20 09:42:30 +01:00
Norbert de Langen
fc3b221569
Merge branch 'next' into qwik-init 2023-01-20 09:15:41 +01:00
Benjamin Kindle
c6e7a04c71 fix: handle outside renderers in sandbox 2023-01-18 08:31:12 -05:00
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