import {
  require_lib
} from "./chunk-QQAUZGVG.mjs";
import {
  __toESM
} from "./chunk-4OMBB3R6.mjs";

// src/detectors/prisma.ts
var import_fs_extra = __toESM(require_lib());
import path from "path";
async function detectPrisma(repoPath) {
  const schema = path.join(repoPath, "prisma/schema.prisma");
  if (await import_fs_extra.default.pathExists(schema)) {
    return { name: "Prisma ORM", logo: "orm/prisma.svg", type: "database" };
  }
  return null;
}

export {
  detectPrisma
};
