{
  "name": "@yemaya/api",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "apps/yemaya/api/src",
  "projectType": "application",
  "tags": ["scope:yemaya", "type:app", "platform:server"],
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "outputs": ["{projectRoot}/dist"],
      "defaultConfiguration": "production",
      "options": {
        "cwd": "apps/yemaya/api",
        "command": "tsup"
      },
      "configurations": {
        "development": {
          "command": "tsup"
        },
        "production": {
          "command": "tsup"
        }
      }
    },
    "serve": {
      "executor": "nx:run-commands",
      "defaultConfiguration": "development",
      "options": {
        "cwd": "apps/yemaya/api",
        "command": "tsx watch src/index.ts"
      },
      "configurations": {
        "development": {
          "command": "tsx watch src/index.ts"
        },
        "production": {
          "command": "node dist/index.js"
        }
      }
    },
    "test": {
      "executor": "@nx/vite:test",
      "outputs": ["{options.reportsDirectory}"],
      "options": {
        "passWithNoTests": true,
        "reportsDirectory": "coverage/apps/yemaya/api"
      }
    },
    "lint": {
      "executor": "@nx/eslint:lint"
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm run typecheck",
        "cwd": "apps/yemaya/api"
      }
    },
    "docker-build": {
      "executor": "nx:run-commands",
      "options": {
        "command": "docker build -t yemaya-api:latest -f Dockerfile .",
        "cwd": "apps/yemaya/api"
      }
    },
    "openapi:generate": {
      "executor": "nx:run-commands",
      "options": {
        "command": "tsx scripts/generate-openapi.ts",
        "cwd": "apps/yemaya/api"
      }
    },
    "openapi:validate": {
      "executor": "nx:run-commands",
      "options": {
        "command": "tsx scripts/validate-openapi.ts",
        "cwd": "apps/yemaya/api"
      }
    }
  }
}
