aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-17 05:57:45 +0800
committerFabio Berger <me@fabioberger.com>2018-08-17 05:57:45 +0800
commit8e3df2b5aeac9d6776640be1248863055c75cf4a (patch)
tree97fd70a5f9b821334f0590b63557b6bac39924a5 /packages/monorepo-scripts/src/utils
parentbf9ee82d9f4a2fec392f0ee58342fc6b3be94dff (diff)
downloaddexon-sol-tools-8e3df2b5aeac9d6776640be1248863055c75cf4a.tar.gz
dexon-sol-tools-8e3df2b5aeac9d6776640be1248863055c75cf4a.tar.zst
dexon-sol-tools-8e3df2b5aeac9d6776640be1248863055c75cf4a.zip
Render external dep exports
Diffstat (limited to 'packages/monorepo-scripts/src/utils')
-rw-r--r--packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts b/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts
index e866d5bbc..b4911c84b 100644
--- a/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts
+++ b/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts
@@ -221,7 +221,7 @@ export async function generateAndUploadDocsAsync(packageName: string, isStaging:
);
}
- const externalExportsToLink: { [externalExport: string]: string } = {};
+ const externalExportToLink: { [externalExport: string]: string } = {};
const externalExportsWithoutLinks: string[] = [];
_.each(externalExports, externalExport => {
const linkIfExists = EXTERNAL_EXPORT_TO_LINK[externalExport];
@@ -229,7 +229,7 @@ export async function generateAndUploadDocsAsync(packageName: string, isStaging:
externalExportsWithoutLinks.push(externalExport);
return;
}
- externalExportsToLink[externalExport] = linkIfExists;
+ externalExportToLink[externalExport] = linkIfExists;
});
if (!_.isEmpty(externalExportsWithoutLinks)) {
throw new Error(
@@ -246,7 +246,7 @@ export async function generateAndUploadDocsAsync(packageName: string, isStaging:
exportPathToTypedocNames,
exportPathOrder,
externalTypeToLink: EXTERNAL_TYPE_TO_LINK,
- externalExportsToLink,
+ externalExportToLink,
},
typedocJson: finalTypeDocOutput,
};