aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-18 02:24:36 +0800
committerFabio Berger <me@fabioberger.com>2017-11-18 02:24:36 +0800
commit50dc1d3db34c061fe6836273c1b80bc450b04d69 (patch)
treeaa9d63376895f162cfad4ef1154a04b611ed8859 /packages
parent2e368b50ebb8080bad46412fcf8defbc34eabcef (diff)
downloaddexon-0x-contracts-50dc1d3db34c061fe6836273c1b80bc450b04d69.tar
dexon-0x-contracts-50dc1d3db34c061fe6836273c1b80bc450b04d69.tar.gz
dexon-0x-contracts-50dc1d3db34c061fe6836273c1b80bc450b04d69.tar.bz2
dexon-0x-contracts-50dc1d3db34c061fe6836273c1b80bc450b04d69.tar.lz
dexon-0x-contracts-50dc1d3db34c061fe6836273c1b80bc450b04d69.tar.xz
dexon-0x-contracts-50dc1d3db34c061fe6836273c1b80bc450b04d69.tar.zst
dexon-0x-contracts-50dc1d3db34c061fe6836273c1b80bc450b04d69.zip
specify the current working directory in which to run the `yarn` command
Diffstat (limited to 'packages')
-rw-r--r--packages/0x.js/scripts/postpublish.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/0x.js/scripts/postpublish.js b/packages/0x.js/scripts/postpublish.js
index 519973f61..3f0502c64 100644
--- a/packages/0x.js/scripts/postpublish.js
+++ b/packages/0x.js/scripts/postpublish.js
@@ -34,7 +34,12 @@ getLatestTagAndVersionAsync(subPackageName)
console.log('POSTPUBLISH: Release successful, generating docs...');
// return typedocApp.generateDocs([rootDir], __dirname + '/../docs/index.json');
- return execAsync('yarn typedoc --excludePrivate --excludeExternals --target ES5 --json ' + __dirname + '/../docs/index.json ' + __dirname + '/..');
+ return execAsync(
+ 'yarn typedoc --excludePrivate --excludeExternals --target ES5 --json ' + __dirname + '/../docs/index.json ' + __dirname + '/..',
+ {
+ cwd: __dirname + '/..',
+ }
+ );
})
.then(function(result) {
if (result.stderr !== '') {