CMSgov / design-system

Open source design and front-end development resources for creating Section 508 compliant, responsive, and consistent websites.
https://design.cms.gov
Other
312 stars 85 forks source link

[NO-TICKET] Use new docgen union sorting #3166

Closed pwolfert closed 1 month ago

pwolfert commented 1 month ago

Summary

How to test

  1. yarn clean && yarn install && yarn build
  2. yarn test:browser:storybook-docs and make sure it doesn't try to change the order of union-type members from what the snapshots show now (string-stort (somewhat alphabetical) order)
pwolfert commented 1 month ago

Going to just merge this for now since it works. We can follow up with a dependency version bump when the library does a real release and maybe even after the @storybook/react-docgen-typescript-plugin library bumps the version that it uses so we don't have to create a custom resolution in our package file.