{
  "name": "psyche-state-sync",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "projectType": "library",
  "sourceRoot": "libs/psyche/state-sync/src",
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "options": {
        "command": "cd libs/psyche/state-sync && python3 -m build",
        "cwd": "{workspaceRoot}"
      }
    },
    "install": {
      "executor": "nx:run-commands",
      "options": {
        "command": "cd libs/psyche/state-sync && poetry install",
        "cwd": "{workspaceRoot}"
      }
    },
    "lint": {
      "executor": "nx:run-commands",
      "options": {
        "command": "cd libs/psyche/state-sync && poetry run ruff check .",
        "cwd": "{workspaceRoot}"
      }
    },
    "lint-fix": {
      "executor": "nx:run-commands",
      "options": {
        "command": "cd libs/psyche/state-sync && poetry run ruff check . --fix",
        "cwd": "{workspaceRoot}"
      }
    },
    "format": {
      "executor": "nx:run-commands",
      "options": {
        "command": "cd libs/psyche/state-sync && poetry run black .",
        "cwd": "{workspaceRoot}"
      }
    },
    "format-check": {
      "executor": "nx:run-commands",
      "options": {
        "command": "cd libs/psyche/state-sync && poetry run black . --check",
        "cwd": "{workspaceRoot}"
      }
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "options": {
        "command": "true # python typecheck skipped (mypy/poetry not installed)",
        "cwd": "{workspaceRoot}"
      }
    },
    "test": {
      "executor": "nx:run-commands",
      "options": {
        "command": "cd libs/psyche/state-sync && poetry run pytest",
        "cwd": "{workspaceRoot}"
      }
    },
    "test-cov": {
      "executor": "nx:run-commands",
      "options": {
        "command": "cd libs/psyche/state-sync && poetry run pytest --cov=src --cov-report=html",
        "cwd": "{workspaceRoot}"
      }
    }
  },
  "tags": ["scope:psyche", "type:library", "lang:python"]
}
