From 3b3d5b12bc78b13860504b9699fd5f15ae8813a1 Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Wed, 14 Mar 2018 14:58:16 -0700 Subject: Keep console.log in monorepo-scripts --- packages/monorepo-scripts/package.json | 1 - packages/monorepo-scripts/src/deps_versions.ts | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index 3a6fecf6a..e0ca3cd1f 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -30,7 +30,6 @@ "typescript": "2.7.1" }, "dependencies": { - "@0xproject/utils": "^0.4.1", "es6-promisify": "^5.0.0", "async-child-process": "^1.1.1", "publish-release": "0xproject/publish-release", diff --git a/packages/monorepo-scripts/src/deps_versions.ts b/packages/monorepo-scripts/src/deps_versions.ts index d8728dade..07292a160 100644 --- a/packages/monorepo-scripts/src/deps_versions.ts +++ b/packages/monorepo-scripts/src/deps_versions.ts @@ -1,11 +1,12 @@ #!/usr/bin/env node -import { logUtils } from '@0xproject/utils'; import chalk from 'chalk'; import * as fs from 'fs'; import { sync as globSync } from 'glob'; import * as _ from 'lodash'; +import { utils } from './utils'; + interface Dependencies { [depName: string]: string; } @@ -45,9 +46,9 @@ _.map(versionsByDependency, (versions: Versions, depName: string) => { if (_.uniq(_.values(versions)).length === 1) { delete versionsByDependency[depName]; } else { - logUtils.log(chalk.bold(depName)); + utils.log(chalk.bold(depName)); _.map(versions, (version: string, packageName: string) => { - logUtils.log(`├── ${packageName} -> ${version}`); + utils.log(`├── ${packageName} -> ${version}`); }); } }); -- cgit v1.2.3