Closed engfragui closed 1 year ago
@gnapse If there's any config to be set for new components re: Chromatic visual regression tests, I can stick it in this PR too (i.e. if there's a setting to be added somewhere).
If there's any config to be set for new components re: Chromatic visual regression tests, I can stick it in this PR too (i.e. if there's a setting to be added somewhere).
Good idea. Though I'm hesitant to make it the default. Maybe you can add the chromatic setting in the story configs, but commented out. As in:
StoryComponent.parameters = {
// Enable this or remove it (visual regression tests via chromatic.com)
// chromatic: { disableSnapshot: false },
}
I intend to document a bit more about Chromatic in the future, and we will probably have a link to put here as well. But for now that will do.
Short description
Minor (stylistic) fixes to the template component that's generated via the templating command (via
plop
):PR Checklist
npm run validate
and made sure no errors / warnings were shownCHANGELOG.md
package.json
andpackage-lock.json
(npm --no-git-tag-version version <major|minor|patch>
) refnpm run build-all
)Versioning
Not needed.