diff options
author | Jacob Evans <jacob@dekz.net> | 2018-10-18 18:51:56 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-10-18 19:27:31 +0800 |
commit | 9f924e459c43c023e35ab7222cd9824cc0e67411 (patch) | |
tree | d7b62f5b7f018b5178300040b26d37f52f955418 /packages/monorepo-scripts/src/utils | |
parent | 9e8bca69a8a1d3570e30a28f150c0bec3848a760 (diff) | |
download | dexon-sol-tools-9f924e459c43c023e35ab7222cd9824cc0e67411.tar dexon-sol-tools-9f924e459c43c023e35ab7222cd9824cc0e67411.tar.gz dexon-sol-tools-9f924e459c43c023e35ab7222cd9824cc0e67411.tar.bz2 dexon-sol-tools-9f924e459c43c023e35ab7222cd9824cc0e67411.tar.lz dexon-sol-tools-9f924e459c43c023e35ab7222cd9824cc0e67411.tar.xz dexon-sol-tools-9f924e459c43c023e35ab7222cd9824cc0e67411.tar.zst dexon-sol-tools-9f924e459c43c023e35ab7222cd9824cc0e67411.zip |
chore: change package org from 0xproject to 0x
Diffstat (limited to 'packages/monorepo-scripts/src/utils')
-rw-r--r-- | packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts | 4 | ||||
-rw-r--r-- | packages/monorepo-scripts/src/utils/github_release_utils.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts b/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts index 547b65eeb..1a4294e9c 100644 --- a/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts +++ b/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts @@ -402,7 +402,7 @@ export class DocGenerateAndUploadUtils { sanitizedExportPathToExportPath[sanitizedExportPath] = exportPath; return sanitizedExportPath; } - const monorepoPrefix = '@0xproject/'; + const monorepoPrefix = '@0x/'; if (_.startsWith(exportPath, monorepoPrefix)) { const sanitizedExportPath = exportPath.split(monorepoPrefix)[1]; sanitizedExportPathToExportPath[sanitizedExportPath] = exportPath; @@ -478,7 +478,7 @@ export class DocGenerateAndUploadUtils { }); }); - // @0xproject/types & ethereum-types are examples of packages where their index.ts exports types + // @0x/types & ethereum-types are examples of packages where their index.ts exports types // directly, meaning no internal paths will exist to follow. Other packages also have direct exports // in their index.ts, so we always add it to the source files passed to TypeDoc if (typeDocSourceIncludes.size === 0) { diff --git a/packages/monorepo-scripts/src/utils/github_release_utils.ts b/packages/monorepo-scripts/src/utils/github_release_utils.ts index 0f3485de0..43c52ec2d 100644 --- a/packages/monorepo-scripts/src/utils/github_release_utils.ts +++ b/packages/monorepo-scripts/src/utils/github_release_utils.ts @@ -93,7 +93,7 @@ function adjustAssetPaths(assets: string[]): string[] { } function getReleaseNotesForPackage(packageName: string, version: string): string { - const packageNameWithoutNamespace = packageName.replace('@0xproject/', ''); + const packageNameWithoutNamespace = packageName.replace('@0x/', ''); const changelogJSONPath = path.join( constants.monorepoRootPath, 'packages', |