diff options
Diffstat (limited to 'packages')
19 files changed, 21 insertions, 3 deletions
diff --git a/packages/abi-gen/src/monorepo_scripts/postpublish.ts b/packages/abi-gen/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/abi-gen/src/monorepo_scripts/postpublish.ts +++ b/packages/abi-gen/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/assert/src/monorepo_scripts/postpublish.ts b/packages/assert/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/assert/src/monorepo_scripts/postpublish.ts +++ b/packages/assert/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/base-contract/src/monorepo_scripts/postpublish.ts b/packages/base-contract/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/base-contract/src/monorepo_scripts/postpublish.ts +++ b/packages/base-contract/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/chai-as-promised-typescript-typings/monorepo_scripts/postpublish.ts b/packages/chai-as-promised-typescript-typings/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/chai-as-promised-typescript-typings/monorepo_scripts/postpublish.ts +++ b/packages/chai-as-promised-typescript-typings/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/chai-typescript-typings/monorepo_scripts/postpublish.ts b/packages/chai-typescript-typings/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/chai-typescript-typings/monorepo_scripts/postpublish.ts +++ b/packages/chai-typescript-typings/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/deployer/src/monorepo_scripts/postpublish.ts b/packages/deployer/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/deployer/src/monorepo_scripts/postpublish.ts +++ b/packages/deployer/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/dev-utils/src/monorepo_scripts/postpublish.ts b/packages/dev-utils/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/dev-utils/src/monorepo_scripts/postpublish.ts +++ b/packages/dev-utils/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/ethers-typescript-typings/monorepo_scripts/postpublish.ts b/packages/ethers-typescript-typings/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/ethers-typescript-typings/monorepo_scripts/postpublish.ts +++ b/packages/ethers-typescript-typings/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/json-schemas/src/monorepo_scripts/postpublish.ts b/packages/json-schemas/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/json-schemas/src/monorepo_scripts/postpublish.ts +++ b/packages/json-schemas/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/monorepo-scripts/src/postpublish_utils.ts b/packages/monorepo-scripts/src/postpublish_utils.ts index 2f27e15cb..e04c31649 100644 --- a/packages/monorepo-scripts/src/postpublish_utils.ts +++ b/packages/monorepo-scripts/src/postpublish_utils.ts @@ -1,5 +1,5 @@ -import * as promisify from 'es6-promisify'; import { execAsync } from 'async-child-process'; +import * as promisify from 'es6-promisify'; import * as _ from 'lodash'; import * as publishRelease from 'publish-release'; import semverSort = require('semver-sort'); @@ -16,7 +16,7 @@ export interface TagAndVersion { } export const postpublishUtils = { - getLatestTagAndVersionAsync(subPackageName: string): Promise<TagAndVersion> { + async getLatestTagAndVersionAsync(subPackageName: string): Promise<TagAndVersion> { const subPackagePrefix = `${subPackageName}@`; const gitTagsCommand = `git tag -l "${subPackagePrefix}*"`; return execAsync(gitTagsCommand).then((result: any) => { @@ -36,7 +36,7 @@ export const postpublishUtils = { }; }); }, - publishReleaseNotesAsync(tag: string, releaseName: string, assets: string[]) { + async publishReleaseNotesAsync(tag: string, releaseName: string, assets: string[]) { utils.log('POSTPUBLISH: Releasing ', releaseName, '...'); return publishReleaseAsync({ token: githubPersonalAccessToken, diff --git a/packages/react-docs/src/monorepo_scripts/postpublish.ts b/packages/react-docs/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/react-docs/src/monorepo_scripts/postpublish.ts +++ b/packages/react-docs/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/react-shared/src/monorepo_scripts/postpublish.ts b/packages/react-shared/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/react-shared/src/monorepo_scripts/postpublish.ts +++ b/packages/react-shared/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/sra-report/src/monorepo_scripts/postpublish.ts b/packages/sra-report/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/sra-report/src/monorepo_scripts/postpublish.ts +++ b/packages/sra-report/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/subproviders/src/monorepo_scripts/postpublish.ts b/packages/subproviders/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/subproviders/src/monorepo_scripts/postpublish.ts +++ b/packages/subproviders/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/tslint-config/monorepo_scripts/postpublish.ts b/packages/tslint-config/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/tslint-config/monorepo_scripts/postpublish.ts +++ b/packages/tslint-config/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/types/src/monorepo_scripts/postpublish.ts b/packages/types/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/types/src/monorepo_scripts/postpublish.ts +++ b/packages/types/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/utils/src/monorepo_scripts/postpublish.ts b/packages/utils/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/utils/src/monorepo_scripts/postpublish.ts +++ b/packages/utils/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/web3-typescript-typings/monorepo_scripts/postpublish.ts b/packages/web3-typescript-typings/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/web3-typescript-typings/monorepo_scripts/postpublish.ts +++ b/packages/web3-typescript-typings/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); diff --git a/packages/web3-wrapper/src/monorepo_scripts/postpublish.ts b/packages/web3-wrapper/src/monorepo_scripts/postpublish.ts index d5fcff9d0..6e5aa050a 100644 --- a/packages/web3-wrapper/src/monorepo_scripts/postpublish.ts +++ b/packages/web3-wrapper/src/monorepo_scripts/postpublish.ts @@ -3,4 +3,5 @@ import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; const subPackageName = (packageJSON as any).name; +// tslint:disable-next-line:no-floating-promises postpublishUtils.standardPostPublishAsync(subPackageName); |