@nx/remix:cypress-component-configuration

Add a Cypress component testing configuration to an existing project.

Usage

1nx generate cypress-component-configuration ... 2

By default, Nx will search for cypress-component-configuration in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

1nx g @nx/remix:cypress-component-configuration ... 2
Nx 15 and lower use @nrwl/ instead of @nx/

Show what will be generated without writing to disk:

1nx g cypress-component-configuration ... --dry-run 2

Examples

Add component testing to your Remix project:

1nx g @nx/remix:cypress-component-configuration --project=my-remix-project 2
Nx 15 and lower use @nrwl/ instead of @nx/

Add component testing to your Remix project and generate component tests for your existing components:

1nx g @nx/remix:cypress-component-configuration --project=my-remix-project --generate-tests 2
Nx 15 and lower use @nrwl/ instead of @nx/

Options

project

Required
string

The name of the project to add cypress component testing configuration to

generateTests

boolean
Default: false

Generate default component tests for existing components in the project

skipFormat

Internal
boolean
Default: false

Skip formatting files