fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

storybook: make storybook start build-less/fast-er

Open Hotell opened this issue 3 years ago • 0 comments

Library

React Components / v9 (@fluentui/react-components)

Describe the feature that you would like added

To be able to use our custom storybook addon in dev loop we need to run storybook within package scope via custom runner abstraction that does following:

  • runs lage to build whole react-storybook-addon dependency chain build
  • runs start-storybook

This has various issues like:

  • lage is slow / cache doesn't work always as expected
  • process termination acts weird/doesn't work all the time
  • the general DX is not good

Tasks:

  • [x] enable build-less procesing for custom storybook addons within storybook in dev mode | https://github.com/microsoft/fluentui/pull/24168
  • [ ] implement storbyook addon plugin loader | https://github.com/microsoft/fluentui/pull/24294
  • [ ] migrate all v9 packages to use start-storybook | https://github.com/microsoft/fluentui/pull/24302
  • [ ] remove custom runner

Have you discussed this feature with our team

No response

Additional context

No response

Validations

  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Hotell avatar Aug 01 '22 10:08 Hotell