From a88b4040ffdf1057ffb539c79c4ec517a670a950 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 3 Apr 2018 12:58:45 +0900 Subject: Stop using utils --- packages/monorepo-scripts/package.json | 2 +- packages/monorepo-scripts/src/globals.d.ts | 1 + packages/monorepo-scripts/src/postpublish_utils.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index cac8b8475..9d2350297 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -37,9 +37,9 @@ "typescript": "2.7.1" }, "dependencies": { - "@0xproject/utils": "0.4.4", "async-child-process": "^1.1.1", "chalk": "^2.3.0", + "es6-promisify": "^5.0.0", "glob": "^7.1.2", "lodash": "^4.17.4", "moment": "2.21.0", diff --git a/packages/monorepo-scripts/src/globals.d.ts b/packages/monorepo-scripts/src/globals.d.ts index b9f3d2e71..c5898d0f5 100644 --- a/packages/monorepo-scripts/src/globals.d.ts +++ b/packages/monorepo-scripts/src/globals.d.ts @@ -1,5 +1,6 @@ declare module 'async-child-process'; declare module 'publish-release'; +declare module 'es6-promisify'; declare module 'semver-diff'; // semver-sort declarations diff --git a/packages/monorepo-scripts/src/postpublish_utils.ts b/packages/monorepo-scripts/src/postpublish_utils.ts index d068adb4d..236b54379 100644 --- a/packages/monorepo-scripts/src/postpublish_utils.ts +++ b/packages/monorepo-scripts/src/postpublish_utils.ts @@ -1,5 +1,5 @@ -import { promisify } from '@0xproject/utils'; import { execAsync } from 'async-child-process'; +import * as promisify from 'es6-promisify'; import * as fs from 'fs'; import * as _ from 'lodash'; import * as path from 'path'; -- cgit v1.2.3