aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-03-15 05:58:16 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-03-15 05:58:16 +0800
commit3b3d5b12bc78b13860504b9699fd5f15ae8813a1 (patch)
tree344bd9cb3391a7a0cfb726cc7a54f4694eabd974 /packages/monorepo-scripts
parent380e51ca505a880e1ac24f46b3ba7e1a736f693e (diff)
downloaddexon-sol-tools-3b3d5b12bc78b13860504b9699fd5f15ae8813a1.tar
dexon-sol-tools-3b3d5b12bc78b13860504b9699fd5f15ae8813a1.tar.gz
dexon-sol-tools-3b3d5b12bc78b13860504b9699fd5f15ae8813a1.tar.bz2
dexon-sol-tools-3b3d5b12bc78b13860504b9699fd5f15ae8813a1.tar.lz
dexon-sol-tools-3b3d5b12bc78b13860504b9699fd5f15ae8813a1.tar.xz
dexon-sol-tools-3b3d5b12bc78b13860504b9699fd5f15ae8813a1.tar.zst
dexon-sol-tools-3b3d5b12bc78b13860504b9699fd5f15ae8813a1.zip
Keep console.log in monorepo-scripts
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r--packages/monorepo-scripts/package.json1
-rw-r--r--packages/monorepo-scripts/src/deps_versions.ts7
2 files changed, 4 insertions, 4 deletions
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}`);
});
}
});