232 Commits

Author SHA1 Message Date
Valentin Palkovic
595e7a4a88 Merge remote-tracking branch 'origin/next' into valentin/add-nunito-sans 2023-02-01 15:18:09 +01:00
Tobias Diez
d5d0886c3e
Merge branch 'storybookjs:next' into patch-1 2023-02-01 18:03:18 +08:00
Tobias Diez
077a849d05
chore: fix linter 2023-02-01 17:32:07 +08:00
Yann Braga
4ea443c13e Warn users to use default export in main.js
- involves changes in csf-tools to define a flag that tells us there is (or not) a default export
- involves changes in affected packages now that loadMainConfig is async
2023-01-31 10:23:07 +01:00
Norbert de Langen
ea6dffba23
add the font for the storybook manager UI, add a reference to it in the template
Co-authored-by: Valentin Palkovic <valentin@chromatic.com>
2023-01-31 10:13:16 +01:00
Norbert de Langen
97d12d3f31
fix test 2023-01-30 14:50:40 +01:00
Tobias Diez
05dea3b03d
feat: return address of dev server from buildDevStandalone
I currently use `buildDevStandalone` to start a dev server (by code), and to show a nice message to the user afterwards, I would like to get the server address.
2023-01-29 15:27:01 +08:00
Jeppe Reinhold
021818a795
Merge branch 'next' into disable-markdown-transclusion 2023-01-26 02:17:30 +01:00
Jeppe Reinhold
bece362f88 remove transcludeMarkdown option 2023-01-26 01:36:40 +01:00
Michael Shilman
7a495e03d2 Merge branch 'next' into shilman/20145-legacy-mdx1 2023-01-25 23:54:45 +08:00
Michael Shilman
8c5fe63074 Addon-docs: Add legacy transitional support for MDX1 2023-01-24 00:14:46 +08:00
Tom Coleman
d8ba291e3f Split up detecting files from writing cache to avoid concurrency issues 2023-01-20 18:32:14 +11:00
Michael Shilman
f1765bfd2d
fix linting 2023-01-19 12:31:26 +08:00
Mostafa Sherif
c425cc8446
addon-docs: update story index generator
change extract stories condition to positive matcher instead of negative matcher
2023-01-18 17:07:53 -05:00
Michael Shilman
26dac372d7
Merge pull request #20646 from storybookjs/fix/safe-check-in-core-preset
Core: Fix `core` preset default value
2023-01-18 22:49:51 +08:00
Valentin Palkovic
4ca33c3a8f Add telemetry to angular builders 2023-01-17 15:40:39 +01:00
Yann Braga
d64e0135a0 use proper defaults when calling core preset 2023-01-17 11:54:36 +01:00
Norbert de Langen
f5c5ad9522
fix code and add test 2023-01-16 14:53:46 +01:00
Norbert de Langen
884b926d26
rename 2023-01-16 13:09:40 +01:00
Norbert de Langen
76b039618d
add support for favicon.ico again 2023-01-13 15:43:36 +01:00
Norbert de Langen
128c2a795c
make changes to typings files to ensure this the check command succeeds 2023-01-13 11:13:24 +01:00
Katerina Skroumpelou
ae927e4da8 feat: expose port from buildDevStandalone
Co-authored-by: Valentin Palkovic <valentin@chromatic.com>
2023-01-12 12:26:14 +02:00
Katerina Skroumpelou
0bcb2568fa fix: remove standalone and export build from core-server 2023-01-11 13:01:33 +02:00
Michael Shilman
645e881b19 Telemetry: Filter out example stories/docs from summary 2023-01-10 10:56:07 +08:00
Michael Shilman
d1e9f2d0de Telemetry: Count play function usage 2023-01-09 12:18:55 +08:00
Michael Shilman
769b351330 Telemetry: Add pageStoryCount 2023-01-09 11:18:43 +08:00
Tom Coleman
18561563a7 Merge remote-tracking branch 'origin/next' into tom/sb-1079-fix-devbuild-event-firing-too-early-and 2023-01-03 14:23:50 +11:00
Ian VanSchooten
33326c0932 Merge remote-tracking branch 'origin/next' into lodash-extensions 2022-12-30 14:32:44 -05:00
Ian VanSchooten
af349c8b8e Add extension to all lodash imports 2022-12-30 12:15:08 -05:00
Michael Shilman
72dac4eae0
Merge pull request #20424 from storybookjs/replace-standalone-with-autodocs
Docs: Use `stories-mdx` and `autodocs` tags instead of `standalone: false` in index
2022-12-30 18:44:58 +08:00
Michael Shilman
c9bcd9a3c6 Merge branch 'next' into replace-mdx-tag-with-stories-mdx 2022-12-30 17:08:56 +08:00
Michael Shilman
bd3bb74d49 Update snapshots 2022-12-30 16:20:08 +08:00
Han Yeong-woo
d61cfc1555 Fix import url on windows 2022-12-29 10:13:08 +01:00
Tom Coleman
51b77324bb Update snapshots 2022-12-29 17:08:59 +11:00
Tom Coleman
9c2394231b Replace standalone in index with tags 2022-12-28 13:42:11 +11:00
Tom Coleman
53dd097672 Set the tag to autodocs when adding docs entries 2022-12-26 22:34:58 +11:00
Tom Coleman
1706485407 Update snapshots 2022-12-26 22:28:43 +11:00
Tom Coleman
9e032aef01 Change to 'stories-mdx' tag to indicate a story defined in an MDX file 2022-12-26 22:14:04 +11:00
Norbert de Langen
57b14d45bb
Merge branch 'next' into tech/tsup-core-server-v2 2022-12-24 00:29:38 +01:00
Tom Coleman
add7f48f73 Move 'dev'/'build' events to the end of the process 2022-12-22 22:20:35 +11:00
Tom Coleman
cbb7995f0a Update error to be a little more helpful 2022-12-22 13:57:43 +11:00
Tom Coleman
2f713e5ce6 Throw error if using mdx of={} for autodocs-tagged CSF file 2022-12-22 13:50:24 +11:00
Tom Coleman
7dd16753e4 Refactored test stories a little bit 2022-12-22 13:41:57 +11:00
Tom Coleman
8ff272dd80 Merge branch 'tom/sb-973-rename-docsenabled-to-docsdisable' into rename-docspage-autodocs 2022-12-22 13:20:42 +11:00
Tom Coleman
7d87e818b0
Update code/lib/core-server/src/utils/StoryIndexGenerator.test.ts
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2022-12-22 08:32:34 +11:00
Tom Coleman
427ec4433d Rename docsPage to autodocs
And change semantics: `docsPage:true` = `autodocs: 'tag'` and `docsPage: 'automatic'` = `autodocs: true`.
2022-12-21 21:49:57 +11:00
Tom Coleman
ed18a8dc6d Rename docsOptions.enabled to docsOptions.disable 2022-12-21 21:26:44 +11:00
Norbert de Langen
57ead1064d
Merge branch 'next' into tech/tsup-core-server-v2 2022-12-20 23:14:10 +01:00
Norbert de Langen
03d08f923d
Merge branch 'next' into tech/tsup-core-server-v2 2022-12-20 13:24:13 +01:00
Norbert de Langen
a033d29a3c
Merge branch 'next' into norbert/sb-1063-vite-in-dev-mode-with-storystorev6 2022-12-13 19:19:57 +01:00