diff options
-rw-r--r-- | packages/monorepo-scripts/src/postpublish_utils.ts | 42 | ||||
-rw-r--r-- | packages/monorepo-scripts/src/publish.ts | 4 |
2 files changed, 23 insertions, 23 deletions
diff --git a/packages/monorepo-scripts/src/postpublish_utils.ts b/packages/monorepo-scripts/src/postpublish_utils.ts index 3ecb7b7c5..8c9d95e44 100644 --- a/packages/monorepo-scripts/src/postpublish_utils.ts +++ b/packages/monorepo-scripts/src/postpublish_utils.ts @@ -51,27 +51,27 @@ export const postpublishUtils = { return configs; }, async runAsync(packageJSON: any, tsConfigJSON: any, cwd: string): Promise<void> { - const configs = postpublishUtils.generateConfig(packageJSON, tsConfigJSON, cwd); - await postpublishUtils.publishReleaseNotesAsync( - configs.cwd, - configs.packageName, - configs.version, - configs.assets, - ); - if ( - !_.isUndefined(configs.docPublishConfigs.s3BucketPath) || - !_.isUndefined(configs.docPublishConfigs.s3StagingBucketPath) - ) { - utils.log('POSTPUBLISH: Release successful, generating docs...'); - await postpublishUtils.generateAndUploadDocsAsync( - configs.cwd, - configs.docPublishConfigs.fileIncludes, - configs.version, - configs.docPublishConfigs.s3BucketPath, - ); - } else { - utils.log(`POSTPUBLISH: No S3Bucket config found for ${packageJSON.name}. Skipping doc JSON generation.`); - } + // const configs = postpublishUtils.generateConfig(packageJSON, tsConfigJSON, cwd); + // await postpublishUtils.publishReleaseNotesAsync( + // configs.cwd, + // configs.packageName, + // configs.version, + // configs.assets, + // ); + // if ( + // !_.isUndefined(configs.docPublishConfigs.s3BucketPath) || + // !_.isUndefined(configs.docPublishConfigs.s3StagingBucketPath) + // ) { + // utils.log('POSTPUBLISH: Release successful, generating docs...'); + // await postpublishUtils.generateAndUploadDocsAsync( + // configs.cwd, + // configs.docPublishConfigs.fileIncludes, + // configs.version, + // configs.docPublishConfigs.s3BucketPath, + // ); + // } else { + // utils.log(`POSTPUBLISH: No S3Bucket config found for ${packageJSON.name}. Skipping doc JSON generation.`); + // } }, async publishDocsToStagingAsync(packageJSON: any, tsConfigJSON: any, cwd: string): Promise<void> { const configs = postpublishUtils.generateConfig(packageJSON, tsConfigJSON, cwd); diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts index e22d9800c..77c768f4e 100644 --- a/packages/monorepo-scripts/src/publish.ts +++ b/packages/monorepo-scripts/src/publish.ts @@ -37,7 +37,7 @@ const packageNameToWebsitePath: { [name: string]: string } = { const shouldIncludePrivate = false; const updatedPublicPackages = await utils.getUpdatedPackagesAsync(shouldIncludePrivate); - await confirmDocPagesRenderAsync(updatedPublicPackages); + // await confirmDocPagesRenderAsync(updatedPublicPackages); // Update CHANGELOGs const updatedPublicPackageNames = _.map(updatedPublicPackages, pkg => pkg.packageJson.name); @@ -46,7 +46,7 @@ const packageNameToWebsitePath: { [name: string]: string } = { // Push changelog changes to Github if (!IS_DRY_RUN) { - await pushChangelogsToGithubAsync(); + // await pushChangelogsToGithubAsync(); } // Call LernaPublish |