{
  "slug": "azd-detects-pnpm-and-yarn-for-javascript-typescript-services-e6b12d5ac394",
  "title": "azd detects pnpm and yarn for JavaScript/TypeScript services",
  "tools": [
    "azd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-02-28T01:10:21.000Z",
  "announced_at": "2026-02-28T01:10:21.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "For JavaScript/TypeScript services using pnpm or yarn, run `azd package` or deploy with `azd deploy` to let azd detect the package manager. To override detection, set `services.<service>.config.packageManager` in `azure.yaml`.",
    "examples": [
      "azd package",
      "azd deploy",
      "services:\n  <service>:\n    language: js # or ts\n    config:\n      packageManager: pnpm # npm | pnpm | yarn"
    ],
    "gotchas": [
      "Version: 1.23.7",
      "services.<service>.config.packageManager: Package manager used for dependency installation; overrides auto-detection from lock files. Allowed values: `npm`, `pnpm`, `yarn`.",
      "Prerequisite: Applies to JavaScript/TypeScript services (`js` or `ts`).",
      "Applies to JavaScript/TypeScript services."
    ]
  },
  "why_it_matters": "Build or deploy a JavaScript/TypeScript service that uses pnpm or yarn.",
  "sources": [
    "https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.23.7",
    "https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/azd-commands",
    "https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/azd-schema"
  ],
  "rank": 0.92044,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-53c3c74bdd98ac82-5:gate",
    "evidence_hash": "156d9ff89fd6cc310d33d1627808988d6205a9cf4d0236c0d047006df1cf569b"
  },
  "review": {
    "draft_hash": "aa9fe0296c34e55095f4bc25906bb202858f8a1a1bb498f2f9446ca1f123772d",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.92 >= 0.9; 2 needed) and Jev gave 0.74 (>= 0.6 needed)."
  }
}
