Open
Description
Describe the bug
When Chromatic build storybook it passes additional arguments such as --stats-json.
The --webpackStatsJson
parameter has been renamed into --stats-json
: chromaui/chromatic-cli#1030
Therefore since this morning all my CI fails.
Example:
> nx run storybook-host-angular:build-storybook --output-dir=/tmp/chromatic--2639-uZkil9x91h0W --stats-json=/tmp/chromatic--2639-uZkil9x91h0W
NX 'stats-json' is not found in schema
NX Running target build-storybook for project storybook-host-angular failed
Reproduction link
https://stackblitz.com/edit/github-a5abiy?file=package.json
Reproduction steps
- Go to the above link
- Run the command
yarn storybook -- --stats-json=./tmp
System
Storybook Environment Info:
System:
OS: macOS 15.0
CPU: (10) arm64 Apple M1 Pro
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.17.0 - ~/.volta/tools/image/node/20.17.0/bin/node
npm: 10.8.2 - ~/.volta/tools/image/node/20.17.0/bin/npm <----- active
Browsers:
Chrome: 129.0.6668.59
Edge: 129.0.2792.52
Safari: 18.0
npmPackages:
@storybook/addon-essentials: 8.3.2 => 8.3.2
@storybook/addon-interactions: 8.3.2 => 8.3.2
@storybook/angular: 8.3.2 => 8.3.2
@storybook/core-server: 8.3.2 => 8.3.2
@storybook/nextjs: 8.3.2 => 8.3.2
@storybook/react-vite: 8.3.2 => 8.3.2
@storybook/test: 8.3.2 => 8.3.2
@storybook/test-runner: 0.18.2 => 0.18.2
storybook: 8.3.2 => 8.3.2
Additional context
No response
Metadata
Metadata
Assignees
Type
Projects
Status
Empathy Backlog