From 2569d47de18ce342a0a558704891ff00bc59115d Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Fri, 14 Jan 2022 14:58:59 -0800 Subject: [PATCH] chore(scripts): do not add exclude in client tsconfig (#3194) --- scripts/generate-clients/copy-to-clients.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/generate-clients/copy-to-clients.js b/scripts/generate-clients/copy-to-clients.js index 778647e8d251..aa34a0e832c0 100644 --- a/scripts/generate-clients/copy-to-clients.js +++ b/scripts/generate-clients/copy-to-clients.js @@ -140,11 +140,6 @@ const copyToClients = async (sourceDir, destinationDir) => { }; writeFileSync(destSubPath, JSON.stringify(typedocJson, null, 2).concat(`\n`)); } else if (overWritableSubs.includes(packageSub) || !existsSync(destSubPath)) { - if (packageSub === "tsconfig.json") { - const tsconfigPath = join(artifactPath, "tsconfig.json"); - const tsconfig = JSON.parse(readFileSync(tsconfigPath).toString()); - writeFileSync(destSubPath, JSON.stringify({ ...tsconfig, exclude: ["test/"] }, null, 2).concat(`\n`)); - } if (lstatSync(packageSubPath).isDirectory()) removeSync(destSubPath); copySync(packageSubPath, destSubPath, { overwrite: true,