From 4540b1ba280272bae565de705fdcc14493affb9c Mon Sep 17 00:00:00 2001 From: Nikolas Savvidis Date: Wed, 6 Sep 2023 14:03:09 +0200 Subject: [PATCH] aliases and various changes --- tsconfig.json | 48 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 16 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 6770e3e7..f2e18a4e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,47 +8,51 @@ "docs" ], "include": [ - "lib/**/*.ts" + "lib/**/*.ts", + "types/*.d.ts", + "types/internal/cli.d.ts", + "types/internal/internal.d.ts" ], "typeAcquisition": { "enable": true, "include": [ "node", - "./types/modules/" ] }, "compilerOptions": { - "types": [ - "node" - ], "incremental": true, "target": "ESNext", "removeComments": true, "lib": [ + "ESNext", "es2020", "DOM" ], "module": "CommonJS", - "alwaysStrict": true, - "allowUmdGlobalAccess": true, - "experimentalDecorators": true, + "declaration": false, + "preserveSymlinks": true, "allowSyntheticDefaultImports": true, - "importsNotUsedAsValues": "remove", + "keyofStringsOnly": true, "esModuleInterop": true, + "ignoreDeprecations": "5.0", "resolveJsonModule": true, - "preserveSymlinks": true, - "skipDefaultLibCheck": false, "moduleResolution": "node", - "noEmitOnError": false, - "noUnusedLocals": false, - "noUnusedParameters": true, - "pretty": true, + "noImplicitThis": false, + "skipDefaultLibCheck": true, + "noStrictGenericChecks": true, + "noEmit": true, + "suppressExcessPropertyErrors": true, + "noEmitOnError": true, + "noUnusedLocals": true, "rootDir": "lib", "baseUrl": ".", "paths": { "types": [ "./types/index.d.ts" ], + "types/internal": [ + "./types/internal.d.ts" + ], "~state": [ "./lib/model/$.ts" ], @@ -89,8 +93,20 @@ "./lib/log/*.ts", "!./src/log/index.ts" ], + "~native": [ + "./lib/utils/native.ts" + ], + "~timer": [ + "./lib/utils/timer.ts" + ], + "~chars": [ + "./lib/utils/chars.ts" + ], + "~utils": [ + "./lib/utils/utils.ts" + ], "~utils/*": [ - "./lib/utils/*" + "./lib/utils/*", ] } }