update to latest standards

This commit is contained in:
Philipp Kunz 2018-03-01 01:06:12 +01:00
parent db46fca769
commit 0edaa51679
31 changed files with 628 additions and 423 deletions

View File

@ -7,60 +7,78 @@ cache:
key: "$CI_BUILD_STAGE" key: "$CI_BUILD_STAGE"
stages: stages:
- mirror
- security
- test - test
- release - release
- trigger - trigger
- pages - pages
mirror:
stage: mirror
script:
- npmci git mirror
tags:
- docker
security:
stage: security
script:
- npmci command yarn global add snyk
- npmci command yarn install --ignore-scripts
- npmci command snyk test
tags:
- docker
testLEGACY: testLEGACY:
stage: test stage: test
script: script:
- npmci node install legacy - npmci node install legacy
- npmci npm install - npmci npm install
- npmci npm test - npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/ coverage: /\d+.?\d+?\%\s*coverage/
tags: tags:
- docker - docker
allow_failure: true allow_failure: true
testLTS: testLTS:
stage: test stage: test
script: script:
- npmci node install lts - npmci node install lts
- npmci npm install - npmci npm install
- npmci npm test - npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/ coverage: /\d+.?\d+?\%\s*coverage/
tags: tags:
- docker - docker
testSTABLE: testSTABLE:
stage: test stage: test
script: script:
- npmci node install lts - npmci node install stable
- npmci npm install - npmci npm install
- npmci npm test - npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/ coverage: /\d+.?\d+?\%\s*coverage/
tags: tags:
- docker - docker
release: release:
stage: release stage: release
script: script:
- npmci npm prepare - npmci npm prepare
- npmci npm publish - npmci npm publish
only: only:
- tags - tags
tags: tags:
- docker - docker
trigger: trigger:
stage: trigger stage: trigger
script: script:
- npmci trigger - npmci trigger
only: only:
- tags - tags
tags: tags:
- docker - docker
pages: pages:
image: hosttoday/ht-docker-node:npmci image: hosttoday/ht-docker-node:npmci

View File

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2015 Push.Rocks Copyright (c) 2015 Lossless GmbH
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -1,13 +1,16 @@
# beautylog # beautylog
beautiful logging, TypeScript ready beautiful logging, TypeScript ready
## Availabililty ## Availabililty
[![npm](https://pushrocks.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/beautylog) [![npm](https://pushrocks.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/beautylog)
[![git](https://pushrocks.gitlab.io/assets/repo-button-git.svg)](https://GitLab.com/pushrocks/beautylog) [![git](https://pushrocks.gitlab.io/assets/repo-button-git.svg)](https://GitLab.com/pushrocks/beautylog)
[![git](https://pushrocks.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/pushrocks/beautylog) [![git](https://pushrocks.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/pushrocks/beautylog)
[![docs](https://pushrocks.gitlab.io/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/beautylog/) [![docs](https://pushrocks.gitlab.io/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/beautylog/)
## Status for master ## Status for master
[![build status](https://GitLab.com/pushrocks/beautylog/badges/master/build.svg)](https://GitLab.com/pushrocks/beautylog/commits/master) [![build status](https://GitLab.com/pushrocks/beautylog/badges/master/build.svg)](https://GitLab.com/pushrocks/beautylog/commits/master)
[![coverage report](https://GitLab.com/pushrocks/beautylog/badges/master/coverage.svg)](https://GitLab.com/pushrocks/beautylog/commits/master) [![coverage report](https://GitLab.com/pushrocks/beautylog/badges/master/coverage.svg)](https://GitLab.com/pushrocks/beautylog/commits/master)
[![npm downloads per month](https://img.shields.io/npm/dm/beautylog.svg)](https://www.npmjs.com/package/beautylog) [![npm downloads per month](https://img.shields.io/npm/dm/beautylog.svg)](https://www.npmjs.com/package/beautylog)
@ -19,11 +22,12 @@ beautiful logging, TypeScript ready
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) [![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
## Quick Demo ## Quick Demo
[![asciicast](https://asciinema.org/a/46djsde96ecsho9wqibjx2zye.png)](https://asciinema.org/a/46djsde96ecsho9wqibjx2zye) [![asciicast](https://asciinema.org/a/46djsde96ecsho9wqibjx2zye.png)](https://asciinema.org/a/46djsde96ecsho9wqibjx2zye)
For further information read the linked docs at the top of this README. For further information read the linked docs at the top of this README.
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) > MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html) > | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
[![repo-footer](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://push.rocks) [![repo-footer](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://push.rocks)

View File

@ -47,9 +47,10 @@ class Ora {
this._oraObject.stop(); this._oraObject.stop();
} }
stop() { stop() {
// alias for end
this.end(); this.end();
} }
} }
exports.Ora = Ora; exports.Ora = Ora;
exports.ora = new Ora('init...', 'blue', false); exports.ora = new Ora('init...', 'blue', false);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLmNsYXNzZXMub3JhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvYmVhdXR5bG9nLmNsYXNzZXMub3JhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsMEJBQXVCO0FBQ3ZCLCtDQUE4QztBQUM5QyxtRUFBaUQ7QUFFdEMsUUFBQSxTQUFTLEdBQVksS0FBSyxDQUFBLENBQUMsb0RBQW9EO0FBRzFGO0lBR0UsWUFBWSxPQUFlLEVBQUUsUUFBZ0IsRUFBRSxXQUFvQixLQUFLO1FBQ3RFLElBQUksQ0FBQyxVQUFVLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FBQztZQUM1QixPQ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FDbEIsU0FBUyxDQUFDLEtBQUssQ0FBQyxXQUFXLEVBQUUsU0FBUyxDQUFDLENBQUM7WUFDeEMsaUNBQVMsQ0FBQyxLQUFLLEVBQUUsQ0FBQztRQUNwQixDQUFDO1FBQUMsSUFBSSxDQUFDLENBQUM7WUFDTixTQUFTLENBQUMsS0FBSyxDQUFDLFdBQVcsRUFBRSxTQUFTLENBQUMsQ0FBQztRQUMxQyxDQUFDO0lBQ0gsQ0FBQztDQUNGLENBQUM7QUFFRixLQUFLLENBQUMsSUFBSSxDQUFDLENBQUMifQ==

View File

@ -47,4 +47,4 @@ let colorFiglet = (figletStringArg, colorArg) => {
} }
return figletStringCombined; return figletStringCombined;
}; };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLmZpZ2xldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2JlYXV0eWxvZy5maWdsZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwQkFBdUI7QUFDdkIsK0NBQStDO0FBUS9DLElBQUksY0FBYyxHQUFtQjtJQUNqQyxJQUFJLEVBQUUsV0FBVztJQUNqQixLQUFLLEVBQUUsT0FBTztJQUNkLEVBQUUsRUFBRSxjQUFZLENBQUM7Q0FDcEIsQ0FBQTtBQUVVLFFBQUEsTUFBTSxHQUFHLFVBQVMsT0FBZSxFQUFFLFVBQVc7SUFDckQsSUFBSSxJQUFJLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxLQUFLLEVBQUUsQ0FBQTtJQUM1QixJQUFJLFlBQVksR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDLFNBQVMsQ0FBQyxjQUFjLENBQUMsQ0FBQTtJQUMzRCxJQUFJLE9BQU8sR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxZQUFZLEVBQUMsVUFBVSxDQUFDLENBQUE7SUFDN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n0=

File diff suppressed because one or more lines are too long

21
dist/beautylog.log.js vendored
View File

@ -7,10 +7,10 @@ const beautylog_log_helpers_1 = require("./beautylog.log.helpers");
* @param logText * @param logText
* @returns {boolean} * @returns {boolean}
*/ */
exports.log = (logText) => { exports.log = logText => {
return beautylog_log_helpers_1.internalLog('log', logText); return beautylog_log_helpers_1.internalLog('log', logText);
}; };
exports.info = (logText) => { exports.info = logText => {
return beautylog_log_helpers_1.internalLog('info', logText); return beautylog_log_helpers_1.internalLog('info', logText);
}; };
/** /**
@ -18,7 +18,7 @@ exports.info = (logText) => {
* @param logText * @param logText
* @returns {boolean} * @returns {boolean}
*/ */
exports.ok = (logText) => { exports.ok = logText => {
return beautylog_log_helpers_1.internalLog('ok', logText); return beautylog_log_helpers_1.internalLog('ok', logText);
}; };
/** /**
@ -26,7 +26,7 @@ exports.ok = (logText) => {
* @param logText string to log as error * @param logText string to log as error
* @returns {boolean} * @returns {boolean}
*/ */
exports.success = (logText) => { exports.success = logText => {
return beautylog_log_helpers_1.internalLog('success', logText); return beautylog_log_helpers_1.internalLog('success', logText);
}; };
/** /**
@ -34,7 +34,7 @@ exports.success = (logText) => {
* @param logText string to log as error * @param logText string to log as error
* @returns {boolean} * @returns {boolean}
*/ */
exports.warn = (logText) => { exports.warn = logText => {
return beautylog_log_helpers_1.internalLog('warn', logText); return beautylog_log_helpers_1.internalLog('warn', logText);
}; };
/** /**
@ -42,7 +42,7 @@ exports.warn = (logText) => {
* @param logText * @param logText
* @returns {boolean} * @returns {boolean}
*/ */
exports.error = (logText) => { exports.error = logText => {
return beautylog_log_helpers_1.internalLog('error', logText); return beautylog_log_helpers_1.internalLog('error', logText);
}; };
/** /**
@ -50,13 +50,13 @@ exports.error = (logText) => {
* @param logText * @param logText
* @returns {boolean} * @returns {boolean}
*/ */
exports.dir = (logText) => { exports.dir = logText => {
return beautylog_log_helpers_1.internalLog('dir', logText); return beautylog_log_helpers_1.internalLog('dir', logText);
}; };
/** /**
* note * note
*/ */
exports.note = (logText) => { exports.note = logText => {
return beautylog_log_helpers_1.internalLog('note', logText); return beautylog_log_helpers_1.internalLog('note', logText);
}; };
/** /**
@ -73,7 +73,8 @@ exports.newLine = (linesArg = 1) => {
* logs a reduced log that only logs changes of consequential log messages * logs a reduced log that only logs changes of consequential log messages
*/ */
exports.logReduced = (logTextArg, repeatEveryTimesArg = 0) => { exports.logReduced = (logTextArg, repeatEveryTimesArg = 0) => {
if (logTextArg === previousMessage && (repeatEveryTimesArg === 0 || sameMessageCounter !== repeatEveryTimesArg)) { if (logTextArg === previousMessage &&
(repeatEveryTimesArg === 0 || sameMessageCounter !== repeatEveryTimesArg)) {
sameMessageCounter++; sameMessageCounter++;
} }
else { else {
@ -84,4 +85,4 @@ exports.logReduced = (logTextArg, repeatEveryTimesArg = 0) => {
}; };
let previousMessage = ''; let previousMessage = '';
let sameMessageCounter = 0; let sameMessageCounter = 0;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLmxvZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2JlYXV0eWxvZy5sb2cudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwQkFBdUI7QUFFdkIsbUVBQXFEO0FBRXJEOzs7O0dBSUc7QUFFUSxRQUFBLEdBQUcsR0FBRyxDQUFDLE9BQU87SUFDdkIsTUFBTSxDQUFDLG1DQUFXLENBQUMsS0FBSyxFQUFFLE9BQU8sQ0FBQyxDQUFBO0FBQ3BDLENBQUMsQ0FBQTtBQUVVLFFBQUEsSUFBSSxHQUFHLENBQUMsT0FBTztJQUN4QixNQUFNLENBQUMsbUNBQVcsQ0FBQyxNQUFNLEVBQUUsT0FBTyxDQUFDLENBQUE7QUFDckMsQ0FBQyxDQUFBO0FBRUQ7Ozs7R0FJRztBQUNRLFFBQUEsRUFBRSxHQUFHLENBQUMsT0FBTztJQUN0QixNQUFNLENBQUM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UFBRTtJQUM1QyxHQUFHLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxHQUFHLFFBQVEsRUFBRSxDQUFDLEVBQUUsRUFBRSxDQUFDO1FBQ2xDLE9BQU8sQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDcEIsQ0FBQztBQUNILENBQUMsQ0FBQztBQUVGOztHQUVHO0FBQ1EsUUFBQSxVQUFVLEdBQUcsQ0FBQyxVQUFrQixFQUFFLHNCQUE4QixDQUFDLEVBQUUsRUFBRTtJQUM5RSxFQUFFLENBQUMsQ0FDRCxVQUFVLEtBQUssZUFBZTtRQUM5QixDQUFDLG1CQUFtQixLQUFLLENBQUMsSUFBSSxrQkFBa0IsS0FBSyxtQkFBbUIsQ0FDMUUsQ0FBQyxDQUFDLENBQUM7UUFDRCxrQkFBa0IsRUFBRSxDQUFDO0lBQ3ZCLENBQUM7SUFBQyxJQUFJLENBQUMsQ0FBQztRQUNOLGtCQUFrQixHQUFHLENBQUMsQ0FBQztRQUN2QixlQUFlLEdBQUcsVUFBVSxDQUFDO1FBQzdCLFdBQUcsQ0FBQyxVQUFVLENBQUMsQ0FBQztJQUNsQixDQUFDO0FBQ0gsQ0FBQyxDQUFDO0FBQ0YsSUFBSSxlQUFlLEdBQVcsRUFBRSxDQUFDO0FBQ2pDLElBQUksa0JBQWtCLEdBQVcsQ0FBQyxDQUFDIn0=

View File

@ -1,8 +1,8 @@
import 'typings-global';
import * as beautycolor from 'beautycolor'; import * as beautycolor from 'beautycolor';
import * as lodash from 'lodash'; import * as lodash from 'lodash';
import * as smartenv from 'smartenv'; import * as smartenv from 'smartenv';
import * as smartlogInterfaces from 'smartlog-interfaces';
import * as q from 'smartq'; import * as q from 'smartq';
declare let figlet: any; declare let figlet: any;
declare let ora: any; declare let ora: any;
export { beautycolor, lodash, smartenv, q, figlet, ora }; export { beautycolor, lodash, smartenv, smartlogInterfaces, q, figlet, ora };

View File

@ -1,16 +1,17 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
require("typings-global");
const beautycolor = require("beautycolor"); const beautycolor = require("beautycolor");
exports.beautycolor = beautycolor; exports.beautycolor = beautycolor;
const lodash = require("lodash"); const lodash = require("lodash");
exports.lodash = lodash; exports.lodash = lodash;
const smartenv = require("smartenv"); const smartenv = require("smartenv");
exports.smartenv = smartenv; exports.smartenv = smartenv;
const smartlogInterfaces = require("smartlog-interfaces");
exports.smartlogInterfaces = smartlogInterfaces;
const q = require("smartq"); const q = require("smartq");
exports.q = q; exports.q = q;
let figlet = require('figlet'); let figlet = require('figlet');
exports.figlet = figlet; exports.figlet = figlet;
let ora = require('ora'); let ora = require('ora');
exports.ora = ora; exports.ora = ora;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9iZWF1dHlsb2cucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDBCQUF1QjtBQUV2QiwyQ0FBMEM7QUFRdEMsa0NBQVc7QUFQZixpQ0FBZ0M7QUFRNUIsd0JBQU07QUFQVixxQ0FBb0M7QUFRaEMsNEJBQVE7QUFQWiw0QkFBMkI7QUFRdkIsY0FBQztBQVBMLElBQUksTUFBTSxHQUFHLE9BQU8sQ0FBQyxRQUFRLENBQUMsQ0FBQTtBQVExQix3QkFBTTtBQVBWLElBQUksR0FBRyxHQUFHLE9BQU8sQ0FBQyxLQUFLLENBQUMsQ0FBQTtBQVFwQixrQkFBRyJ9 //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9iZWF1dHlsb2cucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDJDQUEyQztBQVFsQyxrQ0FBVztBQVBwQixpQ0FBaUM7QUFPWCx3QkFBTTtBQU41QixxQ0FBcUM7QUFNUCw0QkFBUTtBQUx0QywwREFBMEQ7QUFLbEIsZ0RBQWtCO0FBSjFELDRCQUE0QjtBQUlnQyxjQUFDO0FBSDdELElBQUksTUFBTSxHQUFHLE9BQU8sQ0FBQyxRQUFRLENBQUMsQ0FBQztBQUdnQyx3QkFBTTtBQUZyRSxJQUFJLEdBQUcsR0FBRyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUM7QUFFOEMsa0JBQUcifQ==

View File

@ -1,4 +0,0 @@
/**
* registers a remote
*/
export declare let registerRemote: (remoteArg: any) => void;

View File

@ -1,10 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const beautylog_remote_1 = require("./beautylog.remote");
/**
* registers a remote
*/
exports.registerRemote = (remoteArg) => {
beautylog_remote_1.remoteArray.push(remoteArg);
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLnJlZ2lzdGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvYmVhdXR5bG9nLnJlZ2lzdGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEseURBQThDO0FBRTlDOztHQUVHO0FBQ1EsUUFBQSxjQUFjLEdBQUcsQ0FBQyxTQUFjO0lBQ3ZDLDhCQUFXLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFBO0FBQy9CLENBQUMsQ0FBQSJ9

View File

@ -1,8 +0,0 @@
export interface ILogMethod {
(logType: string, logMessage: string): void;
}
export interface IBeautyRemote {
log: ILogMethod;
}
export declare let remoteArray: IBeautyRemote[];
export declare let remoteLog: (logType: string, logMessage: string) => void;

View File

@ -1,9 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.remoteArray = [];
exports.remoteLog = (logType, logMessage) => {
for (let beautyremote of exports.remoteArray) {
beautyremote.log(logType, logMessage);
}
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLnJlbW90ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2JlYXV0eWxvZy5yZW1vdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFVVyxRQUFBLFdBQVcsR0FBb0IsRUFBRSxDQUFBO0FBRWpDLFFBQUEsU0FBUyxHQUFHLENBQUMsT0FBZSxFQUFFLFVBQWtCO0lBQ3pELEdBQUcsQ0FBQyxDQUFDLElBQUksWUFBWSxJQUFJLG1CQUFXLENBQUMsQ0FBQyxDQUFDO1FBQ3JDLFlBQVksQ0FBQyxHQUFHLENBQUMsT0FBTyxFQUFFLFVBQVUsQ0FBQyxDQUFBO0lBQ3ZDLENBQUM7QUFDSCxDQUFDLENBQUEifQ==

1
dist/index.d.ts vendored
View File

@ -3,4 +3,3 @@ import './beautylog.console';
export { ora } from './beautylog.classes.ora'; export { ora } from './beautylog.classes.ora';
export { dir, error, info, log, logReduced, note, ok, success, warn, newLine } from './beautylog.log'; export { dir, error, info, log, logReduced, note, ok, success, warn, newLine } from './beautylog.log';
export { figlet, figletSync } from './beautylog.figlet'; export { figlet, figletSync } from './beautylog.figlet';
export { registerRemote } from './beautylog.register';

4
dist/index.js vendored
View File

@ -20,6 +20,4 @@ exports.newLine = beautylog_log_1.newLine;
var beautylog_figlet_1 = require("./beautylog.figlet"); var beautylog_figlet_1 = require("./beautylog.figlet");
exports.figlet = beautylog_figlet_1.figlet; exports.figlet = beautylog_figlet_1.figlet;
exports.figletSync = beautylog_figlet_1.figletSync; exports.figletSync = beautylog_figlet_1.figletSync;
var beautylog_register_1 = require("./beautylog.register"); //# sourceMappingURL=data:application/json;base64,eyJ2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DQUFBLFVBQVUsQ0FBQTtBQUFFLCtCQUFBLElBQUksQ0FBQTtBQUFFLDZCQUFBLEVBQUUsQ0FBQTtBQUFFLGtDQUFBLE9BQU8sQ0FBQTtBQUFFLCtCQUFBLElBQUksQ0FBQTtBQUFFLGtDQUFBLE9BQU8sQ0FBQTtBQUM1RSx1REFBdUQ7QUFBOUMsb0NBQUEsTUFBTSxDQUFBO0FBQUUsd0NBQUEsVUFBVSxDQUFBO0FBQzNCLDJEQUFxRDtBQUE1Qyw4Q0FBQSxjQUFjLENBQUEifQ==

View File

@ -1,13 +1,16 @@
# beautylog # beautylog
beautiful logging, TypeScript ready beautiful logging, TypeScript ready
## Availabililty ## Availabililty
[![npm](https://pushrocks.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/beautylog) [![npm](https://pushrocks.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/beautylog)
[![git](https://pushrocks.gitlab.io/assets/repo-button-git.svg)](https://GitLab.com/pushrocks/beautylog) [![git](https://pushrocks.gitlab.io/assets/repo-button-git.svg)](https://GitLab.com/pushrocks/beautylog)
[![git](https://pushrocks.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/pushrocks/beautylog) [![git](https://pushrocks.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/pushrocks/beautylog)
[![docs](https://pushrocks.gitlab.io/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/beautylog/) [![docs](https://pushrocks.gitlab.io/assets/repo-button-docs.svg)](https://pushrocks.gitlab.io/beautylog/)
## Status for master ## Status for master
[![build status](https://GitLab.com/pushrocks/beautylog/badges/master/build.svg)](https://GitLab.com/pushrocks/beautylog/commits/master) [![build status](https://GitLab.com/pushrocks/beautylog/badges/master/build.svg)](https://GitLab.com/pushrocks/beautylog/commits/master)
[![coverage report](https://GitLab.com/pushrocks/beautylog/badges/master/coverage.svg)](https://GitLab.com/pushrocks/beautylog/commits/master) [![coverage report](https://GitLab.com/pushrocks/beautylog/badges/master/coverage.svg)](https://GitLab.com/pushrocks/beautylog/commits/master)
[![npm downloads per month](https://img.shields.io/npm/dm/beautylog.svg)](https://www.npmjs.com/package/beautylog) [![npm downloads per month](https://img.shields.io/npm/dm/beautylog.svg)](https://www.npmjs.com/package/beautylog)
@ -19,49 +22,53 @@ beautiful logging, TypeScript ready
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) [![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
## Quick Demo ## Quick Demo
[![asciicast](https://asciinema.org/a/46djsde96ecsho9wqibjx2zye.png)](https://asciinema.org/a/46djsde96ecsho9wqibjx2zye) [![asciicast](https://asciinema.org/a/46djsde96ecsho9wqibjx2zye.png)](https://asciinema.org/a/46djsde96ecsho9wqibjx2zye)
## Usage ## Usage
Use TypeScript for best in class instellisense. Use TypeScript for best in class instellisense.
```javascript ```javascript
beautylog.log('some log message') // normal console log message beautylog.log('some log message'); // normal console log message
beautylog.info('some log message') // info console log message beautylog.info('some log message'); // info console log message
beautylog.ok('some log message') // ok console log message beautylog.ok('some log message'); // ok console log message
beautylog.warn('some log message') // warn console log message beautylog.warn('some log message'); // warn console log message
beautylog.success('some success message') // success console log message beautylog.success('some success message'); // success console log message
beautylog.error('some error message') // error console log message beautylog.error('some error message'); // error console log message
``` ```
### Ora Integration ### Ora Integration
beautylog wraps the excellent ora module from npm to better work with beautylog. In general that means that you can log persistent messages WHILE you are actually having an active Ora object. beautylog handles all the fuss for you. beautylog wraps the excellent ora module from npm to better work with beautylog. In general that means that you can log persistent messages WHILE you are actually having an active Ora object. beautylog handles all the fuss for you.
```javascript ```javascript
beautylog.ora.start('Hi, this is some text!', 'blue') beautylog.ora.start('Hi, this is some text!', 'blue');
beautylog.info('some persistent text') //does not disturb ora beautylog.info('some persistent text'); //does not disturb ora
console.log('something') // even this works because console.log is monkeypatched by beautylog console.log('something'); // even this works because console.log is monkeypatched by beautylog
beautylog.ora.text('some updated text') // switches the text beautylog.ora.text('some updated text'); // switches the text
beautylog.ora.stop() beautylog.ora.stop();
``` ```
## Centralized remote logging ## Centralized remote logging
Beautylog makes it easy to have all your node applications log to a remote location. Beautylog makes it easy to have all your node applications log to a remote location.
```javascript ```javascript
import { Loggly } from 'beautyremote' import { Loggly } from 'beautyremote';
let myLogglyRemote = new Loggly({ let myLogglyRemote = new Loggly({
token: 'my_super_long_token_here' token: 'my_super_long_token_here'
}) });
beautylog.registerRemote(myLogglyRemote) beautylog.registerRemote(myLogglyRemote);
``` ```
> Note: Beautylog monkeypatches all console log methods. > Note: Beautylog monkeypatches all console log methods.
There is no need to change anything in your code. > There is no need to change anything in your code.
Everything that is getting logged to your console by node will get logged to a remote as well. > Everything that is getting logged to your console by node will get logged to a remote as well.
For further information read the linked docs at the top of this README. For further information read the linked docs at the top of this README.
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) > MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html) > | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
[![repo-footer](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://push.rocks) [![repo-footer](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://push.rocks)

View File

@ -1,4 +0,0 @@
{
"mode":"default",
"coveralls":true
}

View File

@ -31,17 +31,16 @@
}, },
"homepage": "https://gitlab.com/pushrocks/beautylog", "homepage": "https://gitlab.com/pushrocks/beautylog",
"dependencies": { "dependencies": {
"@types/lodash": "^4.14.55", "@types/lodash": "^4.14.104",
"beautycolor": "^1.0.7", "beautycolor": "^1.0.11",
"figlet": "^1.2.0", "figlet": "^1.2.0",
"lodash": "^4.17.4", "lodash": "^4.17.5",
"ora": "^1.1.0", "ora": "^2.0.0",
"smartenv": "^2.0.0", "smartenv": "^4.0.3",
"smartq": "^1.1.1", "smartlog-interfaces": "^1.0.5",
"typings-global": "^1.0.14" "smartq": "^1.1.6"
}, },
"devDependencies": { "devDependencies": {
"beautyremote": "^1.0.5",
"qenv": "^1.1.3", "qenv": "^1.1.3",
"smartchai": "^1.0.3", "smartchai": "^1.0.3",
"smartdelay": "^1.0.1", "smartdelay": "^1.0.1",

View File

@ -1,2 +1 @@
vars: vars:
- LOGGLY_TOKEN

View File

@ -1,84 +1,76 @@
import { tap, expect } from 'tapbundle' import { tap, expect } from 'tapbundle';
import * as smartdelay from 'smartdelay' import * as smartdelay from 'smartdelay';
import * as qenv from 'qenv' import * as qenv from 'qenv';
let testQenv = new qenv.Qenv(process.cwd(), process.cwd() + '/.nogit') let testQenv = new qenv.Qenv(process.cwd(), process.cwd() + '/.nogit');
import * as beautyremote from 'beautyremote' import beautylog = require('../ts/index');
import beautylog = require('../ts/index')
tap.test('.registerRemote should accept a beautyremote', async () => {
let myRemote = new beautyremote.Loggly({
token: process.env.LOGGLY_TOKEN
})
beautylog.registerRemote(myRemote)
})
tap.test('.log(message) should print a blue Dir message', async () => { tap.test('.log(message) should print a blue Dir message', async () => {
beautylog.log('beautylog.log(), with normal logText, without logType') beautylog.log('beautylog.log(), with normal logText, without logType');
}) });
tap.test('.dir(message) should print a blue Dir message', async () => { tap.test('.dir(message) should print a blue Dir message', async () => {
beautylog.dir('beautylog.dir(), with normal logText, without logType') beautylog.dir('beautylog.dir(), with normal logText, without logType');
}) });
tap.test('.error(message) should print a red error message', async () => { tap.test('.error(message) should print a red error message', async () => {
beautylog.error('beautylog.error(), with normal logText, without logType') beautylog.error('beautylog.error(), with normal logText, without logType');
}) });
tap.test('.figlet should print nice fonts to console in yellow', async () => { tap.test('.figlet should print nice fonts to console in yellow', async () => {
return beautylog.figlet('Async!', { font: 'Star Wars', color: 'orange' }) return beautylog.figlet('Async!', { font: 'Star Wars', color: 'orange' });
}) });
tap.test('.figletSync should print nice fonts to console in yellow', async () => { tap.test('.figletSync should print nice fonts to console in yellow', async () => {
beautylog.figletSync('Sync!', { font: 'Star Wars', color: 'blue' }) beautylog.figletSync('Sync!', { font: 'Star Wars', color: 'blue' });
}) });
tap.test('.info(message) should display a purple info message', async () => { tap.test('.info(message) should display a purple info message', async () => {
beautylog.info('beautylog.dir(), with normal logText, without logType') beautylog.info('beautylog.dir(), with normal logText, without logType');
}) });
tap.test('.logReduced(message) should only log two messages', async () => { tap.test('.logReduced(message) should only log two messages', async () => {
beautylog.logReduced('Message 1') beautylog.logReduced('Message 1');
beautylog.logReduced('Message 1') beautylog.logReduced('Message 1');
beautylog.logReduced('Message 1') beautylog.logReduced('Message 1');
beautylog.logReduced('Message 1') beautylog.logReduced('Message 1');
beautylog.logReduced('Message 2') beautylog.logReduced('Message 2');
beautylog.logReduced('Message 2') beautylog.logReduced('Message 2');
}) });
tap.test('.ok(message) should display a green ok message', async () => { tap.test('.ok(message) should display a green ok message', async () => {
beautylog.ok('beautylog.ok() works!') beautylog.ok('beautylog.ok() works!');
}) });
tap.test('.newLine(number) create specified amount of new lines', async () => { tap.test('.newLine(number) create specified amount of new lines', async () => {
beautylog.newLine(1) beautylog.newLine(1);
}) });
tap.test('.ora(text,color) should display, update, and end a message', async () => { tap.test('.ora(text,color) should display, update, and end a message', async () => {
beautylog.ora.start('This is a test text', 'green') beautylog.ora.start('This is a test text', 'green');
await smartdelay.delayFor(2000) await smartdelay.delayFor(2000);
beautylog.ora.text('updated text!') beautylog.ora.text('updated text!');
await smartdelay.delayFor(2000) await smartdelay.delayFor(2000);
beautylog.info('another log message that uses the normal log function') beautylog.info('another log message that uses the normal log function');
await smartdelay.delayFor(2000) await smartdelay.delayFor(2000);
beautylog.ora.endOk('Allright, ora works!') beautylog.ora.endOk('Allright, ora works!');
}) });
tap.test('.ora(text,color) should display an error message when ended with error', async () => { tap.test('.ora(text,color) should display an error message when ended with error', async () => {
beautylog.ora.start('This is another test text', 'green') beautylog.ora.start('This is another test text', 'green');
await smartdelay.delayFor(2000) await smartdelay.delayFor(2000);
beautylog.ora.endError('Allright, ora displays an error!') beautylog.ora.endError('Allright, ora displays an error!');
}) });
tap.test('.success(message) should display an orange warn message', async () => { tap.test('.success(message) should display an orange warn message', async () => {
beautylog.success('beautylog.success() works!') beautylog.success('beautylog.success() works!');
}) });
tap.test('.warn should display a orange warn message', async () => { tap.test('.warn should display a orange warn message', async () => {
beautylog.warn('beautylog.warn() works!') beautylog.warn('beautylog.warn() works!');
}) });
tap.test('.note should display a pink note', async () => { tap.test('.note should display a pink note', async () => {
beautylog.note('beautylog.note() works!') beautylog.note('beautylog.note() works!');
}) });

View File

@ -1,54 +1,59 @@
import 'typings-global' import 'typings-global';
import * as plugins from './beautylog.plugins' import * as plugins from './beautylog.plugins';
import { logNode } from './beautylog.log.helpers' import { logNode } from './beautylog.log.helpers';
export let oraActive: boolean = false // when an Ora is active (e.g. start()) this is true export let oraActive: boolean = false; // when an Ora is active (e.g. start()) this is true
export let activeOra: Ora // points to the currently active Ora object export let activeOra: Ora; // points to the currently active Ora object
export class Ora { export class Ora {
state: string state: string;
private _oraObject private _oraObject;
constructor(textArg: string, colorArg: string, startArg: boolean = false) { constructor(textArg: string, colorArg: string, startArg: boolean = false) {
this._oraObject = plugins.ora({ this._oraObject = plugins.ora({
spinner: 'dots', spinner: 'dots',
text: textArg, text: textArg,
color: colorArg color: colorArg
}) });
if (startArg) { if (startArg) {
this.start() this.start();
} }
} }
text(textArg) { text(textArg) {
this._oraObject.text = textArg this._oraObject.text = textArg;
} }
start(textArg?: string, colorArg?: string) { start(textArg?: string, colorArg?: string) {
if (textArg) { this.text(textArg) } if (textArg) {
if (colorArg) { this._oraObject.color = colorArg } this.text(textArg);
activeOra = this }
oraActive = true if (colorArg) {
this._oraObject.start() this._oraObject.color = colorArg;
}
activeOra = this;
oraActive = true;
this._oraObject.start();
} }
end() { end() {
this._oraObject.stop() this._oraObject.stop();
this._oraObject.clear() this._oraObject.clear();
activeOra = undefined activeOra = undefined;
oraActive = false oraActive = false;
} }
endOk(textArg) { endOk(textArg) {
this.end() this.end();
logNode('ok', textArg) logNode('ok', textArg);
} }
endError(textArg) { endError(textArg) {
this.end() this.end();
logNode('error', textArg) logNode('error', textArg);
} }
pause() { pause() {
this._oraObject.stop() this._oraObject.stop();
} }
stop() { // alias for end stop() {
this.end() // alias for end
this.end();
} }
} }
export let ora = new Ora('init...', 'blue', false) export let ora = new Ora('init...', 'blue', false);

View File

@ -1,40 +1,40 @@
import 'typings-global' import 'typings-global';
import plugins = require('./beautylog.plugins') import plugins = require('./beautylog.plugins');
import { activeOra, oraActive } from './beautylog.classes.ora' import { activeOra, oraActive } from './beautylog.classes.ora';
let nativeLog = console.log let nativeLog = console.log;
let nativeError = console.error let nativeError = console.error;
/** /**
* routes the console to got through beautylog, so beautylog can take action before things are logged to console. * routes the console to got through beautylog, so beautylog can take action before things are logged to console.
*/ */
let route = function (statusArg: boolean) { let route = function(statusArg: boolean) {
if (statusArg === true) { if (statusArg === true) {
console.log = beautyConsole.log console.log = beautyConsole.log;
console.error = beautyConsole.error console.error = beautyConsole.error;
} else { } else {
console.log = nativeLog console.log = nativeLog;
} }
} };
export let beautyConsole = { export let beautyConsole = {
log: function (logArg: any) { log: function(logArg: any) {
if (oraActive) { if (oraActive) {
activeOra.pause() activeOra.pause();
nativeLog.apply(nativeLog, arguments) nativeLog.apply(nativeLog, arguments);
activeOra.start() activeOra.start();
} else { } else {
nativeLog.apply(nativeLog, arguments) nativeLog.apply(nativeLog, arguments);
} }
}, },
error: function () { error: function() {
if (oraActive) { if (oraActive) {
activeOra.pause() activeOra.pause();
nativeLog.apply(nativeError, arguments) nativeLog.apply(nativeError, arguments);
activeOra.start() activeOra.start();
} else { } else {
nativeLog.apply(nativeError, arguments) nativeLog.apply(nativeError, arguments);
} }
} }
} };
route(true) route(true);

View File

@ -1,61 +1,61 @@
import 'typings-global' import 'typings-global';
import plugins = require('./beautylog.plugins') import plugins = require('./beautylog.plugins');
export interface IFigletOptions { export interface IFigletOptions {
font?: string font?: string;
color?: plugins.beautycolor.TColorName color?: plugins.beautycolor.TColorName;
cb? cb?;
} }
let defaultOptions: IFigletOptions = { let defaultOptions: IFigletOptions = {
font: 'Star Wars', font: 'Star Wars',
color: 'green', color: 'green',
cb: function() {} cb: function() {}
} };
export let figlet = function(textArg: string, optionsArg?){ export let figlet = function(textArg: string, optionsArg?) {
let done = plugins.q.defer() let done = plugins.q.defer();
let mergeOptions = plugins.lodash.cloneDeep(defaultOptions) let mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
let options = plugins.lodash.assign(mergeOptions,optionsArg) let options = plugins.lodash.assign(mergeOptions, optionsArg);
plugins.figlet( plugins.figlet(
textArg, textArg,
{ {
font: options.font, font: options.font,
horizontalLayout: 'default', horizontalLayout: 'default',
verticalLayout: 'default' verticalLayout: 'default'
}, },
function(err, data: string) { function(err, data: string) {
if (err) { if (err) {
console.log('Something went wrong...') console.log('Something went wrong...');
console.dir(err) console.dir(err);
return return;
} }
console.log(colorFiglet(data, options.color)) console.log(colorFiglet(data, options.color));
options.cb() options.cb();
done.resolve() done.resolve();
} }
) );
return done.promise return done.promise;
} };
export let figletSync = function(textArg: string,optionsArg?: IFigletOptions){ export let figletSync = function(textArg: string, optionsArg?: IFigletOptions) {
let mergeOptions = plugins.lodash.cloneDeep(defaultOptions) let mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
let options = plugins.lodash.assign(mergeOptions,optionsArg) let options = plugins.lodash.assign(mergeOptions, optionsArg);
let figletString: string = plugins.figlet.textSync(textArg,{ let figletString: string = plugins.figlet.textSync(textArg, {
font: options.font, font: options.font,
horizontalLayout: 'default', horizontalLayout: 'default',
verticalLayout: 'default' verticalLayout: 'default'
}) });
console.log(colorFiglet(figletString, options.color)) console.log(colorFiglet(figletString, options.color));
return true return true;
} };
let colorFiglet = (figletStringArg, colorArg: plugins.beautycolor.TColorName) => { let colorFiglet = (figletStringArg, colorArg: plugins.beautycolor.TColorName) => {
let figletArray = figletStringArg.split('\n') let figletArray = figletStringArg.split('\n');
let figletStringCombined = '' let figletStringCombined = '';
for (let figletRow of figletArray ) { for (let figletRow of figletArray) {
figletRow = plugins.beautycolor.coloredString(figletRow, colorArg) figletRow = plugins.beautycolor.coloredString(figletRow, colorArg);
figletStringCombined = figletStringCombined + figletRow + '\n' figletStringCombined = figletStringCombined + figletRow + '\n';
} }
return figletStringCombined return figletStringCombined;
} };

View File

@ -1,5 +1,4 @@
import * as plugins from './beautylog.plugins' import * as plugins from './beautylog.plugins';
import { remoteLog } from './beautylog.remote'
/** /**
* *
@ -7,106 +6,111 @@ import { remoteLog } from './beautylog.remote'
* @param logType * @param logType
* @returns {boolean} * @returns {boolean}
*/ */
export let internalLog = function (logType: string = 'normal', logText: string = 'empty log') { export let internalLog = function(logType: string = 'normal', logText: string = 'empty log') {
switch (plugins.smartenv.getEnv().runtimeEnv) { switch ((new plugins.smartenv.Smartenv()).runtimeEnv) {
case 'node': case 'node':
logNode(logType, logText) logNode(logType, logText);
remoteLog(logType, logText) break;
break
case 'browser': case 'browser':
logBrowser(logText, logType) logBrowser(logText, logType);
break break;
default: default:
console.log('something is strange about the platform in which you try to use beautylog') console.log('something is strange about the platform in which you try to use beautylog');
break break;
} }
} };
let coloredString = plugins.beautycolor.coloredString let coloredString = plugins.beautycolor.coloredString;
let localBl = { let localBl = {
dirPrefix: coloredString(' DIR ', 'white', 'blue') + ' ', dirPrefix: coloredString(' DIR ', 'white', 'blue') + ' ',
errorPrefix: coloredString(' ', 'red', 'red') + coloredString(' ERROR! ', 'red', 'black') + ' ', errorPrefix: coloredString(' ', 'red', 'red') + coloredString(' ERROR! ', 'red', 'black') + ' ',
infoPrefix: coloredString(' ', 'blue', 'blue') + coloredString(' INFO: ', 'blue', 'black') + ' ', infoPrefix: coloredString(' ', 'blue', 'blue') + coloredString(' INFO: ', 'blue', 'black') + ' ',
logPrefix: coloredString(' ', 'white', 'cyan') + coloredString(' LOG: ', 'cyan', 'black') + ' ', logPrefix: coloredString(' ', 'white', 'cyan') + coloredString(' LOG: ', 'cyan', 'black') + ' ',
notePrefix: coloredString(' ', 'pink', 'pink') + coloredString(' NOTE -> ', 'pink', 'black') + ' ', notePrefix:
coloredString(' ', 'pink', 'pink') + coloredString(' NOTE -> ', 'pink', 'black') + ' ',
okPrefix: coloredString(' ', 'green', 'green') + coloredString(' OK! ', 'green', 'black') + ' ', okPrefix: coloredString(' ', 'green', 'green') + coloredString(' OK! ', 'green', 'black') + ' ',
successPrefix: coloredString(' ', 'green', 'green') + coloredString(' SUCCESS! ', 'green', 'black') + ' ', successPrefix:
warnPrefix: coloredString(' ', 'orange', 'orange') + coloredString(' WARN: -> ', 'orange', 'black') + ' ' coloredString(' ', 'green', 'green') + coloredString(' SUCCESS! ', 'green', 'black') + ' ',
} warnPrefix:
coloredString(' ', 'orange', 'orange') + coloredString(' WARN: -> ', 'orange', 'black') + ' '
};
export let logNode = function (logType: string, logText: string) { export let logNode = function(logType: string, logText: string) {
try { try {
switch (logType) { switch (logType) {
case 'dir': case 'dir':
logText = localBl.dirPrefix + coloredString(logText, 'blue') logText = localBl.dirPrefix + coloredString(logText, 'blue');
break break;
case 'error': case 'error':
logText = localBl.errorPrefix + coloredString(logText, 'red') logText = localBl.errorPrefix + coloredString(logText, 'red');
break break;
case 'info': case 'info':
logText = localBl.infoPrefix + coloredString(logText, 'blue') logText = localBl.infoPrefix + coloredString(logText, 'blue');
break break;
case 'normal': case 'normal':
logText = localBl.logPrefix + coloredString(logText, 'cyan') logText = localBl.logPrefix + coloredString(logText, 'cyan');
break break;
case 'note': case 'note':
logText = localBl.notePrefix + coloredString(logText, 'pink') logText = localBl.notePrefix + coloredString(logText, 'pink');
break break;
case 'ok': case 'ok':
logText = localBl.okPrefix + coloredString(logText, 'green') logText = localBl.okPrefix + coloredString(logText, 'green');
break break;
case 'success': case 'success':
logText = localBl.successPrefix + coloredString(logText, 'green') logText = localBl.successPrefix + coloredString(logText, 'green');
break break;
case 'warn': case 'warn':
logText = localBl.warnPrefix + coloredString(logText, 'orange') logText = localBl.warnPrefix + coloredString(logText, 'orange');
break break;
case 'log': case 'log':
logText = localBl.logPrefix + coloredString(logText, 'cyan') logText = localBl.logPrefix + coloredString(logText, 'cyan');
break break;
default: default:
coloredString(logText, 'blue') coloredString(logText, 'blue');
console.log(('unknown logType for "' + logText + '"')) console.log('unknown logType for "' + logText + '"');
break break;
} }
console.log(logText) console.log(logText);
return true return true;
} catch (error) { } catch (error) {
console.log(localBl.errorPrefix console.log(localBl.errorPrefix + 'You seem to have tried logging something strange' + error);
+ 'You seem to have tried logging something strange' + error) return false;
return false
} }
} };
let logBrowser = function (logText, logType) { let logBrowser = function(logText, logType) {
switch (logType) { switch (logType) {
case 'dir': case 'dir':
logText = localBl.dirPrefix + coloredString(logText, 'blue') logText = localBl.dirPrefix + coloredString(logText, 'blue');
break break;
case 'error': case 'error':
logText = localBl.errorPrefix + logText.red.bold logText = localBl.errorPrefix + logText.red.bold;
break break;
case 'info': case 'info':
console.log('%c Info: %c ' + logText, 'background:#EC407A;color:#ffffff;', 'color:#EC407A;') console.log('%c Info: %c ' + logText, 'background:#EC407A;color:#ffffff;', 'color:#EC407A;');
break break;
case 'normal': case 'normal':
logText = localBl.logPrefix + logText.cyan.bold logText = localBl.logPrefix + logText.cyan.bold;
break break;
case 'ok': case 'ok':
console.log('%c OK: %c ' + logText, 'background:#000000;color:#8BC34A;', 'color:#000000;') console.log('%c OK: %c ' + logText, 'background:#000000;color:#8BC34A;', 'color:#000000;');
break break;
case 'success': case 'success':
console.log('%c Success: %c ' + logText, 'background:#8BC34A;color:#ffffff;', 'color:#8BC34A;') console.log(
break '%c Success: %c ' + logText,
'background:#8BC34A;color:#ffffff;',
'color:#8BC34A;'
);
break;
case 'warn': case 'warn':
console.log('%c Warn: %c ' + logText, 'background:#000000;color:#FB8C00;', 'color:#000000;') console.log('%c Warn: %c ' + logText, 'background:#000000;color:#FB8C00;', 'color:#000000;');
break break;
case 'log': case 'log':
console.log('%c Log: %c ' + logText, 'background:#42A5F5;color:#ffffff', 'color:#42A5F5;') console.log('%c Log: %c ' + logText, 'background:#42A5F5;color:#ffffff', 'color:#42A5F5;');
break break;
default: default:
console.log('unknown logType for "' + logText + '"') console.log('unknown logType for "' + logText + '"');
break break;
} }
} };

View File

@ -1,6 +1,6 @@
import 'typings-global' import 'typings-global';
import { internalLog } from './beautylog.log.helpers' import { internalLog } from './beautylog.log.helpers';
/** /**
* logs an info to console * logs an info to console
@ -8,65 +8,65 @@ import { internalLog } from './beautylog.log.helpers'
* @returns {boolean} * @returns {boolean}
*/ */
export let log = (logText) => { export let log = logText => {
return internalLog('log', logText) return internalLog('log', logText);
} };
export let info = (logText) => { export let info = logText => {
return internalLog('info', logText) return internalLog('info', logText);
} };
/** /**
* logs an 'OK!' message to console * logs an 'OK!' message to console
* @param logText * @param logText
* @returns {boolean} * @returns {boolean}
*/ */
export let ok = (logText) => { export let ok = logText => {
return internalLog('ok', logText) return internalLog('ok', logText);
} };
/** /**
* logs a success to console * logs a success to console
* @param logText string to log as error * @param logText string to log as error
* @returns {boolean} * @returns {boolean}
*/ */
export let success = (logText) => { export let success = logText => {
return internalLog('success', logText) return internalLog('success', logText);
} };
/** /**
* logs a 'warn:' message to console * logs a 'warn:' message to console
* @param logText string to log as error * @param logText string to log as error
* @returns {boolean} * @returns {boolean}
*/ */
export let warn = (logText) => { export let warn = logText => {
return internalLog('warn', logText) return internalLog('warn', logText);
} };
/** /**
* logs an error to console * logs an error to console
* @param logText * @param logText
* @returns {boolean} * @returns {boolean}
*/ */
export let error = (logText) => { export let error = logText => {
return internalLog('error', logText) return internalLog('error', logText);
} };
/** /**
* logs an directory to console * logs an directory to console
* @param logText * @param logText
* @returns {boolean} * @returns {boolean}
*/ */
export let dir = (logText) => { export let dir = logText => {
return internalLog('dir', logText) return internalLog('dir', logText);
} };
/** /**
* note * note
*/ */
export let note = (logText) => { export let note = logText => {
return internalLog('note', logText) return internalLog('note', logText);
} };
/** /**
* creates a new empty line * creates a new empty line
@ -75,21 +75,24 @@ export let note = (logText) => {
*/ */
export let newLine = (linesArg: number = 1) => { export let newLine = (linesArg: number = 1) => {
for (let i = 0; i < linesArg; i++) { for (let i = 0; i < linesArg; i++) {
console.log('\n') console.log('\n');
} }
} };
/** /**
* logs a reduced log that only logs changes of consequential log messages * logs a reduced log that only logs changes of consequential log messages
*/ */
export let logReduced = (logTextArg: string, repeatEveryTimesArg: number = 0) => { export let logReduced = (logTextArg: string, repeatEveryTimesArg: number = 0) => {
if (logTextArg === previousMessage && (repeatEveryTimesArg === 0 || sameMessageCounter !== repeatEveryTimesArg)) { if (
sameMessageCounter++ logTextArg === previousMessage &&
(repeatEveryTimesArg === 0 || sameMessageCounter !== repeatEveryTimesArg)
) {
sameMessageCounter++;
} else { } else {
sameMessageCounter = 0 sameMessageCounter = 0;
previousMessage = logTextArg previousMessage = logTextArg;
log(logTextArg) log(logTextArg);
} }
} };
let previousMessage: string = '' let previousMessage: string = '';
let sameMessageCounter: number = 0 let sameMessageCounter: number = 0;

View File

@ -1,17 +1,9 @@
import 'typings-global' import * as beautycolor from 'beautycolor';
import * as lodash from 'lodash';
import * as smartenv from 'smartenv';
import * as smartlogInterfaces from 'smartlog-interfaces';
import * as q from 'smartq';
let figlet = require('figlet');
let ora = require('ora');
import * as beautycolor from 'beautycolor' export { beautycolor, lodash, smartenv, smartlogInterfaces, q, figlet, ora };
import * as lodash from 'lodash'
import * as smartenv from 'smartenv'
import * as q from 'smartq'
let figlet = require('figlet')
let ora = require('ora')
export {
beautycolor,
lodash,
smartenv,
q,
figlet,
ora
}

View File

@ -1,8 +0,0 @@
import {remoteArray} from './beautylog.remote'
/**
* registers a remote
*/
export let registerRemote = (remoteArg: any) => {
remoteArray.push(remoteArg)
}

View File

@ -1,17 +0,0 @@
import * as plugins from './beautylog.plugins'
export interface ILogMethod {
(logType: string, logMessage: string): void
}
export interface IBeautyRemote {
log: ILogMethod
}
export let remoteArray: IBeautyRemote[] = []
export let remoteLog = (logType: string, logMessage: string) => {
for (let beautyremote of remoteArray) {
beautyremote.log(logType, logMessage)
}
}

View File

@ -1,11 +1,21 @@
import 'typings-global' import 'typings-global';
import './beautylog.console' import './beautylog.console';
import * as plugins from './beautylog.plugins' import * as plugins from './beautylog.plugins';
// export classes // export classes
export { ora } from './beautylog.classes.ora' export { ora } from './beautylog.classes.ora';
// export methods // export methods
export { dir, error, info, log, logReduced, note, ok, success, warn, newLine } from './beautylog.log' export {
export { figlet, figletSync } from './beautylog.figlet' dir,
export { registerRemote } from './beautylog.register' error,
info,
log,
logReduced,
note,
ok,
success,
warn,
newLine
} from './beautylog.log';
export { figlet, figletSync } from './beautylog.figlet';

249
yarn.lock
View File

@ -25,6 +25,10 @@
dependencies: dependencies:
"@types/node" "*" "@types/node" "*"
"@types/lodash@^4.14.104":
version "4.14.104"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.104.tgz#53ee2357fa2e6e68379341d92eb2ecea4b11bb80"
"@types/lodash@^4.14.55": "@types/lodash@^4.14.55":
version "4.14.55" version "4.14.55"
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.55.tgz#75d7d4eba020ee4103d4cbd0f2a3ef5db8f7534f" resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.55.tgz#75d7d4eba020ee4103d4cbd0f2a3ef5db8f7534f"
@ -33,6 +37,10 @@
version "7.0.8" version "7.0.8"
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.8.tgz#25e4dd804b630c916ae671233e6d71f6ce18124a" resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.8.tgz#25e4dd804b630c916ae671233e6d71f6ce18124a"
"@types/node@^9.4.4":
version "9.4.6"
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.6.tgz#d8176d864ee48753d053783e4e463aec86b8d82e"
"@types/promises-a-plus@*": "@types/promises-a-plus@*":
version "0.0.27" version "0.0.27"
resolved "https://registry.yarnpkg.com/@types/promises-a-plus/-/promises-a-plus-0.0.27.tgz#c64651134614c84b8f5d7114ce8901d36a609780" resolved "https://registry.yarnpkg.com/@types/promises-a-plus/-/promises-a-plus-0.0.27.tgz#c64651134614c84b8f5d7114ce8901d36a609780"
@ -67,10 +75,20 @@ ansi-regex@^2.0.0:
version "2.1.1" version "2.1.1"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
ansi-regex@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
ansi-styles@^2.2.1: ansi-styles@^2.2.1:
version "2.2.1" version "2.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
ansi-styles@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88"
dependencies:
color-convert "^1.9.0"
append-transform@^0.4.0: append-transform@^0.4.0:
version "0.4.0" version "0.4.0"
resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991" resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991"
@ -212,12 +230,23 @@ balanced-match@^0.4.1:
version "0.4.2" version "0.4.2"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"
balanced-match@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
bcrypt-pbkdf@^1.0.0: bcrypt-pbkdf@^1.0.0:
version "1.0.1" version "1.0.1"
resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d"
dependencies: dependencies:
tweetnacl "^0.14.3" tweetnacl "^0.14.3"
beautycolor@^1.0.11:
version "1.0.11"
resolved "https://registry.yarnpkg.com/beautycolor/-/beautycolor-1.0.11.tgz#71c5568d5a7ed5c144d3a54f753ad1b08862aea5"
dependencies:
ansi-256-colors "^1.1.0"
typings-global "^1.0.14"
beautycolor@^1.0.7: beautycolor@^1.0.7:
version "1.0.7" version "1.0.7"
resolved "https://registry.yarnpkg.com/beautycolor/-/beautycolor-1.0.7.tgz#a4715738ac4c8221371e9cbeb5a6cc6d11ecbf7c" resolved "https://registry.yarnpkg.com/beautycolor/-/beautycolor-1.0.7.tgz#a4715738ac4c8221371e9cbeb5a6cc6d11ecbf7c"
@ -225,12 +254,17 @@ beautycolor@^1.0.7:
ansi-256-colors "^1.1.0" ansi-256-colors "^1.1.0"
typings-global "^1.0.14" typings-global "^1.0.14"
beautyremote@^1.0.5: beautylog@6.1.10:
version "1.0.5" version "6.1.10"
resolved "https://registry.yarnpkg.com/beautyremote/-/beautyremote-1.0.5.tgz#18a768b2539c202d0f6811e18e515145c7df9026" resolved "https://registry.yarnpkg.com/beautylog/-/beautylog-6.1.10.tgz#9c27e566937684cb689f9372d98cfa5415d50b72"
dependencies: dependencies:
smartq "^1.1.0" "@types/lodash" "^4.14.55"
smartrequest "^1.0.0" beautycolor "^1.0.7"
figlet "^1.2.0"
lodash "^4.17.4"
ora "^1.1.0"
smartenv "^2.0.0"
smartq "^1.1.1"
typings-global "^1.0.14" typings-global "^1.0.14"
bind-obj-methods@^1.0.0: bind-obj-methods@^1.0.0:
@ -254,6 +288,13 @@ brace-expansion@^1.0.0:
balanced-match "^0.4.1" balanced-match "^0.4.1"
concat-map "0.0.1" concat-map "0.0.1"
brace-expansion@^1.1.7:
version "1.1.11"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
dependencies:
balanced-match "^1.0.0"
concat-map "0.0.1"
braces@^1.8.2: braces@^1.8.2:
version "1.8.5" version "1.8.5"
resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7"
@ -325,6 +366,14 @@ chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1:
strip-ansi "^3.0.0" strip-ansi "^3.0.0"
supports-color "^2.0.0" supports-color "^2.0.0"
chalk@^2.0.1, chalk@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.1.tgz#523fe2678aec7b04e8041909292fe8b17059b796"
dependencies:
ansi-styles "^3.2.0"
escape-string-regexp "^1.0.5"
supports-color "^5.2.0"
check-error@^1.0.2: check-error@^1.0.2:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82"
@ -343,6 +392,10 @@ cli-spinners@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-1.0.0.tgz#ef987ed3d48391ac3dab9180b406a742180d6e6a" resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-1.0.0.tgz#ef987ed3d48391ac3dab9180b406a742180d6e6a"
cli-spinners@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-1.1.0.tgz#f1847b168844d917a671eb9d147e3df497c90d06"
cliui@^2.1.0: cliui@^2.1.0:
version "2.1.0" version "2.1.0"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1"
@ -371,6 +424,10 @@ clone@^1.0.0:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.2.tgz#260b7a99ebb1edfe247538175f783243cb19d149" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.2.tgz#260b7a99ebb1edfe247538175f783243cb19d149"
clone@^1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.3.tgz#298d7e2231660f40c003c2ed3140decf3f53085f"
cloneable-readable@^1.0.0: cloneable-readable@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.0.0.tgz#a6290d413f217a61232f95e458ff38418cfb0117" resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.0.0.tgz#a6290d413f217a61232f95e458ff38418cfb0117"
@ -383,6 +440,16 @@ code-point-at@^1.0.0:
version "1.1.0" version "1.1.0"
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
color-convert@^1.9.0:
version "1.9.1"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed"
dependencies:
color-name "^1.1.1"
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.0: color-support@^1.1.0:
version "1.1.2" version "1.1.2"
resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.2.tgz#49cc99b89d1bdef1292e9d9323c66971a33eb89d" resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.2.tgz#49cc99b89d1bdef1292e9d9323c66971a33eb89d"
@ -478,6 +545,19 @@ default-require-extensions@^1.0.0:
dependencies: dependencies:
strip-bom "^2.0.0" strip-bom "^2.0.0"
defaults@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d"
dependencies:
clone "^1.0.2"
define-properties@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94"
dependencies:
foreach "^2.0.5"
object-keys "^1.0.8"
delayed-stream@~1.0.0: delayed-stream@~1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
@ -504,7 +584,25 @@ error-ex@^1.2.0:
dependencies: dependencies:
is-arrayish "^0.2.1" is-arrayish "^0.2.1"
escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.3: es-abstract@^1.5.1:
version "1.10.0"
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864"
dependencies:
es-to-primitive "^1.1.1"
function-bind "^1.1.1"
has "^1.0.1"
is-callable "^1.1.3"
is-regex "^1.0.4"
es-to-primitive@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d"
dependencies:
is-callable "^1.1.1"
is-date-object "^1.0.1"
is-symbol "^1.0.1"
escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.3, escape-string-regexp@^1.0.5:
version "1.0.5" version "1.0.5"
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
@ -599,6 +697,10 @@ for-own@^0.1.4:
dependencies: dependencies:
for-in "^1.0.1" for-in "^1.0.1"
foreach@^2.0.5:
version "2.0.5"
resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99"
foreground-child@^1.3.3, foreground-child@^1.5.3: foreground-child@^1.3.3, foreground-child@^1.5.3:
version "1.5.6" version "1.5.6"
resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-1.5.6.tgz#4fd71ad2dfde96789b980a5c0a295937cb2f5ce9" resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-1.5.6.tgz#4fd71ad2dfde96789b980a5c0a295937cb2f5ce9"
@ -633,6 +735,10 @@ fs.realpath@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
function-bind@^1.0.2, function-bind@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
function-loop@^1.0.1: function-loop@^1.0.1:
version "1.0.1" version "1.0.1"
resolved "https://registry.yarnpkg.com/function-loop/-/function-loop-1.0.1.tgz#8076bb305e8e6a3cceee2920765f330d190f340c" resolved "https://registry.yarnpkg.com/function-loop/-/function-loop-1.0.1.tgz#8076bb305e8e6a3cceee2920765f330d190f340c"
@ -722,6 +828,16 @@ has-flag@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
has-flag@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
has@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28"
dependencies:
function-bind "^1.0.2"
hawk@~3.1.3: hawk@~3.1.3:
version "3.1.3" version "3.1.3"
resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4"
@ -796,6 +912,14 @@ is-builtin-module@^1.0.0:
dependencies: dependencies:
builtin-modules "^1.0.0" builtin-modules "^1.0.0"
is-callable@^1.1.1, is-callable@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
is-date-object@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
is-dotfile@^1.0.0: is-dotfile@^1.0.0:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d" resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d"
@ -855,14 +979,28 @@ is-primitive@^2.0.0:
version "2.0.0" version "2.0.0"
resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575"
is-promise@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa"
is-property@^1.0.0: is-property@^1.0.0:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84" resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84"
is-regex@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
dependencies:
has "^1.0.1"
is-stream@^1.1.0: is-stream@^1.1.0:
version "1.1.0" version "1.1.0"
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
is-symbol@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572"
is-typedarray@~1.0.0: is-typedarray@~1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
@ -1032,6 +1170,10 @@ lodash@^4.17.2, lodash@^4.17.4, lodash@^4.2.0:
version "4.17.4" version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
lodash@^4.17.5:
version "4.17.5"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
log-driver@1.2.5: log-driver@1.2.5:
version "1.2.5" version "1.2.5"
resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.5.tgz#7ae4ec257302fd790d557cb10c97100d857b0056" resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.5.tgz#7ae4ec257302fd790d557cb10c97100d857b0056"
@ -1042,6 +1184,12 @@ log-symbols@^1.0.2:
dependencies: dependencies:
chalk "^1.0.0" chalk "^1.0.0"
log-symbols@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
dependencies:
chalk "^2.0.1"
longest@^1.0.1: longest@^1.0.1:
version "1.0.1" version "1.0.1"
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
@ -1113,6 +1261,12 @@ minimatch@^3.0.2:
dependencies: dependencies:
brace-expansion "^1.0.0" brace-expansion "^1.0.0"
minimatch@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
dependencies:
brace-expansion "^1.1.7"
minimist@0.0.8, minimist@~0.0.1: minimist@0.0.8, minimist@~0.0.1:
version "0.0.8" version "0.0.8"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
@ -1190,6 +1344,17 @@ object-assign@^4.1.0:
version "4.1.1" version "4.1.1"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
object-keys@^1.0.8:
version "1.0.11"
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d"
object.getownpropertydescriptors@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16"
dependencies:
define-properties "^1.1.2"
es-abstract "^1.5.1"
object.omit@^2.0.0: object.omit@^2.0.0:
version "2.0.1" version "2.0.1"
resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa"
@ -1233,6 +1398,17 @@ ora@^1.1.0:
cli-spinners "^1.0.0" cli-spinners "^1.0.0"
log-symbols "^1.0.2" log-symbols "^1.0.2"
ora@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ora/-/ora-2.0.0.tgz#8ec3a37fa7bffb54a3a0c188a1f6798e7e1827cd"
dependencies:
chalk "^2.3.1"
cli-cursor "^2.1.0"
cli-spinners "^1.1.0"
log-symbols "^2.2.0"
strip-ansi "^4.0.0"
wcwidth "^1.0.1"
os-homedir@1.0.1, os-homedir@^1.0.1: os-homedir@1.0.1, os-homedir@^1.0.1:
version "1.0.1" version "1.0.1"
resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.1.tgz#0d62bdf44b916fd3bbdcf2cab191948fb094f007" resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.1.tgz#0d62bdf44b916fd3bbdcf2cab191948fb094f007"
@ -1533,6 +1709,15 @@ smartenv@^2.0.0:
q "^1.4.1" q "^1.4.1"
typings-global "^1.0.14" typings-global "^1.0.14"
smartenv@^4.0.3:
version "4.0.3"
resolved "https://registry.yarnpkg.com/smartenv/-/smartenv-4.0.3.tgz#656451d0230103863239003a34857733e5467a23"
dependencies:
"@types/node" "^9.4.4"
lodash "^4.17.5"
smartparam "^1.0.2"
smartq "^1.1.6"
smartfile@^4.1.3: smartfile@^4.1.3:
version "4.1.7" version "4.1.7"
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.1.7.tgz#5657bea62ad673d891b2c9a00f5866154e768c3f" resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.1.7.tgz#5657bea62ad673d891b2c9a00f5866154e768c3f"
@ -1550,6 +1735,20 @@ smartfile@^4.1.3:
vinyl "^2.0.1" vinyl "^2.0.1"
vinyl-file "^3.0.0" vinyl-file "^3.0.0"
smartlog-interfaces@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/smartlog-interfaces/-/smartlog-interfaces-1.0.5.tgz#49915bba28b39f58e437b975e85e4709bc5ea2c5"
smartparam@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/smartparam/-/smartparam-1.0.2.tgz#6b6a50353b81dbe3353c0d353fbccd02e8963f2c"
dependencies:
beautylog "6.1.10"
is-promise "^2.1.0"
minimatch "^3.0.4"
smartq "^1.1.6"
typings-global "^1.0.20"
smartpath@^3.2.7: smartpath@^3.2.7:
version "3.2.8" version "3.2.8"
resolved "https://registry.yarnpkg.com/smartpath/-/smartpath-3.2.8.tgz#4834bd3a8bae2295baacadba23c87a501952f940" resolved "https://registry.yarnpkg.com/smartpath/-/smartpath-3.2.8.tgz#4834bd3a8bae2295baacadba23c87a501952f940"
@ -1564,7 +1763,14 @@ smartq@^1.0.4, smartq@^1.1.0, smartq@^1.1.1:
typed-promisify "^0.3.0" typed-promisify "^0.3.0"
typings-global "^1.0.14" typings-global "^1.0.14"
smartrequest@^1.0.0, smartrequest@^1.0.4: smartq@^1.1.6:
version "1.1.6"
resolved "https://registry.yarnpkg.com/smartq/-/smartq-1.1.6.tgz#0c1ff4336d95e95b4f1fdd8ccd7e2c5a323b8412"
dependencies:
typings-global "^1.0.19"
util.promisify "^1.0.0"
smartrequest@^1.0.4:
version "1.0.4" version "1.0.4"
resolved "https://registry.yarnpkg.com/smartrequest/-/smartrequest-1.0.4.tgz#86af2163ae28f1031b01c2d8ad8c429733920611" resolved "https://registry.yarnpkg.com/smartrequest/-/smartrequest-1.0.4.tgz#86af2163ae28f1031b01c2d8ad8c429733920611"
dependencies: dependencies:
@ -1663,6 +1869,12 @@ strip-ansi@^3.0.0, strip-ansi@^3.0.1:
dependencies: dependencies:
ansi-regex "^2.0.0" ansi-regex "^2.0.0"
strip-ansi@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f"
dependencies:
ansi-regex "^3.0.0"
strip-bom-buf@^1.0.0: strip-bom-buf@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/strip-bom-buf/-/strip-bom-buf-1.0.0.tgz#1cb45aaf57530f4caf86c7f75179d2c9a51dd572" resolved "https://registry.yarnpkg.com/strip-bom-buf/-/strip-bom-buf-1.0.0.tgz#1cb45aaf57530f4caf86c7f75179d2c9a51dd572"
@ -1692,6 +1904,12 @@ supports-color@^3.1.2:
dependencies: dependencies:
has-flag "^1.0.0" has-flag "^1.0.0"
supports-color@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.2.0.tgz#b0d5333b1184dd3666cbe5aa0b45c5ac7ac17a4a"
dependencies:
has-flag "^3.0.0"
tap-mocha-reporter@^3.0.1: tap-mocha-reporter@^3.0.1:
version "3.0.3" version "3.0.3"
resolved "https://registry.yarnpkg.com/tap-mocha-reporter/-/tap-mocha-reporter-3.0.3.tgz#e5917fad3d9a70957f9b7c736e793beb87d7daf1" resolved "https://registry.yarnpkg.com/tap-mocha-reporter/-/tap-mocha-reporter-3.0.3.tgz#e5917fad3d9a70957f9b7c736e793beb87d7daf1"
@ -1822,6 +2040,10 @@ typings-global@^1.0.14:
semver "^5.3.0" semver "^5.3.0"
shelljs "^0.7.4" shelljs "^0.7.4"
typings-global@^1.0.19, typings-global@^1.0.20:
version "1.0.28"
resolved "https://registry.yarnpkg.com/typings-global/-/typings-global-1.0.28.tgz#e28cc965476564cbc00e438739e0aa0735d323d4"
uglify-js@^2.6: uglify-js@^2.6:
version "2.8.22" version "2.8.22"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.22.tgz#d54934778a8da14903fa29a326fb24c0ab51a1a0" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.22.tgz#d54934778a8da14903fa29a326fb24c0ab51a1a0"
@ -1846,6 +2068,13 @@ util-deprecate@~1.0.1:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
util.promisify@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030"
dependencies:
define-properties "^1.1.2"
object.getownpropertydescriptors "^2.0.3"
uuid@^3.0.0: uuid@^3.0.0:
version "3.0.1" version "3.0.1"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1"
@ -1885,6 +2114,12 @@ vinyl@^2.0.1:
remove-trailing-separator "^1.0.1" remove-trailing-separator "^1.0.1"
replace-ext "^1.0.0" replace-ext "^1.0.0"
wcwidth@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"
dependencies:
defaults "^1.0.3"
which-module@^1.0.0: which-module@^1.0.0:
version "1.0.0" version "1.0.0"
resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f"