Skip to content

Commit

Permalink
chore(scripts): do not add exclude in client tsconfig (#3194)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Jan 14, 2022
1 parent ebd5122 commit 2569d47
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/generate-clients/copy-to-clients.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2569d47

Please sign in to comment.