chore(deps): update dependency chromatic to v6.10.5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| chromatic (source) | 6.7.4 -> 6.10.5 |
Release Notes
chromaui/chromatic-cli
v6.10.5
-
661 Add
debugas an option to the GH action
v6.10.4
v6.10.3
- 651 Update buildHasErrors with interaction test failure specific messaging
v6.10.2
- 649 Fix TurboSnap for module names containing URL params in stats file
- 650 Ensure all GitHub Action outputs are exposed
v6.10.1
- 645 Check onlyStoryNames is non-empty
v6.10.0
- 620 Add various counts as GitHub Action outputs
-
643 Fix implied
--preserve-missingfor--only-story-names
v6.9.0
-
634 Add
--only-story-filesflag -
565 Add tests for
--untracedflag validation -
636 Suggest using
--force-rebuildwhen skipping rebuild
v6.8.1
-
635 Retry queries by default and allow even more retries for
FirstCommittedAtQuery - 607 Bump terser from 4.8.0 to 4.8.1
- 601 Bump moment from 2.29.1 to 2.29.4
- 594 Bump shell-quote from 1.7.2 to 1.7.3
- 553 Bump minimist from 1.2.5 to 1.2.6
- 631 Bump @actions/core from 1.5.0 to 1.9.1
v6.8.0
-
630 Rename
--onlyto--only-story-namesbut keep it as a deprecated alias -
629 Deprecate
--preserve-missingand raise a warning if it's being used
Use TurboSnap instead of preserveMissing
In order to support advanced use cases where only a subset of stories would be included in a Storybook, the --preserve-missing flag could be used to prevent excluded stories from being marked as "removed" in Chromatic. This behavior could lead to problematic situations regarding infrastructure upgrades and cause truly removed stories to never be removed from Chromatic. That's why we are sunsetting the "preserve missing" behavior. As of v6.8.0, using this flag will raise a warning message in the CLI. In a future major version, the flag will be removed completely, and continuing to use it with an older CLI version will start to fail your build.
To upgrade, you should remove the --preserve-missing flag from your CI and/or package.json scripts. If you use our GitHub Action, you should remove the preserveMissing input (with: ...) from your workflow config file. Furthermore, you should make sure that your build-storybook script builds all stories, not just a subset. Check your stories configuration in .storybook/main.js so it doesn't omit any stories (e.g. based on an environment variable).
Most likely you were using preserveMissing to cut down on the number of snapshots taken by Chromatic. To achieve the same goal, you have three options:
- Recommended: Use TurboSnap to automatically only snapshot stories for which related source files have changed.
- Use
--only-story-namesto only snapshot stories matching a glob pattern by component/story name. - (Soon) Use
--only-story-filesto only snapshot stories matching a glob pattern by story filename.
In each of these cases, any stories that aren't captured are "inherited" from their baseline.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication