From 8dcf5f9d34623f9494058e86ff090ad80fde42ea Mon Sep 17 00:00:00 2001 From: VsevolodX <79542055+VsevolodX@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:52:08 -0800 Subject: [PATCH] try: explicit tsconfig --- tsconfig.json | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 698e23e..f33eb1a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,56 @@ { - "extends": "@mat3ra/tsconfig/tsconfig.json" + "compilerOptions": { + + /* Basic Options */ + "target": "es2018", + "module": "commonjs", + "allowJs": true, + "jsx": "react", + // "incremental": true, + // "noEmit": true, + "noEmitOnError": false, + "outDir": "../../../dist", + "lib": [ + "ES2019", + "dom" + ], + + /* Strict Type-Checking Options */ + "strict": true, + // "noImplicitAny": false, + "strictNullChecks": true, + "experimentalDecorators": true, + + /* Additional Checks */ + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitReturns": false, + "noFallthroughCasesInSwitch": false, + + /* Module Resolution Options */ + "baseUrl": "../../../", // Base directory for the parent project + "rootDir": "../../../src/js", // Root directory containing the sources + "moduleResolution": "node", + "resolveJsonModule": true, + "esModuleInterop": true, + "declaration": true, + "isolatedModules": true, + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, + "types": [ + "mocha", + "node" + ] + }, + "include": [ + "../../../src/js" + ], + "exclude": [ + "../../../node_modules", + "../../../dist" + ], + "ts-node": { + "files": true, + "compilerOptions": {} + } }