-
Notifications
You must be signed in to change notification settings - Fork 70
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
SB Metadata Retrieval #585
SB Metadata Retrieval #585
Conversation
AP-1933 Add builder packages to Chromatic CLI telemetry
(Also fix existing telemetry which currently detects no packages) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it! Would like @ghengeveld to take a look though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impressive work! I'm happy I didn't have to figure this out myself.
I left a bunch of suggestions for improvements, but my primary feedback is the (lack of) testing of getPrebuiltStorybookMetadata
, because it's getting mocked out.
… github.com:chromaui/chromatic-cli into jarel/ap-1933-add-builder-packages-to-chromatic-cli
Co-authored-by: Gert Hengeveld <info@ghengeveld.nl>
Co-authored-by: Gert Hengeveld <info@ghengeveld.nl>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like you addressed all of Gert's latest comments, so looks good to me! Nice work 😄
This PR updates how we retrieve the metadata for the Storybook being used in Chromatic.
-s
flag and theproject.json
file exists (meaning Storybook is v6.5+), we will use the data in thatproject.json
file.