diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-02 23:25:18 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-02 23:25:18 +0800 |
commit | 71a2f2d72172e4138b3d4d40ab6bbee4b90e4cf7 (patch) | |
tree | 231a2ac97c79e97b42308c7ce9669f3e570fdc17 /packages/monorepo-scripts | |
parent | 238eef6bae53fbff9399e6490b1401a3412bd171 (diff) | |
download | dexon-0x-contracts-71a2f2d72172e4138b3d4d40ab6bbee4b90e4cf7.tar.gz dexon-0x-contracts-71a2f2d72172e4138b3d4d40ab6bbee4b90e4cf7.tar.zst dexon-0x-contracts-71a2f2d72172e4138b3d4d40ab6bbee4b90e4cf7.zip |
We need to always include the globals.d.ts otherwise TS complains about .json imports
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r-- | packages/monorepo-scripts/src/utils/publish_utils.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/monorepo-scripts/src/utils/publish_utils.ts b/packages/monorepo-scripts/src/utils/publish_utils.ts index 01d44a369..3cdd2c4fb 100644 --- a/packages/monorepo-scripts/src/utils/publish_utils.ts +++ b/packages/monorepo-scripts/src/utils/publish_utils.ts @@ -195,6 +195,7 @@ export async function generateAndUploadDocsAsync(packageName: string, isStaging: }); // Generate Typedoc JSON file + typeDocExtraFileIncludes.push(path.join(pathToPackage, 'src', 'globals.d.ts')); const jsonFilePath = path.join(pathToPackage, 'generated_docs', 'index.json'); const projectFiles = typeDocExtraFileIncludes.join(' '); const cwd = path.join(constants.monorepoRootPath, 'packages', packageName); |