From 6b067215f07fc0256c5ca77c8f8f05c4880d926f Mon Sep 17 00:00:00 2001 From: eythaann Date: Fri, 6 Oct 2023 16:18:36 -0500 Subject: [PATCH] enh: Add a way to perform library --- .gitignore | 3 ++- .npmignore | 1 + lib/modules/comparison/infrastructure.d.ts | 1 - package.json | 2 +- tsconfig.json | 4 ++++ 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index df42e37..590c4fc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .vscode /node_modules -tsconfig.tsbuildinfo \ No newline at end of file +tsconfig.tsbuildinfo +outDir \ No newline at end of file diff --git a/.npmignore b/.npmignore index c1241fc..a327052 100644 --- a/.npmignore +++ b/.npmignore @@ -18,6 +18,7 @@ commitlint.config.ts # ts files tsconfig.tsbuildinfo tsconfig.json +outDir # tests *spec-types.ts diff --git a/lib/modules/comparison/infrastructure.d.ts b/lib/modules/comparison/infrastructure.d.ts index 051e8f4..aa19181 100644 --- a/lib/modules/comparison/infrastructure.d.ts +++ b/lib/modules/comparison/infrastructure.d.ts @@ -1,4 +1,3 @@ -import { _RT } from '../..'; import { Prettify } from '../objects/infrastructure'; import { AND, If, IsAny, IsStrictObject, IsSubTypeBinary, IsSuperTypeBinary, OR, toBoolean } from './app'; diff --git a/package.json b/package.json index fad6f14..8208c88 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "main": "./lib/index.js", "scripts": { "build": "tsc", - "typeChecking": "tsc --incremental --noEmit", + "debugTypes": "tsc --generateTrace ./outDir", "lint": "eslint \"./lib/**/*.{ts,tsx}\" --max-warnings 0", "lint:fix": "eslint \"./lib/**/*.{ts,tsx}\" --max-warnings 0 --fix", "prepare": "husky install", diff --git a/tsconfig.json b/tsconfig.json index 4723ca3..626b893 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,8 +8,12 @@ "strictFunctionTypes": true, "noEmit": true, "noErrorTruncation": true, + "incremental": true, }, "include": [ "./lib", + ], + "exclude": [ + "node_modules" ] } \ No newline at end of file