53 Commits

Author SHA1 Message Date
Michael Shilman
7fd8f4acf3 Merge branch 'next' into shilman/add-web-components-vite-framework-and-template 2022-09-27 11:59:23 +08:00
Michael Shilman
94e145ded4 Allow renderers to export preview annotations 2022-09-20 11:28:33 +08:00
Michael Shilman
62b77cc7d4 Merge branch 'next' into shilman/add-web-components-vite-framework-and-template 2022-09-18 18:58:58 +08:00
Michael Shilman
e957951017
Merge branch 'next' into shilman/vue-cli-repro-templates 2022-09-16 20:41:17 +08:00
Michael Shilman
5dbe451b39 Fix duplicate import 2022-09-15 17:42:39 +08:00
Tom Coleman
1895f3c8a4 Update sandbox to link renderer stories *inside* project
But ensure that TS stories aren't loaded in JS projects 🚀
2022-09-14 21:45:03 +10:00
Tom Coleman
31fa2878d3 Ensure we use previewAnnotations for everything 2022-09-14 21:05:08 +10:00
Tom Coleman
2dc7254e08 Exclude all rules from template-stories 2022-09-14 20:59:36 +10:00
Michael Shilman
b1ce457e9c Merge branch 'next' into shilman/fix-sandbox-multiple-reacts 2022-09-13 16:04:53 +08:00
Tom Coleman
52cd4f41f3
Merge pull request #19152 from storybookjs/tom/sb-740-remove-previewentries-from-vite-builder
Presets: Replace `config` with `previewAnnotations`, remove `previewEntries`
2022-09-13 16:39:19 +10:00
Michael Shilman
d2a21a8cb2 Merge branch 'next' into shilman/add-web-components-vite-framework-and-template 2022-09-13 11:45:00 +08:00
Norbert de Langen
19d75f0663
Merge pull request #19124 from storybookjs/norbert/sb-577-addon-links
Addon-links: Move stories into addon
2022-09-12 20:36:45 +02:00
Norbert de Langen
c00654b45d
Merge pull request #19114 from storybookjs/norbert/sb-574-addon-a11y
Addon-a11y: Move stories into addon
2022-09-12 18:05:13 +02:00
Tom Coleman
3c7b5a787b Stop using previewEntries.
Switch `config` and `previewAnnotations`, and warn on the former.
2022-09-12 17:17:50 +10:00
Tom Coleman
a5aba9e5b2 Improve error messages 2022-09-12 15:46:23 +10:00
Michael Shilman
bc436e15f1 Build: Add extra dependencies for linked stories 2022-09-11 13:38:04 +08:00
Michael Shilman
fd8607a731 Addon-docs: Generic DocsPage stories to replace examples 2022-09-10 12:15:49 +08:00
Michael Shilman
ce2a156826 Build: Fix sandbox running multiple versions of react 2022-09-09 19:44:47 +08:00
Tom Coleman
1335697e9b No longer handle previewEntries in the vite builder. 2022-09-09 15:58:59 +10:00
Norbert de Langen
2ff665b23a
FIX duplicate entry, sort addons entries in sandbox script 2022-09-08 12:40:05 +02:00
Norbert de Langen
c221c96872
add links to sandboxes 2022-09-08 12:17:49 +02:00
Norbert de Langen
1b86bf70d7
Merge branch 'next' into norbert/sb-574-addon-a11y
# Conflicts:
#	code/renderers/react/template/components/index.js
#	code/renderers/svelte/template/components/index.js
#	code/renderers/vue3/template/components/index.js
2022-09-08 12:15:44 +02:00
Norbert de Langen
1ea262fe54
add a11y to sadnboxes 2022-09-08 11:37:26 +02:00
Michael Shilman
8701748ddf Merge branch 'next' into tom/sb-586-core-features-loaders-parameters 2022-09-08 07:07:18 +08:00
Ian VanSchooten
6bdfcfad14 Convert @ts-ignore to @ts-expect-error
And remove unused directives
2022-09-06 22:40:59 -04:00
Tom Coleman
66a94ae6b2 Merge remote-tracking branch 'origin' into tom/sb-586-core-features-loaders-parameters 2022-09-05 15:26:46 +10:00
Tom Coleman
44f1d1859a Setup system to create preview annotations in sandboxes
And use in loaders/parameters stories
2022-09-05 15:23:56 +10:00
Tom Coleman
d2bdc32888 Add lib/store to list of packages that may have stories 2022-09-05 10:05:15 +10:00
Michael Shilman
8e0840275c Fix typo 2022-09-02 17:47:49 +08:00
Michael Shilman
e735d2b930 Build: Prefix generic addon stories in sandbox storybooks 2022-09-02 17:07:56 +08:00
Tom Coleman
f21cafed14 Refactor as per @IanVS's suggestion 2022-09-01 12:55:49 +10:00
Tom Coleman
76780e91a3 Conditionally force vite rebuilds in sandbox 2022-08-31 15:13:43 +10:00
Michael Shilman
23223109b5 Sandbox: Add ability to run from local repro 2022-08-17 21:53:12 +08:00
Yann Braga
0518456dc2 disable telemetry for sandbox generated projects 2022-08-15 08:32:37 +02:00
Michael Shilman
eaf45689a2 Don't hardcode renderer location in monorepo 2022-08-15 11:39:14 +08:00
Tom Coleman
823343e5ea Exit 0 after we finish 2022-08-12 17:26:09 +10:00
Tom Coleman
f625b02476 Add some logging 2022-08-12 17:18:26 +10:00
Tom Coleman
73cadceade Some cleanup 2022-08-12 17:17:18 +10:00
Tom Coleman
fdd23ad9de Add test runner task 2022-08-12 15:06:36 +10:00
Tom Coleman
ed2c21ec65 Ensure the sandbox exits cleanly if publishing 2022-08-12 13:35:30 +10:00
Tom Coleman
a05bccefbf Created basic task infrastructure,
as well as bootstrap, publish and create tasks
2022-08-12 13:07:07 +10:00
Tom Coleman
3e6b18e7a4 Ensure sandbox fails if it fails 2022-08-10 11:00:12 +10:00
Tom Coleman
92eace8b25 Merge fix 2022-08-09 17:17:51 +10:00
Tom Coleman
95658cfc1a Use discriminated types on options
And actually infer value types closely
2022-08-09 17:17:51 +10:00
Tom Coleman
a1b94ba45c Created multiplex script and use for sandbox 2022-08-09 17:17:50 +10:00
Tom Coleman
97f72c63c8 Fix issues with sandbox 2022-08-09 17:16:51 +10:00
Yann Braga
4d41f44feb sandbox: improve error handling 2022-08-08 18:29:08 +02:00
Yann Braga
0f56a10895 improve sandbox command error handling and debugging 2022-08-04 13:16:16 +02:00
Tom Coleman
63828515d1 Got verdaccio working, borrowing heavily from the old repro command 2022-08-02 23:08:42 +10:00
Tom Coleman
31b0fe7df9 Small fixes 2022-08-02 14:32:03 +10:00