From ef6c49e64f97eb155b9beec4f5caca4cb6f3d4ce Mon Sep 17 00:00:00 2001 From: "Tanner B. Hess Webber" Date: Sat, 13 Jan 2024 00:05:54 -0500 Subject: [PATCH] chore(ts): shifts tsconfig to have a separate config for top root-dir files --- tsconfig.json | 3 +-- tsconfig.root.json | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 tsconfig.root.json diff --git a/tsconfig.json b/tsconfig.json index 9b200d6..1468b6b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,6 @@ "module": "ESNext", "lib": ["ES2020"], "skipLibCheck": true, - "allowJs": true, /* Bundler mode */ "moduleResolution": "bundler", @@ -28,5 +27,5 @@ /* Types */ "types": ["node", "vitest/globals"], }, - "include": ["src", "./**/*.ts", "./*.config.*"] + "include": ["src"] } diff --git a/tsconfig.root.json b/tsconfig.root.json new file mode 100644 index 0000000..6a50fe4 --- /dev/null +++ b/tsconfig.root.json @@ -0,0 +1,8 @@ +{ + "extends":"./tsconfig.json", + "include": ["./**/*.ts", "./**/*.config.*"], + "exclude": ["src", "dist", "node_modules"], + "compilerOptions": { + "allowJs": true + } +}