@nx/storybook:cypress-project
Add cypress E2E app to test a ui library that is set up for Storybook.
Monorepo World: October 7, 2024Monorepo World: October 7, 2024Join us!
Deprecated: Use 'interactionTests' instead when running '@nx/storybook:configuration'. This generator will be removed in v21.
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.
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.
Join us live for exciting talks on developer tooling and monorepos! Catch the action on YouTube and join the conversation on Discord!