aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-15 16:22:22 +0800
committerFabio Berger <me@fabioberger.com>2018-05-15 16:22:22 +0800
commitfe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1 (patch)
tree5e58c147dc8cdf7cf2af2edd6a13b8dde904b2fe /packages/monorepo-scripts/src
parenta7031602261379a12fe0889230f1207e5ab322c4 (diff)
parentca08dd9705c2aefb092b10926af359ed8fabac79 (diff)
downloaddexon-sol-tools-fe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1.tar
dexon-sol-tools-fe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1.tar.gz
dexon-sol-tools-fe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1.tar.bz2
dexon-sol-tools-fe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1.tar.lz
dexon-sol-tools-fe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1.tar.xz
dexon-sol-tools-fe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1.tar.zst
dexon-sol-tools-fe00c06d4b7ef0616f0d8980ec79f7db73fb7ce1.zip
Merge development
Diffstat (limited to 'packages/monorepo-scripts/src')
-rw-r--r--packages/monorepo-scripts/src/postpublish_utils.ts7
-rw-r--r--packages/monorepo-scripts/src/utils.ts2
2 files changed, 7 insertions, 2 deletions
diff --git a/packages/monorepo-scripts/src/postpublish_utils.ts b/packages/monorepo-scripts/src/postpublish_utils.ts
index 5fbff938e..22614f01b 100644
--- a/packages/monorepo-scripts/src/postpublish_utils.ts
+++ b/packages/monorepo-scripts/src/postpublish_utils.ts
@@ -164,7 +164,12 @@ export const postpublishUtils = {
});
return fileIncludesAdjusted;
},
- async generateAndUploadDocsAsync(cwd: string, fileIncludes: string[], version: string, S3BucketPath: string): Promise<void> {
+ async generateAndUploadDocsAsync(
+ cwd: string,
+ fileIncludes: string[],
+ version: string,
+ S3BucketPath: string,
+ ): Promise<void> {
const fileIncludesAdjusted = this.adjustFileIncludePaths(fileIncludes, cwd);
const projectFiles = fileIncludesAdjusted.join(' ');
const jsonFilePath = `${cwd}/${generatedDocsDirectoryName}/index.json`;
diff --git a/packages/monorepo-scripts/src/utils.ts b/packages/monorepo-scripts/src/utils.ts
index 480788ad8..c2d92c86a 100644
--- a/packages/monorepo-scripts/src/utils.ts
+++ b/packages/monorepo-scripts/src/utils.ts
@@ -43,7 +43,7 @@ export const utils = {
}
return updatedPackages;
},
- getChangelogJSONIfExists(changelogPath: string): string|undefined {
+ getChangelogJSONIfExists(changelogPath: string): string | undefined {
try {
const changelogJSON = fs.readFileSync(changelogPath, 'utf-8');
return changelogJSON;