Skip to content

Commit

Permalink
Replaced gulp-util dependency with fancy-log.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin L. Dodson committed Jan 29, 2018
1 parent 669e972 commit b4fea68
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const through = require("through2");
const chalk = require("chalk");
const newer = require("gulp-newer");
const babel = require("gulp-babel");
const gutil = require("gulp-util");
const log = require("fancy-log");
const gulp = require("gulp");
const path = require("path");

Expand Down Expand Up @@ -39,7 +39,7 @@ function getBuildTask({ scripts, dest }) {
.pipe(newer(dest))
.pipe(
through.obj((file, enc, callback) => {
gutil.log("Compiling", "'" + chalk.cyan(file._path) + "'...");
log("Compiling", "'" + chalk.cyan(file._path) + "'...");
callback(null, file);
})
)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
"commander": "^2.12.2",
"eslint": "^4.13.1",
"eslint-plugin-prettier": "^2.4.0",
"fancy-log": "^1.3.2",
"fs-readdir-recursive": "^1.1.0",
"google-closure-compiler-js": "^20171203.0.0",
"gulp": "github:gulpjs/gulp#4.0",
"gulp-babel": "^7.0.0",
"gulp-newer": "^1.3.0",
"gulp-util": "^3.0.8",
"jest-cli": "^22.0.3",
"lerna": "^2.5.1",
"lerna-changelog": "^0.7.0",
Expand Down
20 changes: 19 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ ansi-escapes@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.0.0.tgz#ec3e8b4e9f8064fc02c3ac9b65f1c275bda8ef92"

ansi-gray@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/ansi-gray/-/ansi-gray-0.1.1.tgz#2962cf54ec9792c48510a3deb524436861ef7251"
dependencies:
ansi-wrap "0.1.0"

ansi-red@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/ansi-red/-/ansi-red-0.1.1.tgz#8c638f9d1080800a353c9c28c8a81ca4705d946c"
Expand Down Expand Up @@ -1423,6 +1429,10 @@ color-name@^1.1.1:
version "1.1.3"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"

color-support@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2"

colors@1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b"
Expand Down Expand Up @@ -2233,6 +2243,14 @@ fancy-log@^1.1.0:
chalk "^1.1.1"
time-stamp "^1.0.0"

fancy-log@^1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/fancy-log/-/fancy-log-1.3.2.tgz#f41125e3d84f2e7d89a43d06d958c8f78be16be1"
dependencies:
ansi-gray "^0.1.1"
color-support "^1.1.3"
time-stamp "^1.0.0"

fast-deep-equal@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff"
Expand Down Expand Up @@ -2764,7 +2782,7 @@ gulp-sourcemaps@1.6.0:
through2 "^2.0.0"
vinyl "^1.0.0"

gulp-util@^3.0.0, gulp-util@^3.0.7, gulp-util@^3.0.8:
gulp-util@^3.0.0, gulp-util@^3.0.7:
version "3.0.8"
resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f"
dependencies:
Expand Down

0 comments on commit b4fea68

Please sign in to comment.