{
  "$schema": "http://json-schema.org/schema",
  "$id": "UpgradeToThree",
  "title": "Upgrade workspace to DDK 3.x",
  "description": "One-shot migration from the DDK 2.x stack (Nx 17/18 + TS 5.3) to the DDK 3.x stack (Nx 21.6.10 + TS 5.9). Patches package.json (Nx + toolchain + @kosdev-code/* deps + overrides), nx.json, tsconfig.base.json, then runs all 2.x to 3.x codemods.",
  "type": "object",
  "properties": {
    "skipCmsStrip": {
      "type": "boolean",
      "description": "Skip removal of @kosdev-code/kos-cms-sdk and its imports. Leave true if CMS surface must be preserved while a 3.x CMS package is forthcoming.",
      "default": false
    },
    "skipInstall": {
      "type": "boolean",
      "description": "Skip the automatic npm install at the end. Run `npm install` manually after reviewing the diff.",
      "default": false
    }
  },
  "required": []
}
