{
  "name": "@oshun/codegen",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "tools/codegen/src",
  "projectType": "library",
  "tags": ["scope:tools", "type:lib"],
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "options": {
        "command": "tsc",
        "cwd": "tools/codegen"
      },
      "outputs": ["{projectRoot}/dist"]
    },
    "lint": {
      "executor": "@nx/eslint:lint",
      "options": {
        "lintFilePatterns": ["tools/codegen/src/**/*.ts"]
      }
    },
    "openapi-types": {
      "executor": "nx:run-commands",
      "options": {
        "command": "tsx src/openapi-types.ts",
        "cwd": "tools/codegen"
      }
    },
    "openapi-types-check": {
      "executor": "nx:run-commands",
      "options": {
        "command": "tsx src/openapi-types.ts --check",
        "cwd": "tools/codegen"
      }
    },
    "v2-grpc-stubs": {
      "executor": "nx:run-commands",
      "options": {
        "command": "tsx src/v2-grpc-stubs.ts",
        "cwd": "tools/codegen"
      }
    },
    "v2-grpc-stubs-check": {
      "executor": "nx:run-commands",
      "options": {
        "command": "tsx src/v2-grpc-stubs.ts --check",
        "cwd": "tools/codegen"
      }
    }
  }
}
