From 56b4010b916534438dee8b94806f6a3d86cf5bc6 Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Fri, 25 Oct 2024 14:19:15 -0400 Subject: [PATCH] Experience varies directly with equipment ruined. --- .gitignore | 2 ++ src/index.ts | 1 + tsconfig.json | 15 +++++---------- 3 files changed, 8 insertions(+), 10 deletions(-) create mode 100644 src/index.ts diff --git a/.gitignore b/.gitignore index 9d718ff..1c1f2e0 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,5 @@ next-env.d.ts # db postgres-data + +/dist diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..a6f0294 --- /dev/null +++ b/src/index.ts @@ -0,0 +1 @@ +export { type AppRouter, type AppRouterOutput } from '@/trpc/routers/_app' diff --git a/tsconfig.json b/tsconfig.json index f5dedc2..82df0e6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,15 +14,10 @@ "incremental": true, "paths": { "@/*": ["./src/*"] - } + }, + "outDir": "./dist", + "declaration": true }, - "include": ["**/*.ts"], - "exclude": ["node_modules"], - "ts-node": { - "require": ["tsconfig-paths/register", "dotenv/config"], - "compilerOptions": { - "isolatedModules": false, - "module": "CommonJS" - } - } + "include": ["./src/index.ts", "./reset.d.ts"], + "exclude": ["node_modules"] }