From 5270b3c7b6fac3a2b5dd91d6e1d18dc217c921d8 Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Wed, 12 Jul 2023 22:05:29 -0600 Subject: [PATCH] build: wrote new .tsconfigs for back/front-end setup --- backend/tsconfig.json | 14 ++++++++++++++ frontend/tsconfig.json | 15 +++++++++++++++ tsconfig.json | 16 ---------------- 3 files changed, 29 insertions(+), 16 deletions(-) create mode 100644 backend/tsconfig.json create mode 100644 frontend/tsconfig.json delete mode 100644 tsconfig.json diff --git a/backend/tsconfig.json b/backend/tsconfig.json new file mode 100644 index 0000000..691f581 --- /dev/null +++ b/backend/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "@tsconfig/node18/tsconfig.json", + "compilerOptions": { + "outDir": "../dist", + "lib": [ + "ES2022", + ], + "moduleResolution": "Node" + }, + "include": [ + "./**/*.ts", + "../**/common/*.ts" + ] +} \ No newline at end of file diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json new file mode 100644 index 0000000..6727cae --- /dev/null +++ b/frontend/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "@tsconfig/node18/tsconfig.json", + "compilerOptions": { + "outDir": "../dist-frontend", + "lib": [ + "ES2022", + "DOM" + ], + "target": "ES2015", + }, + "include": [ + "./**/*.mts", + "../**/common/*.ts" + ] +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index 3cbf50a..0000000 --- a/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "@tsconfig/node16/tsconfig.json", - "compilerOptions": { - "outDir": "./dist", - "target": "ES2022", - "lib": [ - "ES2022", - "DOM" - ], - "allowJs": false, - "downlevelIteration": true - }, - "include": [ - "src2/**/*.ts" - ] -} \ No newline at end of file