@ladislaogarcia/prisma-trpc-generator
Version:
Prisma 2+ generator to emit fully implemented tRPC routers
16 lines (13 loc) • 368 B
text/typescript
import { Project, ScriptTarget, ModuleKind, CompilerOptions } from 'ts-morph';
const compilerOptions: CompilerOptions = {
target: ScriptTarget.ES2019,
module: ModuleKind.CommonJS,
emitDecoratorMetadata: true,
experimentalDecorators: true,
esModuleInterop: true,
};
export const project = new Project({
compilerOptions: {
...compilerOptions,
},
});