@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

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

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

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