From 2e9e20799dd627a2cc592e295fc37ca0efb91415 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Wed, 16 Aug 2023 16:27:11 +0200 Subject: [PATCH 1/2] Add declarationMap for lib --- .gitignore | 1 + tsconfig.lib.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index dcaeb839..b6ec50e2 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ credentials*.json .nyc_output *.tsbuildinfo *.d.ts +*.d.ts.map *.d.mts diff --git a/tsconfig.lib.json b/tsconfig.lib.json index d09315d4..2fee1055 100644 --- a/tsconfig.lib.json +++ b/tsconfig.lib.json @@ -3,6 +3,7 @@ "compilerOptions": { "composite": true, "emitDeclarationOnly": true, + "declarationMap": true, "rootDir": "lib", "moduleResolution": "node16", "types": ["node"], From 47822604f7ea34e269df70872833f1bd5569ae35 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Wed, 16 Aug 2023 16:35:41 +0200 Subject: [PATCH 2/2] Add schemas to tsconfigs --- tsconfig.json | 1 + tsconfig.lib.json | 1 + tsconfig.test.json | 1 + 3 files changed, 3 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 99b0bcdd..ba5c6d31 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,5 @@ { + "$schema": "http://json.schemastore.org/tsconfig", "files": [], "references": [{ "path": "./tsconfig.lib.json" }, { "path": "./tsconfig.test.json" }] } diff --git a/tsconfig.lib.json b/tsconfig.lib.json index 2fee1055..c78f71dc 100644 --- a/tsconfig.lib.json +++ b/tsconfig.lib.json @@ -1,4 +1,5 @@ { + "$schema": "http://json.schemastore.org/tsconfig", "extends": ["@tsconfig/strictest/tsconfig.json", "@tsconfig/node16/tsconfig.json"], "compilerOptions": { "composite": true, diff --git a/tsconfig.test.json b/tsconfig.test.json index 2ea1311f..6eed0e85 100644 --- a/tsconfig.test.json +++ b/tsconfig.test.json @@ -1,4 +1,5 @@ { + "$schema": "http://json.schemastore.org/tsconfig", "extends": ["@tsconfig/strictest/tsconfig.json", "@tsconfig/node16/tsconfig.json"], "compilerOptions": { "noEmit": true,