diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-25 02:14:34 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-25 02:14:34 +0800 |
commit | 9ffddb47b8c9187401c1df6e5d5953caad3a9274 (patch) | |
tree | 44344c48c860ce24f424f6d504e24f8f1a5560f6 /packages/monorepo-scripts | |
parent | 7bcaac4e1080ae6c5d1b482992c7878b4be3174f (diff) | |
parent | b38ef579fb75c777fac2eef3d4bcda2c97014f0b (diff) | |
download | dexon-sol-tools-9ffddb47b8c9187401c1df6e5d5953caad3a9274.tar dexon-sol-tools-9ffddb47b8c9187401c1df6e5d5953caad3a9274.tar.gz dexon-sol-tools-9ffddb47b8c9187401c1df6e5d5953caad3a9274.tar.bz2 dexon-sol-tools-9ffddb47b8c9187401c1df6e5d5953caad3a9274.tar.lz dexon-sol-tools-9ffddb47b8c9187401c1df6e5d5953caad3a9274.tar.xz dexon-sol-tools-9ffddb47b8c9187401c1df6e5d5953caad3a9274.tar.zst dexon-sol-tools-9ffddb47b8c9187401c1df6e5d5953caad3a9274.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into sra-api/rename/sra-spec
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r-- | packages/monorepo-scripts/src/publish.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts index d9e09bdeb..7e2e64536 100644 --- a/packages/monorepo-scripts/src/publish.ts +++ b/packages/monorepo-scripts/src/publish.ts @@ -18,7 +18,6 @@ import { DocGenerateAndUploadUtils } from './utils/doc_generate_and_upload_utils import { publishReleaseNotesAsync } from './utils/github_release_utils'; import { utils } from './utils/utils'; -const DOC_GEN_COMMAND = 'docs:json'; const NPM_NAMESPACE = '@0xproject/'; const TODAYS_TIMESTAMP = moment().unix(); @@ -88,7 +87,7 @@ async function confirmAsync(message: string): Promise<void> { function getPackagesWithDocs(allUpdatedPackages: Package[]): Package[] { const rootPackageJsonPath = `${constants.monorepoRootPath}/package.json`; const rootPackageJson = JSON.parse(fs.readFileSync(rootPackageJsonPath).toString()); - const packagesWithDocPagesStringIfExist = _.get(rootPackageJson, 'configs.packagesWithDocPages', undefined); + const packagesWithDocPagesStringIfExist = _.get(rootPackageJson, 'config.packagesWithDocPages', undefined); if (_.isUndefined(packagesWithDocPagesStringIfExist)) { return []; // None to generate & publish } |