{
  "schemaVersion": "ebb.rule.v1",
  "id": "npm.package.nuxt.types.deprecated",
  "ecosystem": "npm",
  "purl": "pkg:npm/%40nuxt/types",
  "affectedVersions": "vers:npm/*",
  "event": "deprecated",
  "severity": "medium",
  "title": "@nuxt/types is deprecated",
  "summary": "npm marks @nuxt/types as deprecated: \"Nuxt 2 has reached EOL and is no longer actively maintained. See https://nuxt.com/blog/nuxt2-eol for more details.\"",
  "replacement": "Nuxt 3",
  "sources": [
    {
      "title": "@nuxt/types on npm",
      "url": "https://www.npmjs.com/package/@nuxt/types",
      "accessedAt": "2026-10-19"
    },
    {
      "title": "@nuxt/types registry metadata",
      "url": "https://registry.npmjs.org/@nuxt%2ftypes/latest",
      "accessedAt": "2026-10-19"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-19",
    "reviewedAt": "2026-10-19",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Nuxt 2 is end of life; preserve routing, data fetching, build modules, and the TypeScript coverage the project relies on while moving to Nuxt 3."
    ],
    "steps": [
      {
        "id": "plan-nuxt3-upgrade",
        "title": "Plan the Nuxt 3 upgrade",
        "instructions": "Follow the Nuxt 3 migration guidance for pages, plugins, modules, and the build configuration before removing the Nuxt 2 type packages.",
        "targets": "all"
      },
      {
        "id": "replace-nuxt-types",
        "title": "Remove the Nuxt 2 type package",
        "instructions": "Remove @nuxt/types once the project runs on Nuxt 3, which ships its own types.",
        "targets": "declaration"
      }
    ],
    "verification": [
      {
        "command": "npm run build --if-present",
        "purpose": "Build the application on Nuxt 3 with its bundled types."
      },
      {
        "command": "npm run test --if-present",
        "purpose": "Run the application and repository tests when defined."
      }
    ]
  }
}
