aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-25 01:58:12 +0800
committerFabio Berger <me@fabioberger.com>2018-08-25 01:58:12 +0800
commit029ea52979f9ba7347d20ec4fab962e1b79ee01f (patch)
tree0375185f521b9a9a22d3dcd36b35ab2cd72700bb /packages
parentfb6d5118116268b68051191f9d44dad815ccad16 (diff)
downloaddexon-sol-tools-029ea52979f9ba7347d20ec4fab962e1b79ee01f.tar
dexon-sol-tools-029ea52979f9ba7347d20ec4fab962e1b79ee01f.tar.gz
dexon-sol-tools-029ea52979f9ba7347d20ec4fab962e1b79ee01f.tar.bz2
dexon-sol-tools-029ea52979f9ba7347d20ec4fab962e1b79ee01f.tar.lz
dexon-sol-tools-029ea52979f9ba7347d20ec4fab962e1b79ee01f.tar.xz
dexon-sol-tools-029ea52979f9ba7347d20ec4fab962e1b79ee01f.tar.zst
dexon-sol-tools-029ea52979f9ba7347d20ec4fab962e1b79ee01f.zip
Small fixes to publish script
Diffstat (limited to 'packages')
-rw-r--r--packages/monorepo-scripts/src/publish.ts3
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
}