Skip to content

Commit ca9e403

Browse files
committed
chore(scripts): override typedoc.json to extend root typedoc.client.json
1 parent 024b888 commit ca9e403

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/generate-clients/copy-to-clients.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ const copyToClients = async (sourceDir, destinationDir) => {
129129
},
130130
};
131131
writeFileSync(destSubPath, JSON.stringify(mergedManifest, null, 2).concat(`\n`));
132+
} else if (packageSub === "typedoc.json") {
133+
const typedocJson = {
134+
extends: "../../typedoc.client.json",
135+
};
136+
writeFileSync(destSubPath, JSON.stringify(typedocJson, null, 2).concat(`\n`));
132137
} else if (overWritableSubs.includes(packageSub) || !existsSync(destSubPath)) {
133138
if (lstatSync(packageSubPath).isDirectory()) removeSync(destSubPath);
134139
copySync(packageSubPath, destSubPath, {

0 commit comments

Comments
 (0)