From 66ea78af868c7262f9a49085498aaad38d1a9dc5 Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Sun, 22 Dec 2024 22:30:11 +0900 Subject: [PATCH] chore: reorganize tsconfig --- scripts/tsconfig.json | 8 -------- tsconfig.config.json | 8 -------- tsconfig.json | 6 +----- tsconfig.node.json | 9 +++++++++ 4 files changed, 10 insertions(+), 21 deletions(-) delete mode 100644 scripts/tsconfig.json delete mode 100644 tsconfig.config.json create mode 100644 tsconfig.node.json diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json deleted file mode 100644 index 50ed431f..00000000 --- a/scripts/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../tsconfig.base.json", - "compilerOptions": { - "module": "NodeNext", - "allowJs": true, - "checkJs": true - } -} diff --git a/tsconfig.config.json b/tsconfig.config.json deleted file mode 100644 index 58489257..00000000 --- a/tsconfig.config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.base.json", - "compilerOptions": { - "module": "NodeNext", - "allowJs": true - }, - "include": ["*.config.js", "*.config.ts"] -} diff --git a/tsconfig.json b/tsconfig.json index 37eaa19b..a3f7f31b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,4 @@ { "files": [], - "references": [ - { "path": "./scripts/" }, - { "path": "./src/" }, - { "path": "./tsconfig.config.json" } - ] + "references": [{ "path": "./src/" }, { "path": "./tsconfig.node.json" }] } diff --git a/tsconfig.node.json b/tsconfig.node.json new file mode 100644 index 00000000..2efe3c56 --- /dev/null +++ b/tsconfig.node.json @@ -0,0 +1,9 @@ +{ + "extends": "./tsconfig.base.json", + "compilerOptions": { + "module": "NodeNext", + "allowJs": true, + "checkJs": true + }, + "include": ["scripts/**/*", "*.config.js", "*.config.ts"] +}