{
  "name": "component-configuration",
  "aliases": ["cypress-component-configuration"],
  "factory": "./src/generators/component-configuration/component-configuration#componentConfigurationGeneratorInternal",
  "schema": {
    "$schema": "https://json-schema.org/schema",
    "$id": "NxCypressComponentConfiguration",
    "cli": "nx",
    "title": "Set up Cypress component testing for a project",
    "description": "Set up Cypress component test for a project.",
    "type": "object",
    "examples": [
      {
        "command": "nx g @nx/cypress:component-configuration --project=my-cool-lib ",
        "description": "Add cypress component testing to an existing project named my-cool-lib"
      }
    ],
    "properties": {
      "project": {
        "type": "string",
        "description": "The name of the project to add cypress component testing to",
        "$default": { "$source": "projectName" },
        "x-prompt": "What project should we add Cypress component testing to?"
      },
      "bundler": {
        "description": "The Cypress bundler to use.",
        "type": "string",
        "enum": ["vite", "webpack"],
        "x-prompt": "Which Cypress bundler do you want to use for the dev-server?",
        "default": "webpack"
      },
      "directory": {
        "type": "string",
        "description": "A directory where the project is placed relative from the project root",
        "default": "cypress"
      },
      "jsx": {
        "description": "Whether or not this project uses JSX.",
        "type": "boolean",
        "default": true
      }
    },
    "required": ["project"],
    "examplesFile": "This is a framework-agnostic generator for adding component testing to a project.\n\n```bash\nnx g cypress-component-configuration --project=my-cool-project\n```\n\nRunning this generator, adds the required files to the specified project without any configurations for Cypress. It's best to use the framework specific generator, instead `cypress-component-configuration` directly\n\n- [React component testing](/packages/react/generators/cypress-component-configuration)\n- [Angular component testing](/packages/angular/generators/cypress-component-configuration)\n\nA new `component-test` target will be added to the specified project.\n\n```bash\nnx g component-test my-cool-project\n```\n\nRead more about [Cypress Component Testing](/cypress/cypress-component-testing)\n",
    "presets": []
  },
  "description": "Set up Cypress Component Test for a project",
  "hidden": true,
  "implementation": "/packages/cypress/src/generators/component-configuration/component-configuration#componentConfigurationGeneratorInternal.ts",
  "path": "/packages/cypress/src/generators/component-configuration/schema.json",
  "type": "generator"
}
