Some of TS options (storybookConfigDir, storybookBaseDir) can actually be automatically inferred because the addon knows where storybook is running from and how it is configured.
Currently the user can set these options in chromatic.config.json and have it be recognized by both the addon and the CLI. However, there is an opportunity for the addon to write those options (alongside projectId/projectToken) on behalf of the user.
From AP-3538
Some of TS options (
storybookConfigDir
,storybookBaseDir
) can actually be automatically inferred because the addon knows where storybook is running from and how it is configured.Currently the user can set these options in
chromatic.config.json
and have it be recognized by both the addon and the CLI. However, there is an opportunity for the addon to write those options (alongsideprojectId
/projectToken
) on behalf of the user.