{
  "$schema": "./node_modules/nx/schemas/nx-schema.json",
  "targetDefaults": {
    "build": {
      "outputs": ["{projectRoot}/dist"],
      "cache": true
    },
    "lint": {
      "cache": true
    },
    "lint:fix": {
      "cache": true
    },
    "format": {
      "cache": true
    },
    "@nx/esbuild:esbuild": {
      "cache": true,
      "dependsOn": ["^build"],
      "inputs": ["default", "^default"]
    }
  },
  "plugins": [
    {
      "plugin": "@nx/eslint/plugin",
      "options": {
        "targetName": "eslint:lint"
      }
    },
    {
      "plugin": "@nx/vite/plugin",
      "options": {
        "buildTargetName": "vite:build",
        "testTargetName": "test",
        "serveTargetName": "serve",
        "devTargetName": "vite:dev",
        "previewTargetName": "vite:preview",
        "serveStaticTargetName": "serve-static",
        "typecheckTargetName": "typecheck",
        "buildDepsTargetName": "build-deps",
        "watchDepsTargetName": "watch-deps"
      }
    },
    {
      "plugin": "@nx/vitest",
      "options": {
        "testTargetName": "test",
        "ciTargetName": "test-ci",
        "testMode": "watch"
      }
    },
    {
      "plugin": "@nx/jest/plugin",
      "options": {
        "targetName": "test"
      }
    },
    {
      "plugin": "@nx/expo/plugin",
      "options": {
        "startTargetName": "start",
        "buildTargetName": "build",
        "prebuildTargetName": "prebuild",
        "serveTargetName": "serve",
        "installTargetName": "install",
        "exportTargetName": "export",
        "submitTargetName": "submit",
        "runIosTargetName": "run-ios",
        "runAndroidTargetName": "run-android",
        "buildDepsTargetName": "build-deps",
        "watchDepsTargetName": "watch-deps"
      }
    }
  ],
  "release": {
    "projectsRelationship": "independent",
    "releaseTag": {
      "pattern": "{projectName}@{version}",
      "requireSemver": true
    },
    "version": {
      "conventionalCommits": true,
      "git": {
        "commitMessage": "chore(release): publish [skip ci]",
        "stageChanges": true,
        "commit": false,
        "tag": false
      }
    },
    "changelog": {
      "workspaceChangelog": false,
      "projectChangelogs": true,
      "git": {
        "commitMessage": "chore(release): publish [skip ci]",
        "stageChanges": true,
        "commit": false,
        "tag": false
      }
    },
    "groups": {
      "sdk": {
        "projects": ["sdk"],
        "version": {
          "conventionalCommits": true,
          "fallbackCurrentVersionResolver": "disk"
        },
        "changelog": {
          "automaticFromRef": true
        }
      },
      "adapters": {
        "projects": ["adapters-connector"],
        "version": {
          "conventionalCommits": true,
          "fallbackCurrentVersionResolver": "disk"
        }
      },
      "cli": {
        "projects": ["cli"],
        "version": {
          "conventionalCommits": true,
          "fallbackCurrentVersionResolver": "disk"
        }
      }
    }
  },
  "generators": {
    "@nx/react": {
      "application": {
        "babel": true,
        "style": "css",
        "linter": "none",
        "bundler": "vite"
      },
      "component": {
        "style": "css"
      },
      "library": {
        "style": "css",
        "linter": "none",
        "unitTestRunner": "vitest"
      }
    }
  }
}
