{
  "name": "@oshun/persistence",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "libs/oshun/persistence/src",
  "projectType": "library",
  "tags": ["scope:oshun", "layer:persistence", "type:lib"],
  "targets": {
    "build": {
      "executor": "@nx/js:tsc",
      "outputs": ["{options.outputPath}"],
      "options": {
        "outputPath": "dist/libs/oshun/persistence",
        "main": "libs/oshun/persistence/src/index.ts",
        "tsConfig": "libs/oshun/persistence/tsconfig.lib.json",
        "assets": ["libs/oshun/persistence/prisma/schema.prisma"]
      }
    },
    "lint": {
      "executor": "@nx/eslint:lint",
      "options": {
        "lintFilePatterns": ["libs/oshun/persistence/**/*.ts"]
      }
    },
    "test": {
      "executor": "@nx/vite:test",
      "options": {
        "config": "libs/oshun/persistence/vitest.config.ts",
        "passWithNoTests": false
      }
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "libs/oshun/persistence",
        "command": "tsc --noEmit"
      }
    },
    "generate:schema": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": ".",
        "command": "pnpm exec tsx libs/oshun/persistence/scripts/generate-contract-persistence-schema.ts"
      }
    },
    "generate:migration-plan": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": ".",
        "command": "pnpm exec tsx libs/oshun/persistence/scripts/render-migration-plan.ts"
      }
    },
    "generate:tombstone-semantics": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": ".",
        "command": "pnpm exec tsx libs/oshun/persistence/scripts/render-tombstone-semantics.ts"
      }
    },
    "generate:indexes": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": ".",
        "command": "pnpm exec tsx libs/oshun/persistence/scripts/render-index-requirements.ts"
      }
    },
    "generate:v3-schema": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": ".",
        "command": "pnpm --filter @oshun/persistence run generate:v3-schema"
      }
    },
    "generate:v3-schema:check": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": ".",
        "command": "pnpm --filter @oshun/persistence run generate:v3-schema:check"
      }
    },
    "explain:check": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": ".",
        "command": "pnpm exec tsx libs/oshun/persistence/scripts/validate-explain-checks.ts"
      }
    }
  }
}
