-
Notifications
You must be signed in to change notification settings - Fork 195
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
feat(storybook)!: update chromatic add-on to latest version #3458
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: d0cda87 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
🚀 Deployed on https://pr-3458--spectrum-css.netlify.app |
File metricsSummaryTotal size: 4.27 MB* 🎉 No changes detected in any packages * Size determined by adding together the size of the main file for all packages in the library.* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
bc40fa2
to
0d1bab2
Compare
0d1bab2
to
2ffe037
Compare
@@ -1,5 +1,3 @@ | |||
{/* DocumentationTemplate.mdx */} |
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.
The build "test" command does not like these comments! Easier to just remove them than try to rework them.
2ffe037
to
7a869a3
Compare
@@ -0,0 +1,12 @@ | |||
--- | |||
"@spectrum-css/preview": major |
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.
@castastrophe- with the config updates, additions to the env file, the dependency technically changed, I think major seems appropriate.
9f398fd
to
716a13a
Compare
BREAKING CHANGE: New chromatic configuration required for updated version support.
716a13a
to
d0cda87
Compare
Description
Chromatic moved away from
@chromaui/addon-visual-tests
to the@chromatic-com/storybook
package.This requires an update to the
chromatic.config.json
settings, removal of the generic argTypesRegex from the preview config, and a stricter import in the doc blocks (i.e.,fileName.js
not justfileName
).To support a successful build, our test command must maintain the autodocs and mdx syntax which requires we add this information to our build instructions in the .storybook/main.js file.
How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps
Expect to be able to run Storybook locally, connect to the Chromatic add-on in the component panel, and kick off a manual re-run of VRTs.
Screenshots
To-do list