Skip to content
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

Update CLI & TurboSnap docs to reflect we now trace dependencies #193

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ These options control how Chromatic behaves concerning your stories and what to
| `--exit-zero-on-changes [branch]` | If all snapshots render, but there are visual changes, exit with code `0` rather than the usual exit code `1`. Only for `[branch]`, if specified. Globs are supported via [picomatch]. |
| `--externals <filepath>` | Disable TurboSnap when any of these files have changed since the baseline build. Globs are supported via [picomatch]. This flag can be specified multiple times. Requires --only-changed. |
| `--ignore-last-build-on-branch <branch>` | Do not use the last build on this branch as a baseline if it is no longer in history (i.e., the branch was rebased). Globs are supported via [picomatch]. |
| `--only-changed [branch]` | Enables TurboSnap: Only run stories affected by files changed since the baseline build. Only for `[branch]`, if specified. Globs are supported via [picomatch]. All other snapshots will be inherited from the prior commit. |
| `--only-changed [branch]` | Enables TurboSnap: Only run stories affected by files and dependencies changed since the baseline build. Only for `[branch]`, if specified. Globs are supported via [picomatch]. All other snapshots will be inherited from the prior commit. |
| `--only-story-files <storypath>` | Only run a single story or a subset of stories by their filename(s). Specify the full path to the story file relative to the root of your Storybook project. Globs are supported via [picomatch]. This flag can be specified multiple times. |
| `--only-story-names <storypath>` | Only run a single story or a subset of stories by their name(s). Use the `title` from the story file's default export as the story path, followed by the desired story names. For example, if selecting all stories from a single story file with a `title` of `Example/Button`, this would be `Example/Button/*`. Globs are supported via [picomatch]. This flag can be specified multiple times. |
| `--patch-build <headbranch...basebranch>` | Create a patch build to fix a missing PR comparison. |
Expand Down
Loading