diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-25 04:38:30 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-25 04:38:30 +0800 |
commit | 44a430802e534f8b1eccb57ed87249925c32d4eb (patch) | |
tree | ec3ee9b35c231da47764bea7381f46fa6766b432 /packages/monorepo-scripts/src/publish.ts | |
parent | 6b03cfd40d720096bf772c2966b1372c0e54bf51 (diff) | |
parent | 7f36574a57ced8ead0059b90673fe01f97f04827 (diff) | |
download | dexon-sol-tools-44a430802e534f8b1eccb57ed87249925c32d4eb.tar dexon-sol-tools-44a430802e534f8b1eccb57ed87249925c32d4eb.tar.gz dexon-sol-tools-44a430802e534f8b1eccb57ed87249925c32d4eb.tar.bz2 dexon-sol-tools-44a430802e534f8b1eccb57ed87249925c32d4eb.tar.lz dexon-sol-tools-44a430802e534f8b1eccb57ed87249925c32d4eb.tar.xz dexon-sol-tools-44a430802e534f8b1eccb57ed87249925c32d4eb.tar.zst dexon-sol-tools-44a430802e534f8b1eccb57ed87249925c32d4eb.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into website/feature/react-16
Diffstat (limited to 'packages/monorepo-scripts/src/publish.ts')
-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 } |