From bedff8a073f5a3b383742687e6d6f3b7dd33bbd2 Mon Sep 17 00:00:00 2001 From: Cody Kaup Date: Fri, 25 Oct 2024 11:05:43 -0500 Subject: [PATCH] Add --build-command flag --- chromatic-config/options.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chromatic-config/options.json b/chromatic-config/options.json index 74d3692a..4c3a6b53 100644 --- a/chromatic-config/options.json +++ b/chromatic-config/options.json @@ -17,6 +17,14 @@ "defaultComment": "Inferred from CI or Git", "supports": ["CLI", "GitHub Action"] }, + { + "option": "buildCommand", + "flag": "--build-command", + "description": "The command that builds your Storybook. Use this if your Storybook build command does not exist in the \"scripts\" field of your package.json.
Requires `--output-dir`.", + "type": "string", + "example": "`\"nx run my-app:build-storybook\"`", + "supports": ["CLI", "GitHub Action", "Config File"] + }, { "option": "buildScriptName", "flag": "--build-script-name",