{
  "name": "veritas-b2b-sdk-python",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "libs/veritas/b2b-sdk-python/src",
  "projectType": "library",
  "tags": ["scope:veritas", "type:sdk", "lang:python"],
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "outputs": ["{projectRoot}/dist"],
      "options": {
        "commands": ["cd libs/veritas/b2b-sdk-python && python -m build"],
        "parallel": false
      }
    },
    "lint": {
      "executor": "nx:run-commands",
      "options": {
        "commands": [
          "cd libs/veritas/b2b-sdk-python && ruff check src tests",
          "cd libs/veritas/b2b-sdk-python && mypy src"
        ],
        "parallel": false
      }
    },
    "format": {
      "executor": "nx:run-commands",
      "options": {
        "commands": ["cd libs/veritas/b2b-sdk-python && ruff format src tests"]
      }
    },
    "test": {
      "executor": "nx:run-commands",
      "outputs": ["{projectRoot}/coverage"],
      "options": {
        "commands": ["cd libs/veritas/b2b-sdk-python && pytest"]
      }
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "options": {
        "command": "true # python typecheck skipped"
      }
    },
    "publish": {
      "executor": "nx:run-commands",
      "dependsOn": ["build"],
      "options": {
        "commands": ["cd libs/veritas/b2b-sdk-python && twine upload dist/*"]
      }
    }
  }
}
