{
  "name": "shadcn",
  "type": "ui",
  "priority": 5,
  "operations": [
    {
      "type": "run-command",
      "command": "{{packageManager=='pnpm' ? 'pnpm dlx shadcn@latest init -t next -d -y' : packageManager=='yarn' ? 'yarn dlx shadcn@latest init -t next -d -y' : packageManager=='bun' ? 'bunx shadcn@latest init -t next -d -y' : 'npx shadcn@latest init -t next -d -y'}}",
      "condition": { "framework": "nextjs" }
    },
    {
      "type": "run-command",
      "command": "{{packageManager=='pnpm' ? 'pnpm dlx shadcn@latest init -t vite -d -y' : packageManager=='yarn' ? 'yarn dlx shadcn@latest init -t vite -d -y' : packageManager=='bun' ? 'bunx shadcn@latest init -t vite -d -y' : 'npx shadcn@latest init -t vite -d -y'}}",
      "condition": { "framework": "react" }
    },
    {
      "type": "run-command",
      "command": "{{packageManager=='pnpm' ? 'pnpm dlx shadcn@latest add button -y' : packageManager=='yarn' ? 'yarn dlx shadcn@latest add button -y' : packageManager=='bun' ? 'bun dlx shadcn@latest add button -y' : 'npx shadcn@latest add button -y'}}"
    }
  ]
}
