UNPKG

@stryke/prisma-trpc-generator

Version:

A fork of the prisma-trpc-generator code to work in ESM with Prisma v6.

15 lines (13 loc) 443 B
const require_runtime = require('./_virtual/_rolldown/runtime.cjs'); let ts_morph = require("ts-morph"); //#region src/project.ts const compilerOptions = { target: ts_morph.ScriptTarget.ESNext, module: ts_morph.ModuleKind.ESNext, emitDecoratorMetadata: true, experimentalDecorators: true, esModuleInterop: true }; const project = new ts_morph.Project({ compilerOptions: { ...compilerOptions } }); //#endregion exports.project = project;