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

@storybook/angular:build-storybook stats-json not found in schema #28068

Closed
1 of 4 tasks
fgirardey opened this issue Sep 24, 2024 · 2 comments
Closed
1 of 4 tasks

@storybook/angular:build-storybook stats-json not found in schema #28068

fgirardey opened this issue Sep 24, 2024 · 2 comments

Comments

@fgirardey
Copy link

Current Behavior

When Chromatic build storybook it passes additional arguments such as --stats-json.

Example:

npm run build-storybook-angular -- --output-dir=/tmp/chromatic--2639-uZkil9x91h0W --stats-json=/tmp/chromatic--2639-uZkil9x91h0W

The --stats-json parameter was previously --webpackStatsJson and has been renamed by the Storybook team: chromaui/chromatic-cli#1030

Therefore since this morning all my CI fails.

Expected Behavior

The @storybook/angular:build-storybook executor should accept --stats-json.

GitHub Repo

No response

Steps to Reproduce

  1. run npx nx run my-angular-app:build-storybook --stats-json=/tmp/chromatic--2639-uZkil9x91h0W

Nx Report

NX   Report complete - copy this into the issue template

Node           : 20.17.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.8.2

nx                 : 19.8.0
@nx/js             : 19.8.0
@nx/jest           : 19.8.0
@nx/linter         : 19.8.0
@nx/eslint         : 19.8.0
@nx/workspace      : 19.8.0
@nx/angular        : 19.8.0
@nx/cypress        : 19.8.0
@nx/devkit         : 19.8.0
@nx/esbuild        : 19.8.0
@nx/eslint-plugin  : 19.8.0
@nx/nest           : 19.8.0
@nx/next           : 19.8.0
@nx/node           : 19.8.0
@nx/playwright     : 19.8.0
@nx/react          : 19.8.0
@nx/storybook      : 19.8.0
@nrwl/tao          : 19.8.0
@nx/vite           : 19.8.0
@nx/web            : 19.8.0
@nx/webpack        : 19.8.0
typescript         : 5.5.4
---------------------------------------
Registered Plugins:
@nx/webpack/plugin
@nx/eslint/plugin
@nx/jest/plugin
@nx/jest/plugin
@nx/playwright/plugin
@nx/storybook/plugin
@nx/vite/plugin
---------------------------------------
Community plugins:
@storybook/angular       : 8.2.9
angular-auth-oidc-client : 18.0.1

Failure Logs

No response

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

@fgirardey
Copy link
Author

My apologies, this executor is from the Storybook team and not an official Nx executor, I will re-open this issue in Storybook's repo.

Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant