Skip to content

Commit

Permalink
remove deprecated gulp-util (#53)
Browse files Browse the repository at this point in the history
* core: updated yarn.lock after call yarn install

* core: remove deprecated gulp-util and replace them with original packages, see https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

* cli: remove unused gulp-util dependeny
  • Loading branch information
Lexanius authored and Wassim Chegham committed Feb 25, 2018
1 parent cfcf805 commit 02a1158
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 540 deletions.
1 change: 0 additions & 1 deletion src/modules/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"commander": "^2.11.0",
"dot": "^1.1.2",
"fs-extra": "^4.0.1",
"gulp-util": "^3.0.8",
"opener": "^1.4.3",
"typescript": "^2.4.2",
"viz.js": "^1.8.0"
Expand Down
5 changes: 2 additions & 3 deletions src/modules/core/dist/lang/logger.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var gutil = require('gulp-util');
var c = gutil.colors;
var c = require('ansi-colors');
var pkg = require('../../package.json');
var LEVEL;
(function (LEVEL) {
Expand All @@ -15,7 +14,7 @@ var Logger = (function () {
function Logger() {
this.name = pkg.name;
this.version = pkg.version;
this.logger = gutil.log;
this.logger = require('fancy-log');
this.silent = true;
}
Logger.prototype.title = function () {
Expand Down
3 changes: 2 additions & 1 deletion src/modules/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"private": false,
"license": "MIT",
"dependencies": {
"gulp-util": "^3.0.8",
"ansi-colors": "^1.0.1",
"fancy-log": "^1.3.2",
"typescript": "^2.4.2"
},
"devDependencies": {
Expand Down
5 changes: 2 additions & 3 deletions src/modules/core/src/lang/logger.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
let gutil = require('gulp-util');
let c = gutil.colors;
let c = require('ansi-colors');
let pkg = require('../../package.json');

enum LEVEL {
Expand All @@ -19,7 +18,7 @@ export class Logger {
constructor() {
this.name = pkg.name;
this.version = pkg.version;
this.logger = gutil.log;
this.logger = require('fancy-log');
this.silent = true;
}

Expand Down
Loading

0 comments on commit 02a1158

Please sign in to comment.