Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: updated storybook to v7 #509

Merged
merged 4 commits into from
Nov 22, 2023
Merged

fix: updated storybook to v7 #509

merged 4 commits into from
Nov 22, 2023

Conversation

vivek-p44
Copy link
Collaborator

Closes # https://project44.atlassian.net/browse/MI-38

📝 Description

Updates storybook to v7.

Screenshots

Please provide screenshots for any visual changes

Merge checklist

  • Added/updated tests
  • Added changeset

Thanks @romulof for help with .lintstagedrc configuration.

@vivek-p44 vivek-p44 self-assigned this Nov 22, 2023
@vivek-p44 vivek-p44 requested a review from a team as a code owner November 22, 2023 13:35
Copy link

changeset-bot bot commented Nov 22, 2023

🦋 Changeset detected

Latest commit: 14b83ab

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
storybook-manifest Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vivek-p44 vivek-p44 changed the title fix(update storybook): updated storybook to v7 fix: updated storybook to v7 Nov 22, 2023
};

export default parameters;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We tend to avoid default exports to enforce naming during imports - but if this is the only thing it exports its OK

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah @dmorton-p44 i agree named import is nice thing to have, but with new version storybook expects these to be default exported.
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#70-breaking-changes.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vivek-p44 vivek-p44 merged commit ec8aa6c into main Nov 22, 2023
3 checks passed
@vivek-p44 vivek-p44 deleted the MI-38 branch November 22, 2023 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants