{
  "id": "npm-check-updates",
  "name": "npm-check-updates",
  "homepage": "https://github.com/raineorshine/npm-check-updates",
  "description": "npm-check-updates upgrades your package.json dependencies to the latest versions, ignoring specified versions.",
  "executables": [
    "ncu",
    "npm-check-updates"
  ],
  "dotfiles": {
    "paths": [
      "~/.ncurc",
      "~/.ncurc.json",
      "~/.ncurc.yaml",
      "~/.ncurc.yml",
      "~/.ncurc.js",
      "~/.ncurc.cjs",
      "~/.ncurc.mjs"
    ],
    "exclude": [
      "~/.ncu-cache.json"
    ],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Check dependency updates",
    "description": "Check package.json for newer dependency versions, optionally rewriting the file with -u. Doctor mode, custom filter functions and config-file options are left out.",
    "quality": "ai-draft",
    "base": "fig:ncu",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": true
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/ncu.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "filter",
        "label": "Package filter",
        "type": "string",
        "position": 0,
        "multiple": true,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "upgrade",
        "label": "Write upgrades to package.json",
        "type": "boolean",
        "option": [
          "--upgrade",
          "-u"
        ],
        "effect": "overwrite",
        "sources": [
          "fig"
        ]
      },
      {
        "id": "target",
        "label": "Upgrade target",
        "type": "string",
        "option": [
          "--target",
          "-t"
        ],
        "suggestions": [
          {
            "value": "latest",
            "label": "latest"
          },
          {
            "value": "newest",
            "label": "newest"
          },
          {
            "value": "greatest",
            "label": "greatest"
          },
          {
            "value": "minor",
            "label": "minor"
          },
          {
            "value": "patch",
            "label": "patch"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "dep",
        "label": "Dependency sections",
        "type": "string",
        "option": [
          "--dep"
        ],
        "suggestions": [
          {
            "value": "prod",
            "label": "prod"
          },
          {
            "value": "dev",
            "label": "dev"
          },
          {
            "value": "optional",
            "label": "optional"
          },
          {
            "value": "peer",
            "label": "peer"
          },
          {
            "value": "packageManager",
            "label": "packageManager"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "reject",
        "label": "Exclude packages",
        "type": "string",
        "option": [
          "--reject",
          "-x"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "deep",
        "label": "Recurse into subdirectories",
        "type": "boolean",
        "option": [
          "--deep"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "global",
        "label": "Global packages",
        "type": "boolean",
        "option": [
          "--global",
          "-g"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "interactive",
        "label": "Interactive",
        "type": "boolean",
        "option": [
          "--interactive",
          "-i"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "workspaces",
        "label": "All workspaces",
        "type": "boolean",
        "option": [
          "--workspaces",
          "-ws"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "minimal",
        "label": "Minimal (skip satisfied)",
        "type": "boolean",
        "option": [
          "--minimal",
          "-m"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "peer",
        "label": "Respect peer dependencies",
        "type": "boolean",
        "option": [
          "--peer"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "json_upgraded",
        "label": "JSON of upgrades",
        "type": "boolean",
        "option": [
          "--jsonUpgraded"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "format",
        "label": "Output format",
        "type": "string",
        "option": [
          "--format"
        ],
        "suggestions": [
          {
            "value": "group",
            "label": "group"
          },
          {
            "value": "ownerChanged",
            "label": "ownerChanged"
          },
          {
            "value": "repo",
            "label": "repo"
          },
          {
            "value": "time",
            "label": "time"
          },
          {
            "value": "lines",
            "label": "lines"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "package_manager",
        "label": "Package manager",
        "type": "string",
        "option": [
          "--packageManager",
          "-p"
        ],
        "suggestions": [
          {
            "value": "npm",
            "label": "npm"
          },
          {
            "value": "yarn",
            "label": "yarn"
          },
          {
            "value": "pnpm",
            "label": "pnpm"
          },
          {
            "value": "deno",
            "label": "deno"
          },
          {
            "value": "staticRegistry",
            "label": "staticRegistry"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "registry",
        "label": "Registry",
        "type": "string",
        "option": [
          "--registry",
          "-r"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "cwd",
        "label": "Working directory",
        "type": "path",
        "option": [
          "--cwd"
        ],
        "path": {
          "kind": "directory",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "check",
        "label": "Check updates",
        "fields": [
          "filter",
          "target",
          "dep"
        ],
        "required": []
      },
      {
        "id": "upgrade",
        "label": "Upgrade package.json",
        "fields": [
          "filter",
          "target",
          "reject"
        ],
        "required": [],
        "set": {
          "upgrade": [
            true
          ]
        }
      },
      {
        "id": "interactive",
        "label": "Pick upgrades",
        "fields": [
          "target"
        ],
        "required": [],
        "set": {
          "interactive": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "filter",
          "upgrade",
          "target",
          "interactive"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "dep",
          "reject",
          "deep",
          "global",
          "workspaces",
          "minimal",
          "peer",
          "json_upgraded",
          "format",
          "package_manager",
          "registry",
          "cwd"
        ]
      }
    ]
  }
}
