Skip to content

chore: migrate to storybook 6.0.x #17007

@Hotell

Description

@Hotell

As we are going to leverage Storybook (SB) for convergence (primarily the Composition feature) we need to migrate to SB v6.

Currently we are at 5.3

Tasks:
in general follow migration guide

What apps/packages will be affected:

  • apps/vr-tests - contains storybooks that are executed against Screener for visual regressions
  • packages/storybook - our custom package that provides various fluentui related SB extensions
    • there might be some API changes needed as well
  • packages/react-examples uses deprecated config apis
    • preview.js uses imperative calls configure(), addDecorator() etc
    • this will need to be manually migrated to main.js.
    • If that might turn out to be too difficult, we can opt out temporarily (no-hoist ?, explicitly defining all SB deps to v 5.3 within scripts/ package). In long run we wanna use 1 version of "critical" tool that we use within monorepo.

  • packages/fluentui: no action needed - SB is not being used
  • packages/web-components - they are using SB 5.3. We need to opt out explicitly probably via no-hoist as we are not owners of this package and we don't wanna break their stuff (handled by this PR)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions