Skip to content

Commit 2569d47

Browse files
authored
chore(scripts): do not add exclude in client tsconfig (#3194)
1 parent ebd5122 commit 2569d47

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Diff for: scripts/generate-clients/copy-to-clients.js

-5
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,6 @@ const copyToClients = async (sourceDir, destinationDir) => {
140140
};
141141
writeFileSync(destSubPath, JSON.stringify(typedocJson, null, 2).concat(`\n`));
142142
} else if (overWritableSubs.includes(packageSub) || !existsSync(destSubPath)) {
143-
if (packageSub === "tsconfig.json") {
144-
const tsconfigPath = join(artifactPath, "tsconfig.json");
145-
const tsconfig = JSON.parse(readFileSync(tsconfigPath).toString());
146-
writeFileSync(destSubPath, JSON.stringify({ ...tsconfig, exclude: ["test/"] }, null, 2).concat(`\n`));
147-
}
148143
if (lstatSync(packageSubPath).isDirectory()) removeSync(destSubPath);
149144
copySync(packageSubPath, destSubPath, {
150145
overwrite: true,

0 commit comments

Comments
 (0)