import {
  require_lib
} from "./chunk-RIIQA6S6.mjs";
import {
  init_esm_shims
} from "./chunk-RDFZ4GVM.mjs";
import {
  __toESM
} from "./chunk-7KF2HEU2.mjs";

// src/detectors/prisma.ts
init_esm_shims();
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
};
