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

docs(storybook): Upgrade to 6.0.12 #418

Merged
merged 4 commits into from
Aug 19, 2020
Merged

docs(storybook): Upgrade to 6.0.12 #418

merged 4 commits into from
Aug 19, 2020

Conversation

ahobson
Copy link
Contributor

@ahobson ahobson commented Aug 18, 2020

Summary

  • Use built-in Typescript support
  • Convert to Typescript for config files
  • Change Modal exported types from index.ts to silence storybook
    warnings.

Related Issues or PRs

closes #417

How To Test

Confirm the Happo tests pass

* Use built-in Typescript support
* Convert to Typescript for config files
* Remove Modal exported types from index.ts to silence storybook
  warnings. The types are still exported from Modal.ts
@ahobson ahobson added the type: documentation Improvements or additions to documentation label Aug 18, 2020
@trussworks-infra-zz
Copy link

trussworks-infra-zz commented Aug 18, 2020

Warnings
⚠️ This PR does not include changes to storybook, even though it affects component code.
⚠️ This PR does not include changes to tests, even though it affects source code.

Generated by 🚫 dangerJS against 3be1dd5

@ahobson
Copy link
Contributor Author

ahobson commented Aug 18, 2020

Hmm, if I'm changing the exports in index.ts, this should probably be a breaking change, right?

Copy link
Contributor

@haworku haworku left a comment

Choose a reason for hiding this comment

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

Oo I like the way it looks!

But yes, @ahobson this is a breaking change as written. I think the workaround is just exporting our types differently. See webpack/webpack#7378 (comment) . We can't bulk export a mixture of constants and type interfaces.

@ahobson ahobson requested a review from haworku August 19, 2020 12:07
Copy link
Contributor

@haworku haworku left a comment

Choose a reason for hiding this comment

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

:shipit:

@ahobson ahobson merged commit 65d91cc into main Aug 19, 2020
@ahobson ahobson deleted the docs-storybook-6.0 branch August 19, 2020 15:59
@suzubara suzubara mentioned this pull request Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[docs]: Upgrade to storybook 6.0.x
3 participants