diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-04 04:37:36 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-04 04:37:36 +0800 |
commit | d7a803d9fd117a3a36570b779738ac0209cce826 (patch) | |
tree | 4ca416274fd81acd249e0a7b6f89f8b2c76a72cb /packages/connect/scripts/postpublish.js | |
parent | 839e5895e41c849d69b493ad2a1e85c8504c38b2 (diff) | |
download | dexon-0x-contracts-d7a803d9fd117a3a36570b779738ac0209cce826.tar dexon-0x-contracts-d7a803d9fd117a3a36570b779738ac0209cce826.tar.gz dexon-0x-contracts-d7a803d9fd117a3a36570b779738ac0209cce826.tar.bz2 dexon-0x-contracts-d7a803d9fd117a3a36570b779738ac0209cce826.tar.lz dexon-0x-contracts-d7a803d9fd117a3a36570b779738ac0209cce826.tar.xz dexon-0x-contracts-d7a803d9fd117a3a36570b779738ac0209cce826.tar.zst dexon-0x-contracts-d7a803d9fd117a3a36570b779738ac0209cce826.zip |
Don't need any external packages for 0x connect docs yet
Diffstat (limited to 'packages/connect/scripts/postpublish.js')
-rw-r--r-- | packages/connect/scripts/postpublish.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/connect/scripts/postpublish.js b/packages/connect/scripts/postpublish.js index df201bab4..e447615f9 100644 --- a/packages/connect/scripts/postpublish.js +++ b/packages/connect/scripts/postpublish.js @@ -6,7 +6,9 @@ const tsConfig = require('../tsconfig.json'); const cwd = __dirname + '/..'; const subPackageName = packageJSON.name; const S3BucketPath = 's3://connect-docs-jsons/'; -const fileIncludes = [...tsConfig.include, '../types/src/index.ts']; +// Include any external packages that are part of the @0xproject/connect public interface +// to this array so that TypeDoc picks it up and adds it to the Docs JSON +const fileIncludes = [...tsConfig.include]; const fileIncludesAdjusted = postpublish_utils.adjustFileIncludePaths(fileIncludes, __dirname); const projectFiles = fileIncludesAdjusted.join(' '); |