@nx/storybook:cypress-project
Add cypress E2E app to test a ui library that is set up for Storybook.
Nx Launch Week & Launch Conf are coming up!Nx Launch Week & Launch Conf are coming up!Don't miss out!
Add cypress E2E app to test a ui library that is set up for Storybook.
1nx generate cypress-project ...
2
By 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 ...
2
Show what will be generated without writing to disk:
1nx g cypress-project ... --dry-run
2
Project for which to generate the cypress E2E app.
A directory where the project is placed.
false
Generate JavaScript files rather than TypeScript files.
eslint
eslint
, none
The tool to use for running lint checks.
as-provided
, derived
Whether 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
false
Skip formatting files.