@nx/storybook:cypress-project
Add cypress E2E app to test a ui library that is set up for Storybook.
The State of JS survey is live, featuring a monorepo tools sectionThe State of JS survey is live, featuring a monorepo tools sectionVote for us
Add cypress E2E app to test a ui library that is set up for Storybook.
1nx generate cypress-project ...
2By default, Nx will search for cypress-project in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/storybook:cypress-project ...
2Show what will be generated without writing to disk:
1nx g cypress-project ... --dry-run
2Project for which to generate the cypress E2E app.
A directory where the project is placed.
falseGenerate JavaScript files rather than TypeScript files.
eslinteslint, noneThe tool to use for running lint checks.
as-provided, derivedWhether to generate the project name and root directory as provided (as-provided) or generate them composing their values and taking the configured layout into account (derived).
The name of the devServerTarget to use for the Cypress CI configuration. Used to control if using <storybook-project>:static-storybook:ci or <storybook-project>:storybook:ci
falseSkip formatting files.