{
  "name": "@maya/sentinel-core",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "libs/maya/sentinel-core/src",
  "projectType": "library",
  "tags": ["scope:maya", "layer:sentinel", "type:rust-lib", "type:ts-lib"],
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "cargo build --manifest-path libs/maya/sentinel-core/Cargo.toml"
      },
      "inputs": ["{projectRoot}/src/**/*.rs", "{projectRoot}/Cargo.toml"]
    },
    "lint": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "cargo fmt --manifest-path libs/maya/sentinel-core/Cargo.toml -- --check"
      },
      "inputs": ["{projectRoot}/src/**/*.rs", "{projectRoot}/Cargo.toml"]
    },
    "test": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "cargo test --manifest-path libs/maya/sentinel-core/Cargo.toml"
      },
      "inputs": ["{projectRoot}/src/**/*.rs", "{projectRoot}/Cargo.toml"]
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "cargo check --manifest-path libs/maya/sentinel-core/Cargo.toml"
      },
      "inputs": ["{projectRoot}/src/**/*.rs", "{projectRoot}/Cargo.toml"]
    },
    "build:ts": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "tsc -p tsconfig.lib.json",
        "cwd": "libs/maya/sentinel-core"
      },
      "inputs": ["{projectRoot}/src/**/*.ts", "{projectRoot}/tsconfig*.json"]
    },
    "lint:ts": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "pnpm exec prettier --check \"src/**/*.ts\"",
        "cwd": "libs/maya/sentinel-core"
      },
      "inputs": ["{projectRoot}/src/**/*.ts"]
    },
    "test:ts": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "pnpm exec vitest run",
        "cwd": "libs/maya/sentinel-core"
      },
      "inputs": ["{projectRoot}/src/**/*.ts", "{projectRoot}/vitest.config.ts"]
    },
    "typecheck:ts": {
      "executor": "nx:run-commands",
      "cache": true,
      "options": {
        "command": "tsc --noEmit -p tsconfig.spec.json",
        "cwd": "libs/maya/sentinel-core"
      },
      "inputs": ["{projectRoot}/src/**/*.ts", "{projectRoot}/tsconfig*.json"]
    }
  }
}
