From 1c6bbc2b3a564517cffb443e212fa48986cb5631 Mon Sep 17 00:00:00 2001 From: atomicpages Date: Tue, 29 Sep 2020 11:07:35 -0700 Subject: [PATCH] =?UTF-8?q?build(=F0=9F=91=B7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - tsc doesn't import .d.ts files so we need to move all typings to regular ol' .ts files. - removing tests from dist-src --- .../{PCRCheckboxRadioProps.d.ts => PCRCheckboxRadioProps.ts} | 0 src/typings/{PCRCommonProps.d.ts => PCRCommonProps.ts} | 0 src/typings/{PCRSwitchProps.d.ts => PCRSwitchProps.ts} | 0 tsconfig.json | 3 ++- 4 files changed, 2 insertions(+), 1 deletion(-) rename src/typings/{PCRCheckboxRadioProps.d.ts => PCRCheckboxRadioProps.ts} (100%) rename src/typings/{PCRCommonProps.d.ts => PCRCommonProps.ts} (100%) rename src/typings/{PCRSwitchProps.d.ts => PCRSwitchProps.ts} (100%) diff --git a/src/typings/PCRCheckboxRadioProps.d.ts b/src/typings/PCRCheckboxRadioProps.ts similarity index 100% rename from src/typings/PCRCheckboxRadioProps.d.ts rename to src/typings/PCRCheckboxRadioProps.ts diff --git a/src/typings/PCRCommonProps.d.ts b/src/typings/PCRCommonProps.ts similarity index 100% rename from src/typings/PCRCommonProps.d.ts rename to src/typings/PCRCommonProps.ts diff --git a/src/typings/PCRSwitchProps.d.ts b/src/typings/PCRSwitchProps.ts similarity index 100% rename from src/typings/PCRSwitchProps.d.ts rename to src/typings/PCRSwitchProps.ts diff --git a/tsconfig.json b/tsconfig.json index ad4f283..95d28d2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,5 +18,6 @@ "lib": ["dom", "es2015"], // "noErrorTruncation": true }, - "include": ["src/"] + "include": ["src/"], + "exclude": ["src/**/__tests__/**", "src/tests"] }