// src/detectors/next.ts
import fs from "fs-extra";
import path from "path";
async function detectNext(repoPath) {
  const pages = path.join(repoPath, "pages");
  const app = path.join(repoPath, "app");
  if (await fs.pathExists(pages) || await fs.pathExists(app)) {
    return { name: "Next.js App", logo: "next.svg", type: "frontend" };
  }
  return null;
}

export {
  detectNext
};
