1421 Commits

Author SHA1 Message Date
James LiVolsi
58784b67b3 upgrade vitejs and esbuild 2022-12-11 23:49:13 -06:00
Norbert de Langen
024ea83ad1
Merge pull request #20170 from storybookjs/tech/sync-engines
Tech: change `package.json` engines fields, set to minimal node16 and up
2022-12-09 10:43:41 +01:00
Norbert de Langen
22e0181b68
sync engines 2022-12-08 19:09:53 +01:00
Norbert de Langen
d67e466939
fix a typo 2022-12-08 16:35:47 +01:00
Michael Shilman
dcc55c51e6 Fix scripts lockfile 2022-12-08 16:35:06 +08:00
Michael Shilman
67ccaafe13 Upgrade express to fix security warning 2022-12-08 16:24:29 +08: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
Norbert de Langen
ae34b30a59
Merge branch 'next' into fix-export-gen 2022-12-05 09:42:49 +01:00
Michael Shilman
b70c933a6b Merge branch 'next' into jeppe/sveltekit-framework 2022-12-03 22:29:26 +08:00
Valentin Palkovic
a10f056986 Fix repro templates script 2022-12-02 19:00:58 +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
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
Ian VanSchooten
0cb44a3f7c Unify typescript to ~4.9.3 2022-11-30 09:36:04 -05:00
Norbert de Langen
fc615afa8b
upgrade yarn 2022-11-30 10:57:43 +01:00
Kasper Peulen
09dd5d7f73 Update CLI templates to TS 4.9 2022-11-29 17:03:55 +01:00
Kasper Peulen
fac2465219 No unused locals in tsconfig to disable deepscan
Deep scan is not compatible with TS 4.9 yet. And the only issues it seems to find that are not covered yet by TS or ESLint are unused imports. TSC can catch those by enabling noUnusedLocals in tsconfig.
2022-11-29 16:28:00 +01:00
Norbert de Langen
8e24756a94
add the required package, hoist import 2022-11-29 11:20:12 +01:00
Norbert de Langen
1ac554530d
change to use esbuild-register 2022-11-29 11:03:40 +01:00
Michael Shilman
80e43ad75d Merge branch 'next' into tom/sb-770-migration-update-default-globs-to-match 2022-11-29 11:29:09 +08: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
Norbert de Langen
7fa11f125b
regen lockfiles 2022-11-25 16:58:53 +01:00
Norbert de Langen
3e96c7b9b4
fix linting in scripts 2022-11-24 20:13:28 +01:00
Tom Coleman
f67a0d8862 Build basic event-log-checker script 2022-11-24 15:29:42 +11:00
Tom Coleman
488d0e3dc1 Created a super simple event logger server 2022-11-24 15:10:40 +11:00
Tom Coleman
b53a97494d Send telemetry to localhost in sandboxes 2022-11-24 14:56:16 +11:00
Norbert de Langen
4ca17dd7bf
keep variable names recognizable 2022-11-23 16:00:33 +01:00
Norbert de Langen
9e252a8c3f
Merge branch 'next' into tech/introduce-preview-api 2022-11-23 11:26:40 +01:00
Norbert de Langen
b986f552d8
fix the CI by adding a resolution for the broken release of enhanced resolve, and also overriding the dep version of types/node on sandboxes so that they may be linked 2022-11-23 10:55:55 +01: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
de8be8346c
Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework 2022-11-22 11:34:18 +01:00
Norbert de Langen
96568264b1
fix types types/node 2022-11-22 11:10:04 +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
Yann Braga
8c794803cb fix execa import in get-report-message 2022-11-21 17:06:53 +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
Yann Braga
a27608e24a fix execa usage in build and check scripts 2022-11-21 12:44:52 +01:00