{
  "name": "@decocms/blocks-cli",
  "version": "7.65.2",
  "type": "module",
  "description": "Deco codegen (generate-blocks, generate-schema, generate-invoke) and Fresh-to-TanStack migration tooling",
  "repository": {
    "type": "git",
    "url": "https://github.com/decocms/blocks.git",
    "directory": "packages/blocks-cli"
  },
  "main": "./scripts/generate.ts",
  "bin": {
    "deco-migrate": "./scripts/migrate.ts",
    "deco-post-cleanup": "./scripts/migrate-post-cleanup.ts",
    "deco-htmx-analyze": "./scripts/htmx-analyze.ts",
    "deco-cf-observability": "./scripts/migrate-to-cf-observability.ts",
    "deco-audit-observability": "./scripts/audit-observability-config.ts",
    "deco-migrate-blocks-to-kv": "./scripts/migrate-blocks-to-kv.ts",
    "deco-sync-blocks-to-kv": "./scripts/sync-blocks-to-kv.ts",
    "deco-sync-blocks-bot": "./scripts/sync-blocks-bot.ts",
    "deco-upgrade-6-to-7": "./scripts/upgrade-6-to-7.ts",
    "deco-reconcile": "./scripts/reconcile.ts"
  },
  "//exports": "Deliberately narrow. ./generate is the ONE public module entry (unified orchestrator); ./generate-blocks stays only because @decocms/tanstack's vite plugin tsImports it (readBlockDelta + programmatic generateBlocks) — each surviving entry must name its consumer here. The other scripts remain shipped FILES (the orchestrator spawns them; sites' existing `tsx node_modules/@decocms/blocks-cli/scripts/generate-*.ts` invocations keep working) but are internal implementation details of ./generate, not module subpaths. CLIs are exposed via bin, not exports.",
  "exports": {
    "./generate": "./scripts/generate.ts",
    "./generate-blocks": "./scripts/generate-blocks.ts"
  },
  "scripts": {
    "build": "tsc",
    "test": "vitest run --root ../.. packages/blocks-cli/",
    "typecheck": "tsc --noEmit",
    "lint:unused": "knip"
  },
  "dependencies": {
    "@decocms/blocks": "7.65.2",
    "ts-morph": "^27.0.0",
    "tsx": "^4.22.5"
  },
  "devDependencies": {
    "knip": "^5.86.0",
    "typescript": "^5.9.0"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org",
    "access": "public"
  }
}
