From 989cbb35e412fe87a845e9a505dea7b9498d1538 Mon Sep 17 00:00:00 2001 From: Vladislav Shkodin Date: Mon, 12 Oct 2020 18:46:21 +0300 Subject: [PATCH] Remove 'exclude' rule from tsconfig in all typescript templates (#1291) --- .../app-template-blank-typescript/tsconfig.json | 5 ++--- .../app-template-lit-element-typescript/tsconfig.json | 1 - .../app-template-react-typescript/tsconfig.json | 1 - .../app-template-svelte-typescript/tsconfig.json | 1 - .../app-template-vue-typescript/tsconfig.json | 1 - 5 files changed, 2 insertions(+), 7 deletions(-) diff --git a/create-snowpack-app/app-template-blank-typescript/tsconfig.json b/create-snowpack-app/app-template-blank-typescript/tsconfig.json index dea71ed750..df75ee645c 100644 --- a/create-snowpack-app/app-template-blank-typescript/tsconfig.json +++ b/create-snowpack-app/app-template-blank-typescript/tsconfig.json @@ -1,4 +1,5 @@ { + "include": ["src", "types"], "compilerOptions": { "module": "esnext", "target": "esnext", @@ -23,7 +24,5 @@ // See: https://github.com/microsoft/TypeScript/issues/25430 "baseUrl": "./", "paths": { "*": ["web_modules/.types/*"] } - }, - "include": ["src", "types"], - "exclude": ["node_modules"] + } } diff --git a/create-snowpack-app/app-template-lit-element-typescript/tsconfig.json b/create-snowpack-app/app-template-lit-element-typescript/tsconfig.json index 94f05be4ec..9c43d2bc5c 100644 --- a/create-snowpack-app/app-template-lit-element-typescript/tsconfig.json +++ b/create-snowpack-app/app-template-lit-element-typescript/tsconfig.json @@ -1,6 +1,5 @@ { "include": ["src", "types"], - "exclude": ["node_modules"], "compilerOptions": { "module": "esnext", "target": "esnext", diff --git a/create-snowpack-app/app-template-react-typescript/tsconfig.json b/create-snowpack-app/app-template-react-typescript/tsconfig.json index 1abf5afec5..0e93608031 100644 --- a/create-snowpack-app/app-template-react-typescript/tsconfig.json +++ b/create-snowpack-app/app-template-react-typescript/tsconfig.json @@ -1,6 +1,5 @@ { "include": ["src", "types"], - "exclude": ["node_modules"], "compilerOptions": { "module": "esnext", "target": "esnext", diff --git a/create-snowpack-app/app-template-svelte-typescript/tsconfig.json b/create-snowpack-app/app-template-svelte-typescript/tsconfig.json index 6b3d29b618..97993ce0fb 100644 --- a/create-snowpack-app/app-template-svelte-typescript/tsconfig.json +++ b/create-snowpack-app/app-template-svelte-typescript/tsconfig.json @@ -1,6 +1,5 @@ { "include": ["src", "types"], - "exclude": ["node_modules"], "compilerOptions": { "module": "esnext", "target": "esnext", diff --git a/create-snowpack-app/app-template-vue-typescript/tsconfig.json b/create-snowpack-app/app-template-vue-typescript/tsconfig.json index 1abf5afec5..0e93608031 100644 --- a/create-snowpack-app/app-template-vue-typescript/tsconfig.json +++ b/create-snowpack-app/app-template-vue-typescript/tsconfig.json @@ -1,6 +1,5 @@ { "include": ["src", "types"], - "exclude": ["node_modules"], "compilerOptions": { "module": "esnext", "target": "esnext",