aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
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 !== '') {