Compare commits
44 Commits
Author | SHA1 | Date | |
---|---|---|---|
c9e92e9549 | |||
0309e037a0 | |||
872385dbc4 | |||
922591d45d | |||
a39a2bdfa8 | |||
93128628cc | |||
023b3ff377 | |||
8e3f65061a | |||
1f9bfcc856 | |||
04686b810f | |||
f9afc486f3 | |||
ce6bdb984c | |||
10fa0af94c | |||
0a3f6da174 | |||
9073d9a7f8 | |||
890cd463d5 | |||
186766df3d | |||
62ff7ec717 | |||
ca3286625d | |||
ff33c9597a | |||
65604d4ec0 | |||
f83c8feb3e | |||
2b7a4ff07a | |||
1c59952bb5 | |||
bb48d3cb04 | |||
64a555748e | |||
34fd838e80 | |||
b48b2a77b0 | |||
99c2c2e84f | |||
bf791d732c | |||
e5e7f00353 | |||
78bd0605aa | |||
f1e3ca6014 | |||
0712d47155 | |||
2a9b686e94 | |||
a9180878d5 | |||
4a1214a87f | |||
d85878713e | |||
9d65e37a60 | |||
5dd07e34ed | |||
ba7727dc55 | |||
7c85387c85 | |||
c978ada06c | |||
ca749d45b1 |
26
.gitignore
vendored
26
.gitignore
vendored
@ -1,10 +1,20 @@
|
|||||||
node_modules/
|
|
||||||
coverage/
|
|
||||||
pages/
|
|
||||||
public/
|
|
||||||
|
|
||||||
|
|
||||||
npm-debug.log
|
|
||||||
|
|
||||||
.nogit/
|
.nogit/
|
||||||
|
|
||||||
|
# artifacts
|
||||||
|
coverage/
|
||||||
|
public/
|
||||||
|
pages/
|
||||||
|
|
||||||
|
# installs
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# caches
|
||||||
|
.yarn/
|
||||||
|
.cache/
|
||||||
|
.rpt2_cache
|
||||||
|
|
||||||
|
# builds
|
||||||
|
dist/
|
||||||
|
dist_*/
|
||||||
|
|
||||||
|
# custom
|
143
.gitlab-ci.yml
143
.gitlab-ci.yml
@ -1,95 +1,128 @@
|
|||||||
# gitzone standard
|
# gitzone ci_default
|
||||||
image: hosttoday/ht-docker-node:npmci
|
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- .yarn/
|
- .npmci_cache/
|
||||||
key: "$CI_BUILD_STAGE"
|
key: '$CI_BUILD_STAGE'
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- security
|
- security
|
||||||
- test
|
- test
|
||||||
- release
|
- release
|
||||||
- trigger
|
- metadata
|
||||||
- pages
|
|
||||||
|
|
||||||
mirror:
|
before_script:
|
||||||
|
- pnpm install -g pnpm
|
||||||
|
- pnpm install -g @shipzone/npmci
|
||||||
|
- npmci npm prepare
|
||||||
|
|
||||||
|
# ====================
|
||||||
|
# security stage
|
||||||
|
# ====================
|
||||||
|
# ====================
|
||||||
|
# security stage
|
||||||
|
# ====================
|
||||||
|
auditProductionDependencies:
|
||||||
|
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
||||||
stage: security
|
stage: security
|
||||||
script:
|
script:
|
||||||
- npmci git mirror
|
- npmci command npm config set registry https://registry.npmjs.org
|
||||||
|
- npmci command pnpm audit --audit-level=high --prod
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- lossless
|
||||||
|
- docker
|
||||||
snyk:
|
|
||||||
stage: security
|
|
||||||
script:
|
|
||||||
- npmci command yarn global add snyk
|
|
||||||
- npmci command yarn install --ignore-scripts
|
|
||||||
- npmci command snyk test
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
|
|
||||||
testLEGACY:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- npmci node install legacy
|
|
||||||
- npmci npm install
|
|
||||||
- npmci npm test
|
|
||||||
coverage: /\d+.?\d+?\%\s*coverage/
|
|
||||||
tags:
|
|
||||||
- docker
|
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
testLTS:
|
auditDevDependencies:
|
||||||
|
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
|
||||||
|
stage: security
|
||||||
|
script:
|
||||||
|
- npmci command npm config set registry https://registry.npmjs.org
|
||||||
|
- npmci command pnpm audit --audit-level=high --dev
|
||||||
|
tags:
|
||||||
|
- lossless
|
||||||
|
- docker
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
# ====================
|
||||||
|
# test stage
|
||||||
|
# ====================
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
testSTABLE:
|
testBuild:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npmci node install stable
|
- npmci node install stable
|
||||||
- npmci npm install
|
- npmci npm install
|
||||||
- npmci npm test
|
- npmci command npm run build
|
||||||
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 node install stable
|
||||||
- npmci npm publish
|
- npmci npm publish
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- lossless
|
||||||
|
- docker
|
||||||
|
- notpriv
|
||||||
|
|
||||||
|
# ====================
|
||||||
|
# metadata stage
|
||||||
|
# ====================
|
||||||
|
codequality:
|
||||||
|
stage: metadata
|
||||||
|
allow_failure: true
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
script:
|
||||||
|
- npmci command npm install -g typescript
|
||||||
|
- npmci npm prepare
|
||||||
|
- npmci npm install
|
||||||
|
tags:
|
||||||
|
- lossless
|
||||||
|
- docker
|
||||||
|
- priv
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
stage: trigger
|
stage: metadata
|
||||||
script:
|
script:
|
||||||
- npmci trigger
|
- npmci trigger
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- lossless
|
||||||
|
- docker
|
||||||
|
- notpriv
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
image: hosttoday/ht-docker-node:npmci
|
stage: metadata
|
||||||
stage: pages
|
|
||||||
script:
|
script:
|
||||||
- npmci command yarn global add npmpage
|
- npmci node install stable
|
||||||
- npmci command npmpage
|
- npmci npm install
|
||||||
|
- npmci command npm run buildDocs
|
||||||
tags:
|
tags:
|
||||||
|
- lossless
|
||||||
- docker
|
- docker
|
||||||
|
- notpriv
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
allow_failure: true
|
||||||
|
11
.vscode/launch.json
vendored
Normal file
11
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"command": "npm test",
|
||||||
|
"name": "Run npm test",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "node-terminal"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
26
.vscode/settings.json
vendored
Normal file
26
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"json.schemas": [
|
||||||
|
{
|
||||||
|
"fileMatch": ["/npmextra.json"],
|
||||||
|
"schema": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"npmci": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "settings for npmci"
|
||||||
|
},
|
||||||
|
"gitzone": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "settings for gitzone",
|
||||||
|
"properties": {
|
||||||
|
"projectType": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["website", "element", "service", "npm", "wcc"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
33
README.md
33
README.md
@ -1,33 +0,0 @@
|
|||||||
# smartlog-destination-local
|
|
||||||
|
|
||||||
a smartlog destination targeting the local console
|
|
||||||
|
|
||||||
## Availabililty
|
|
||||||
|
|
||||||
[](https://www.npmjs.com/package/beautylog)
|
|
||||||
[](https://GitLab.com/pushrocks/beautylog)
|
|
||||||
[](https://github.com/pushrocks/beautylog)
|
|
||||||
[](https://pushrocks.gitlab.io/beautylog/)
|
|
||||||
|
|
||||||
## Status for master
|
|
||||||
|
|
||||||
[](https://GitLab.com/pushrocks/beautylog/commits/master)
|
|
||||||
[](https://GitLab.com/pushrocks/beautylog/commits/master)
|
|
||||||
[](https://www.npmjs.com/package/beautylog)
|
|
||||||
[](https://david-dm.org/pushrocks/beautylog)
|
|
||||||
[](https://www.bithound.io/github/pushrocks/beautylog/master/dependencies/npm)
|
|
||||||
[](https://www.bithound.io/github/pushrocks/beautylog)
|
|
||||||
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
|
||||||
[](https://nodejs.org/dist/latest-v6.x/docs/api/)
|
|
||||||
[](http://standardjs.com/)
|
|
||||||
|
|
||||||
## Quick Demo
|
|
||||||
|
|
||||||
[](https://asciinema.org/a/46djsde96ecsho9wqibjx2zye)
|
|
||||||
|
|
||||||
For further information read the linked docs at the top of this README.
|
|
||||||
|
|
||||||
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
|
||||||
> | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
|
|
||||||
|
|
||||||
[](https://push.rocks)
|
|
16
dist/beautylog.classes.ora.d.ts
vendored
16
dist/beautylog.classes.ora.d.ts
vendored
@ -1,16 +0,0 @@
|
|||||||
import 'typings-global';
|
|
||||||
export declare let oraActive: boolean;
|
|
||||||
export declare let activeOra: Ora;
|
|
||||||
export declare class Ora {
|
|
||||||
state: string;
|
|
||||||
private _oraObject;
|
|
||||||
constructor(textArg: string, colorArg: string, startArg?: boolean);
|
|
||||||
text(textArg: any): void;
|
|
||||||
start(textArg?: string, colorArg?: string): void;
|
|
||||||
end(): void;
|
|
||||||
endOk(textArg: any): void;
|
|
||||||
endError(textArg: any): void;
|
|
||||||
pause(): void;
|
|
||||||
stop(): void;
|
|
||||||
}
|
|
||||||
export declare let ora: Ora;
|
|
56
dist/beautylog.classes.ora.js
vendored
56
dist/beautylog.classes.ora.js
vendored
@ -1,56 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
require("typings-global");
|
|
||||||
const plugins = require("./beautylog.plugins");
|
|
||||||
const beautylog_log_helpers_1 = require("./beautylog.log.helpers");
|
|
||||||
exports.oraActive = false; // when an Ora is active (e.g. start()) this is true
|
|
||||||
class Ora {
|
|
||||||
constructor(textArg, colorArg, startArg = false) {
|
|
||||||
this._oraObject = plugins.ora({
|
|
||||||
spinner: 'dots',
|
|
||||||
text: textArg,
|
|
||||||
color: colorArg
|
|
||||||
});
|
|
||||||
if (startArg) {
|
|
||||||
this.start();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
text(textArg) {
|
|
||||||
this._oraObject.text = textArg;
|
|
||||||
}
|
|
||||||
start(textArg, colorArg) {
|
|
||||||
if (textArg) {
|
|
||||||
this.text(textArg);
|
|
||||||
}
|
|
||||||
if (colorArg) {
|
|
||||||
this._oraObject.color = colorArg;
|
|
||||||
}
|
|
||||||
exports.activeOra = this;
|
|
||||||
exports.oraActive = true;
|
|
||||||
this._oraObject.start();
|
|
||||||
}
|
|
||||||
end() {
|
|
||||||
this._oraObject.stop();
|
|
||||||
this._oraObject.clear();
|
|
||||||
exports.activeOra = undefined;
|
|
||||||
exports.oraActive = false;
|
|
||||||
}
|
|
||||||
endOk(textArg) {
|
|
||||||
this.end();
|
|
||||||
beautylog_log_helpers_1.logNode('ok', textArg);
|
|
||||||
}
|
|
||||||
endError(textArg) {
|
|
||||||
this.end();
|
|
||||||
beautylog_log_helpers_1.logNode('error', textArg);
|
|
||||||
}
|
|
||||||
pause() {
|
|
||||||
this._oraObject.stop();
|
|
||||||
}
|
|
||||||
stop() {
|
|
||||||
// alias for end
|
|
||||||
this.end();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
exports.Ora = Ora;
|
|
||||||
exports.ora = new Ora('init...', 'blue', false);
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLmNsYXNzZXMub3JhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvYmVhdXR5bG9nLmNsYXNzZXMub3JhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsMEJBQXdCO0FBQ3hCLCtDQUErQztBQUMvQyxtRUFBa0Q7QUFFdkMsUUFBQSxTQUFTLEdBQVksS0FBSyxDQUFDLENBQUMsb0RBQW9EO0FBRzNGO0lBR0UsWUFBWSxPQUFlLEVBQUUsUUFBZ0IsRUFBRSxXQUFvQixLQUFLO1FBQ3RFLElBQUksQ0FBQyxVQUFVLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FBQztZQUM1QixPQUFPLEVBQUUsTUFBTTtZQUNmLElBQUksRUFBRSxPQUFPO1lBQ2IsS0FBSyxFQUFFLFFBQVE7U0FDaEIsQ0FBQyxDQUFDO1FBQ0gsRUFBRSxDQUFDLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQztZQUNiLElBQUksQ0FBQyxLQUFLLEVBQUUsQ0FBQztRQUNmLENBQUM7SUFDSCxDQUFDO0lBQ0QsSUFBSSxDQUFDLE9BQU87UUFDVixJQUFJLENBQUMsVUFBVSxDQUFDLElBQUksR0FBRyxPQUFPLENBQUM7SUFDakMsQ0FBQztJQUVELEtBQUssQ0FBQyxPQUFnQixFQUFFLFFBQWlCO1FBQ3ZDLEVBQUUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUM7WUFDWixJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQ3JCLENBQUM7UUFDRCxFQUFFLENBQUMsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDO1lBQ2IsSUFBSSxDQUFDLFVBQVUsQ0FBQyxLQUFLLEdBQUcsUUFBUSxDQUFDO1FBQ25DLENBQUM7UUFDRCxpQkFBUyxHQUFHLElBQUksQ0FBQztRQUNqQixpQkFBUyxHQUFHLElBQUksQ0FBQztRQUNqQixJQUFJLENBQUMsVUFBVSxDQUFDLEtBQUssRUFBRSxDQUFDO0lBQzFCLENBQUM7SUFDRCxHQUFHO1FBQ0QsSUFBSSxDQUFDLFVBQVUsQ0FBQyxJQUFJLEVBQUUsQ0FBQztRQUN2QixJQUFJLENBQUMsVUFBVSxDQUFDLEtBQUssRUFBRSxDQUFDO1FBQ3hCLGlCQUFTLEdBQUcsU0FBUyxDQUFDO1FBQ3RCLGlCQUFTLEdBQUcsS0FBSyxDQUFDO0lBQ3BCLENBQUM7SUFDRCxLQUFLLENBQUMsT0FBTztRQUNYLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQztRQUNYLCtCQUFPLENBQUMsSUFBSSxFQUFFLE9BQU8sQ0FBQyxDQUFDO0lBQ3pCLENBQUM7SUFDRCxRQUFRLENBQUMsT0FBTztRQUNkLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQztRQUNYLCtCQUFPLENBQUMsT0FBTyxFQUFFLE9BQU8sQ0FBQyxDQUFDO0lBQzVCLENBQUM7SUFDRCxLQUFLO1FBQ0gsSUFBSSxDQUFDLFVBQVUsQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUN6QixDQUFDO0lBQ0QsSUFBSTtRQUNGLGdCQUFnQjtRQUNoQixJQUFJLENBQUMsR0FBRyxFQUFFLENBQUM7SUFDYixDQUFDO0NBQ0Y7QUFqREQsa0JBaURDO0FBRVUsUUFBQSxHQUFHLEdBQUcsSUFBSSxHQUFHLENBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLENBQUMsQ0FBQyJ9
|
|
5
dist/beautylog.console.d.ts
vendored
5
dist/beautylog.console.d.ts
vendored
@ -1,5 +0,0 @@
|
|||||||
import 'typings-global';
|
|
||||||
export declare let beautyConsole: {
|
|
||||||
log: (logArg: any) => void;
|
|
||||||
error: () => void;
|
|
||||||
};
|
|
42
dist/beautylog.console.js
vendored
42
dist/beautylog.console.js
vendored
@ -1,42 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
require("typings-global");
|
|
||||||
const beautylog_classes_ora_1 = require("./beautylog.classes.ora");
|
|
||||||
let nativeLog = console.log;
|
|
||||||
let nativeError = console.error;
|
|
||||||
/**
|
|
||||||
* routes the console to got through beautylog, so beautylog can take action before things are logged to console.
|
|
||||||
*/
|
|
||||||
let route = function (statusArg) {
|
|
||||||
if (statusArg === true) {
|
|
||||||
console.log = exports.beautyConsole.log;
|
|
||||||
console.error = exports.beautyConsole.error;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
console.log = nativeLog;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
exports.beautyConsole = {
|
|
||||||
log: function (logArg) {
|
|
||||||
if (beautylog_classes_ora_1.oraActive) {
|
|
||||||
beautylog_classes_ora_1.activeOra.pause();
|
|
||||||
nativeLog.apply(nativeLog, arguments);
|
|
||||||
beautylog_classes_ora_1.activeOra.start();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
nativeLog.apply(nativeLog, arguments);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
error: function () {
|
|
||||||
if (beautylog_classes_ora_1.oraActive) {
|
|
||||||
beautylog_classes_ora_1.activeOra.pause();
|
|
||||||
nativeLog.apply(nativeError, arguments);
|
|
||||||
beautylog_classes_ora_1.activeOra.start();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
nativeLog.apply(nativeError, arguments);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
route(true);
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLmNvbnNvbGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9iZWF1dHlsb2cuY29uc29sZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDBCQUF3QjtBQUV4QixtRUFBK0Q7QUFDL0QsSUFBSSxTQUFTLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FBQztBQUM1QixJQUFJLFdBQVcsR0FBRyxPQUFPLENBQUMsS0FBSyxDQUFDO0FBRWhDOztHQUVHO0FBQ0gsSUFBSSxLQUFLLEdBQUcsVUFBUyxTQUFrQjtJQUNyQyxFQUFFLENBQUMsQ0FBQyxTQUFTLEtBQUssSUFBSSxDQUFDLENBQUMsQ0FBQztRQUN2QixPQUFPLENBQUMsR0FBRyxHQUFHLHFCQUFhLENBQUMsR0FBRyxDQUFDO1FBQ2hDLE9BQU8sQ0FBQyxLQUFLLEdBQUcscUJBQWEsQ0FBQyxLQUFLLENBQUM7SUFDdEMsQ0FBQztJQUFDLElBQUksQ0FBQyxDQUFDO1FBQ04sT0FBTyxDQUFDLEdBQUcsR0FBRyxTQUFTLENBQUM7SUFDMUIsQ0FBQztBQUNILENBQUMsQ0FBQztBQUVTLFFBQUEsYUFBYSxHQUFHO0lBQ3pCLEdBQUcsRUFBRSxVQUFTLE1BQVc7UUFDdkIsRUFBRSxDQUFDLENBQUMsaUNBQVMsQ0FBQyxDQUFDLENBQUM7WUFDZCxpQ0FBUyxDQUFDLEtBQUssRUFBRSxDQUFDO1lBQ2xCLFNBQVMsQ0FBQyxLQUFLLENBQUMsU0FBUyxFQUFFLFNBQVMsQ0FBQyxDQUFDO1lBQ3RDLGlDQUFTLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDcEIsQ0FBQztRQUFDLElBQUksQ0FBQyxDQUFDO1lBQ04sU0FBUyxDQUFDLEtBQUssQ0FBQyxTQUFTLEVBQUUsU0FBUyxDQUFDLENBQUM7UUFDeEMsQ0FBQztJQUNILENBQUM7SUFDRCxLQUFLLEVBQUU7UUFDTCxFQUFFLENBQUMsQ0FBQyxpQ0FBUyxDQUFDLENBQUMsQ0FBQztZQUNkLGlDQUFTLENBQUMsS0FBSyxFQUFFLENBQUM7WUFDbEIsU0FBUyxDQUFDLEtBQUssQ0FBQyxXQUFXLEVBQUUsU0FBUyxDQUFDLENBQUM7WUFDeEMsaUNBQVMsQ0FBQyxLQUFLLEVBQUUsQ0FBQztRQUNwQixDQUFDO1FBQUMsSUFBSSxDQUFDLENBQUM7WUFDTixTQUFTLENBQUMsS0FBSyxDQUFDLFdBQVcsRUFBRSxTQUFTLENBQUMsQ0FBQztRQUMxQyxDQUFDO0lBQ0gsQ0FBQztDQUNGLENBQUM7QUFFRixLQUFLLENBQUMsSUFBSSxDQUFDLENBQUMifQ==
|
|
9
dist/beautylog.figlet.d.ts
vendored
9
dist/beautylog.figlet.d.ts
vendored
@ -1,9 +0,0 @@
|
|||||||
import 'typings-global';
|
|
||||||
import plugins = require('./beautylog.plugins');
|
|
||||||
export interface IFigletOptions {
|
|
||||||
font?: string;
|
|
||||||
color?: plugins.beautycolor.TColorName;
|
|
||||||
cb?: any;
|
|
||||||
}
|
|
||||||
export declare let figlet: (textArg: string, optionsArg?: any) => Promise<{}>;
|
|
||||||
export declare let figletSync: (textArg: string, optionsArg?: IFigletOptions) => boolean;
|
|
50
dist/beautylog.figlet.js
vendored
50
dist/beautylog.figlet.js
vendored
@ -1,50 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
require("typings-global");
|
|
||||||
const plugins = require("./beautylog.plugins");
|
|
||||||
let defaultOptions = {
|
|
||||||
font: 'Star Wars',
|
|
||||||
color: 'green',
|
|
||||||
cb: function () { }
|
|
||||||
};
|
|
||||||
exports.figlet = function (textArg, optionsArg) {
|
|
||||||
let done = plugins.q.defer();
|
|
||||||
let mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
|
|
||||||
let options = plugins.lodash.assign(mergeOptions, optionsArg);
|
|
||||||
plugins.figlet(textArg, {
|
|
||||||
font: options.font,
|
|
||||||
horizontalLayout: 'default',
|
|
||||||
verticalLayout: 'default'
|
|
||||||
}, function (err, data) {
|
|
||||||
if (err) {
|
|
||||||
console.log('Something went wrong...');
|
|
||||||
console.dir(err);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
console.log(colorFiglet(data, options.color));
|
|
||||||
options.cb();
|
|
||||||
done.resolve();
|
|
||||||
});
|
|
||||||
return done.promise;
|
|
||||||
};
|
|
||||||
exports.figletSync = function (textArg, optionsArg) {
|
|
||||||
let mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
|
|
||||||
let options = plugins.lodash.assign(mergeOptions, optionsArg);
|
|
||||||
let figletString = plugins.figlet.textSync(textArg, {
|
|
||||||
font: options.font,
|
|
||||||
horizontalLayout: 'default',
|
|
||||||
verticalLayout: 'default'
|
|
||||||
});
|
|
||||||
console.log(colorFiglet(figletString, options.color));
|
|
||||||
return true;
|
|
||||||
};
|
|
||||||
let colorFiglet = (figletStringArg, colorArg) => {
|
|
||||||
let figletArray = figletStringArg.split('\n');
|
|
||||||
let figletStringCombined = '';
|
|
||||||
for (let figletRow of figletArray) {
|
|
||||||
figletRow = plugins.beautycolor.coloredString(figletRow, colorArg);
|
|
||||||
figletStringCombined = figletStringCombined + figletRow + '\n';
|
|
||||||
}
|
|
||||||
return figletStringCombined;
|
|
||||||
};
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLmZpZ2xldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2JlYXV0eWxvZy5maWdsZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwQkFBd0I7QUFDeEIsK0NBQWdEO0FBUWhELElBQUksY0FBYyxHQUFtQjtJQUNuQyxJQUFJLEVBQUUsV0FBVztJQUNqQixLQUFLLEVBQUUsT0FBTztJQUNkLEVBQUUsRUFBRSxjQUFZLENBQUM7Q0FDbEIsQ0FBQztBQUVTLFFBQUEsTUFBTSxHQUFHLFVBQVMsT0FBZSxFQUFFLFVBQVc7SUFDdkQsSUFBSSxJQUFJLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxLQUFLLEVBQUUsQ0FBQztJQUM3QixJQUFJLFlBQVksR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDLFNBQVMsQ0FBQyxjQUFjLENBQUMsQ0FBQztJQUM1RCxJQUFJLE9BQU8sR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxZQUFZLEVBQUUsVUFBVSxDQUFDLENBQUM7SUFDOUQsT0FBTyxDQUFDLE1BQU0sQ0FDWixPQUFPLEVBQ1A7UUFDRSxJQUFJLEVBQUUsT0FBTyxDQUFDLElBQUk7UUFDbEIsZ0JBQWdCLEVBQUUsU0FBUztRQUMzQixjQUFjLEVBQUUsU0FBUztLQUMxQixFQUNELFVBQVMsR0FBRyxFQUFFLElBQVk7UUFDeEIsRUFBRSxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztZQUNSLE9BQU8sQ0FBQyxHQUFHLENBQUMseUJBQXlCLENBQUMsQ0FBQztZQUN2QyxPQUFPLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1lBQ2pCLE1BQU0sQ0FBQztRQUNULENBQUM7UUFDRCxPQUFPLENBQUMsR0FBRyxDQUFDLFdBQVcsQ0FBQyxJQUFJLEVBQUUsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUM7UUFDOUMsT0FBTyxDQUFDLEVBQUUsRUFBRSxDQUFDO1FBQ2IsSUFBSSxDQUFDLE9BQU8sRUFBRSxDQUFDO0lBQ2pCLENBQUMsQ0FDRixDQUFDO0lBQ0YsTUFBTSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUM7QUFDdEIsQ0FBQyxDQUFDO0FBRVMsUUFBQSxVQUFVLEdBQUcsVUFBUyxPQUFlLEVBQUUsVUFBMkI7SUFDM0UsSUFBSSxZQUFZLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsY0FBYyxDQUFDLENBQUM7SUFDNUQsSUFBSSxPQUFPLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsWUFBWSxFQUFFLFVBQVUsQ0FBQyxDQUFDO0lBQzlELElBQUksWUFBWSxHQUFXLE9BQU8sQ0FBQyxNQUFNLENBQUMsUUFBUSxDQUFDLE9BQU8sRUFBRTtRQUMxRCxJQUFJLEVBQUUsT0FBTyxDQUFDLElBQUk7UUFDbEIsZ0JBQWdCLEVBQUUsU0FBUztRQUMzQixjQUFjLEVBQUUsU0FBUztLQUMxQixDQUFDLENBQUM7SUFDSCxPQUFPLENBQUMsR0FBRyxDQUFDLFdBQVcsQ0FBQyxZQUFZLEVBQUUsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUM7SUFDdEQsTUFBTSxDQUFDLElBQUksQ0FBQztBQUNkLENBQUMsQ0FBQztBQUVGLElBQUksV0FBVyxHQUFHLENBQUMsZUFBZSxFQUFFLFFBQXdDLEVBQUUsRUFBRTtJQUM5RSxJQUFJLFdBQVcsR0FBRyxlQUFlLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQzlDLElBQUksb0JBQW9CLEdBQUcsRUFBRSxDQUFDO0lBQzlCLEdBQUcsQ0FBQyxDQUFDLElBQUksU0FBUyxJQUFJLFdBQVcsQ0FBQyxDQUFDLENBQUM7UUFDbEMsU0FBUyxHQUFHLE9BQU8sQ0FBQyxXQUFXLENBQUMsYUFBYSxDQUFDLFNBQVMsRUFBRSxRQUFRLENBQUMsQ0FBQztRQUNuRSxvQkFBb0IsR0FBRyxvQkFBb0IsR0FBRyxTQUFTLEdBQUcsSUFBSSxDQUFDO0lBQ2pFLENBQUM7SUFDRCxNQUFNLENBQUMsb0JBQW9CLENBQUM7QUFDOUIsQ0FBQyxDQUFDIn0=
|
|
52
dist/beautylog.log.d.ts
vendored
52
dist/beautylog.log.d.ts
vendored
@ -1,52 +0,0 @@
|
|||||||
import 'typings-global';
|
|
||||||
/**
|
|
||||||
* logs an info to console
|
|
||||||
* @param logText
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
export declare let log: (logText: any) => void;
|
|
||||||
export declare let info: (logText: any) => void;
|
|
||||||
/**
|
|
||||||
* logs an 'OK!' message to console
|
|
||||||
* @param logText
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
export declare let ok: (logText: any) => void;
|
|
||||||
/**
|
|
||||||
* logs a success to console
|
|
||||||
* @param logText string to log as error
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
export declare let success: (logText: any) => void;
|
|
||||||
/**
|
|
||||||
* logs a 'warn:' message to console
|
|
||||||
* @param logText string to log as error
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
export declare let warn: (logText: any) => void;
|
|
||||||
/**
|
|
||||||
* logs an error to console
|
|
||||||
* @param logText
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
export declare let error: (logText: any) => void;
|
|
||||||
/**
|
|
||||||
* logs an directory to console
|
|
||||||
* @param logText
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
export declare let dir: (logText: any) => void;
|
|
||||||
/**
|
|
||||||
* note
|
|
||||||
*/
|
|
||||||
export declare let note: (logText: any) => void;
|
|
||||||
/**
|
|
||||||
* creates a new empty line
|
|
||||||
* @param linesArg
|
|
||||||
* @returns void
|
|
||||||
*/
|
|
||||||
export declare let newLine: (linesArg?: number) => void;
|
|
||||||
/**
|
|
||||||
* logs a reduced log that only logs changes of consequential log messages
|
|
||||||
*/
|
|
||||||
export declare let logReduced: (logTextArg: string, repeatEveryTimesArg?: number) => void;
|
|
8
dist/beautylog.log.helpers.d.ts
vendored
8
dist/beautylog.log.helpers.d.ts
vendored
@ -1,8 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* @param logText
|
|
||||||
* @param logType
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
export declare let internalLog: (logType?: string, logText?: string) => void;
|
|
||||||
export declare let logNode: (logType: string, logText: string) => boolean;
|
|
108
dist/beautylog.log.helpers.js
vendored
108
dist/beautylog.log.helpers.js
vendored
File diff suppressed because one or more lines are too long
88
dist/beautylog.log.js
vendored
88
dist/beautylog.log.js
vendored
@ -1,88 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
require("typings-global");
|
|
||||||
const beautylog_log_helpers_1 = require("./beautylog.log.helpers");
|
|
||||||
/**
|
|
||||||
* logs an info to console
|
|
||||||
* @param logText
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
exports.log = logText => {
|
|
||||||
return beautylog_log_helpers_1.internalLog('log', logText);
|
|
||||||
};
|
|
||||||
exports.info = logText => {
|
|
||||||
return beautylog_log_helpers_1.internalLog('info', logText);
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* logs an 'OK!' message to console
|
|
||||||
* @param logText
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
exports.ok = logText => {
|
|
||||||
return beautylog_log_helpers_1.internalLog('ok', logText);
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* logs a success to console
|
|
||||||
* @param logText string to log as error
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
exports.success = logText => {
|
|
||||||
return beautylog_log_helpers_1.internalLog('success', logText);
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* logs a 'warn:' message to console
|
|
||||||
* @param logText string to log as error
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
exports.warn = logText => {
|
|
||||||
return beautylog_log_helpers_1.internalLog('warn', logText);
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* logs an error to console
|
|
||||||
* @param logText
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
exports.error = logText => {
|
|
||||||
return beautylog_log_helpers_1.internalLog('error', logText);
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* logs an directory to console
|
|
||||||
* @param logText
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
exports.dir = logText => {
|
|
||||||
return beautylog_log_helpers_1.internalLog('dir', logText);
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* note
|
|
||||||
*/
|
|
||||||
exports.note = logText => {
|
|
||||||
return beautylog_log_helpers_1.internalLog('note', logText);
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* creates a new empty line
|
|
||||||
* @param linesArg
|
|
||||||
* @returns void
|
|
||||||
*/
|
|
||||||
exports.newLine = (linesArg = 1) => {
|
|
||||||
for (let i = 0; i < linesArg; i++) {
|
|
||||||
console.log('\n');
|
|
||||||
}
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* logs a reduced log that only logs changes of consequential log messages
|
|
||||||
*/
|
|
||||||
exports.logReduced = (logTextArg, repeatEveryTimesArg = 0) => {
|
|
||||||
if (logTextArg === previousMessage &&
|
|
||||||
(repeatEveryTimesArg === 0 || sameMessageCounter !== repeatEveryTimesArg)) {
|
|
||||||
sameMessageCounter++;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
sameMessageCounter = 0;
|
|
||||||
previousMessage = logTextArg;
|
|
||||||
exports.log(logTextArg);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
let previousMessage = '';
|
|
||||||
let sameMessageCounter = 0;
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLmxvZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2JlYXV0eWxvZy5sb2cudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwwQkFBd0I7QUFFeEIsbUVBQXNEO0FBRXREOzs7O0dBSUc7QUFFUSxRQUFBLEdBQUcsR0FBRyxPQUFPLENBQUMsRUFBRTtJQUN6QixNQUFNLENBQUMsbUNBQVcsQ0FBQyxLQUFLLEVBQUUsT0FBTyxDQUFDLENBQUM7QUFDckMsQ0FBQyxDQUFDO0FBRVMsUUFBQSxJQUFJLEdBQUcsT0FBTyxDQUFDLEVBQUU7SUFDMUIsTUFBTSxDQUFDLG1DQUFXLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxDQUFDO0FBQ3RDLENBQUMsQ0FBQztBQUVGOzs7O0dBSUc7QUFDUSxRQUFBLEVBQUUsR0FBRyxPQUFPLENBQUMsRUFBRTtJQUN4QixNQUFNLENBQUMsbUNBQVcsQ0FBQyxJQUFJLEVBQUUsT0FBTyxDQUFDLENBQUM7QUFDcEMsQ0FBQyxDQUFDO0FBRUY7Ozs7R0FJRztBQUNRLFFBQUEsT0FBTyxHQUFHLE9BQU8sQ0FBQyxFQUFFO0lBQzdCLE1BQU0sQ0FBQyxtQ0FBVyxDQUFDLFNBQVMsRUFBRSxPQUFPLENBQUMsQ0FBQztBQUN6QyxDQUFDLENBQUM7QUFFRjs7OztHQUlHO0FBQ1EsUUFBQSxJQUFJLEdBQUcsT0FBTyxDQUFDLEVBQUU7SUFDMUIsTUFBTSxDQUFDLG1DQUFXLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxDQUFDO0FBQ3RDLENBQUMsQ0FBQztBQUVGOzs7O0dBSUc7QUFDUSxRQUFBLEtBQUssR0FBRyxPQUFPLENBQUMsRUFBRTtJQUMzQixNQUFNLENBQUMsbUNBQVcsQ0FBQyxPQUFPLEVBQUUsT0FBTyxDQUFDLENBQUM7QUFDdkMsQ0FBQyxDQUFDO0FBRUY7Ozs7R0FJRztBQUNRLFFBQUEsR0FBRyxHQUFHLE9BQU8sQ0FBQyxFQUFFO0lBQ3pCLE1BQU0sQ0FBQyxtQ0FBVyxDQUFDLEtBQUssRUFBRSxPQUFPLENBQUMsQ0FBQztBQUNyQyxDQUFDLENBQUM7QUFFRjs7R0FFRztBQUNRLFFBQUEsSUFBSSxHQUFHLE9BQU8sQ0FBQyxFQUFFO0lBQzFCLE1BQU0sQ0FBQyxtQ0FBVyxDQUFDLE1BQU0sRUFBRSxPQUFPLENBQUMsQ0FBQztBQUN0QyxDQUFDLENBQUM7QUFFRjs7OztHQUlHO0FBQ1EsUUFBQSxPQUFPLEdBQUcsQ0FBQyxXQUFtQixDQUFDLEVBQUUsRUFBRTtJQUM1QyxHQUFHLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxHQUFHLFFBQVEsRUFBRSxDQUFDLEVBQUUsRUFBRSxDQUFDO1FBQ2xDLE9BQU8sQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDcEIsQ0FBQztBQUNILENBQUMsQ0FBQztBQUVGOztHQUVHO0FBQ1EsUUFBQSxVQUFVLEdBQUcsQ0FBQyxVQUFrQixFQUFFLHNCQUE4QixDQUFDLEVBQUUsRUFBRTtJQUM5RSxFQUFFLENBQUMsQ0FDRCxVQUFVLEtBQUssZUFBZTtRQUM5QixDQUFDLG1CQUFtQixLQUFLLENBQUMsSUFBSSxrQkFBa0IsS0FBSyxtQkFBbUIsQ0FDMUUsQ0FBQyxDQUFDLENBQUM7UUFDRCxrQkFBa0IsRUFBRSxDQUFDO0lBQ3ZCLENBQUM7SUFBQyxJQUFJLENBQUMsQ0FBQztRQUNOLGtCQUFrQixHQUFHLENBQUMsQ0FBQztRQUN2QixlQUFlLEdBQUcsVUFBVSxDQUFDO1FBQzdCLFdBQUcsQ0FBQyxVQUFVLENBQUMsQ0FBQztJQUNsQixDQUFDO0FBQ0gsQ0FBQyxDQUFDO0FBQ0YsSUFBSSxlQUFlLEdBQVcsRUFBRSxDQUFDO0FBQ2pDLElBQUksa0JBQWtCLEdBQVcsQ0FBQyxDQUFDIn0=
|
|
8
dist/beautylog.plugins.d.ts
vendored
8
dist/beautylog.plugins.d.ts
vendored
@ -1,8 +0,0 @@
|
|||||||
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';
|
|
||||||
declare let figlet: any;
|
|
||||||
declare let ora: any;
|
|
||||||
export { beautycolor, lodash, smartenv, smartlogInterfaces, q, figlet, ora };
|
|
17
dist/beautylog.plugins.js
vendored
17
dist/beautylog.plugins.js
vendored
@ -1,17 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
const beautycolor = require("beautycolor");
|
|
||||||
exports.beautycolor = beautycolor;
|
|
||||||
const lodash = require("lodash");
|
|
||||||
exports.lodash = lodash;
|
|
||||||
const smartenv = require("smartenv");
|
|
||||||
exports.smartenv = smartenv;
|
|
||||||
const smartlogInterfaces = require("smartlog-interfaces");
|
|
||||||
exports.smartlogInterfaces = smartlogInterfaces;
|
|
||||||
const q = require("smartq");
|
|
||||||
exports.q = q;
|
|
||||||
let figlet = require('figlet');
|
|
||||||
exports.figlet = figlet;
|
|
||||||
let ora = require('ora');
|
|
||||||
exports.ora = ora;
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9iZWF1dHlsb2cucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDJDQUEyQztBQVFsQyxrQ0FBVztBQVBwQixpQ0FBaUM7QUFPWCx3QkFBTTtBQU41QixxQ0FBcUM7QUFNUCw0QkFBUTtBQUx0QywwREFBMEQ7QUFLbEIsZ0RBQWtCO0FBSjFELDRCQUE0QjtBQUlnQyxjQUFDO0FBSDdELElBQUksTUFBTSxHQUFHLE9BQU8sQ0FBQyxRQUFRLENBQUMsQ0FBQztBQUdnQyx3QkFBTTtBQUZyRSxJQUFJLEdBQUcsR0FBRyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUM7QUFFOEMsa0JBQUcifQ==
|
|
5
dist/index.d.ts
vendored
5
dist/index.d.ts
vendored
@ -1,5 +0,0 @@
|
|||||||
import 'typings-global';
|
|
||||||
import './beautylog.console';
|
|
||||||
export { ora } from './beautylog.classes.ora';
|
|
||||||
export { dir, error, info, log, logReduced, note, ok, success, warn, newLine } from './beautylog.log';
|
|
||||||
export { figlet, figletSync } from './beautylog.figlet';
|
|
23
dist/index.js
vendored
23
dist/index.js
vendored
@ -1,23 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
require("typings-global");
|
|
||||||
require("./beautylog.console");
|
|
||||||
// export classes
|
|
||||||
var beautylog_classes_ora_1 = require("./beautylog.classes.ora");
|
|
||||||
exports.ora = beautylog_classes_ora_1.ora;
|
|
||||||
// export methods
|
|
||||||
var beautylog_log_1 = require("./beautylog.log");
|
|
||||||
exports.dir = beautylog_log_1.dir;
|
|
||||||
exports.error = beautylog_log_1.error;
|
|
||||||
exports.info = beautylog_log_1.info;
|
|
||||||
exports.log = beautylog_log_1.log;
|
|
||||||
exports.logReduced = beautylog_log_1.logReduced;
|
|
||||||
exports.note = beautylog_log_1.note;
|
|
||||||
exports.ok = beautylog_log_1.ok;
|
|
||||||
exports.success = beautylog_log_1.success;
|
|
||||||
exports.warn = beautylog_log_1.warn;
|
|
||||||
exports.newLine = beautylog_log_1.newLine;
|
|
||||||
var beautylog_figlet_1 = require("./beautylog.figlet");
|
|
||||||
exports.figlet = beautylog_figlet_1.figlet;
|
|
||||||
exports.figletSync = beautylog_figlet_1.figletSync;
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDBCQUF3QjtBQUN4QiwrQkFBNkI7QUFHN0IsaUJBQWlCO0FBQ2pCLGlFQUE4QztBQUFyQyxzQ0FBQSxHQUFHLENBQUE7QUFFWixpQkFBaUI7QUFDakIsaURBV3lCO0FBVnZCLDhCQUFBLEdBQUcsQ0FBQTtBQUNILGdDQUFBLEtBQUssQ0FBQTtBQUNMLCtCQUFBLElBQUksQ0FBQTtBQUNKLDhCQUFBLEdBQUcsQ0FBQTtBQUNILHFDQUFBLFVBQVUsQ0FBQTtBQUNWLCtCQUFBLElBQUksQ0FBQTtBQUNKLDZCQUFBLEVBQUUsQ0FBQTtBQUNGLGtDQUFBLE9BQU8sQ0FBQTtBQUNQLCtCQUFBLElBQUksQ0FBQTtBQUNKLGtDQUFBLE9BQU8sQ0FBQTtBQUVULHVEQUF3RDtBQUEvQyxvQ0FBQSxNQUFNLENBQUE7QUFBRSx3Q0FBQSxVQUFVLENBQUEifQ==
|
|
@ -57,7 +57,7 @@ Beautylog makes it easy to have all your node applications log to a remote locat
|
|||||||
```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);
|
||||||
```
|
```
|
||||||
|
@ -1,7 +1,28 @@
|
|||||||
{
|
{
|
||||||
"npmci": {
|
"npmci": {
|
||||||
"globalNpmTools": [
|
"globalNpmTools": [],
|
||||||
"npmts"
|
"npmAccessLevel": "public"
|
||||||
]
|
},
|
||||||
|
"gitzone": {
|
||||||
|
"projectType": "npm",
|
||||||
|
"module": {
|
||||||
|
"githost": "code.foss.global",
|
||||||
|
"gitscope": "push.rocks",
|
||||||
|
"gitrepo": "smartlog-destination-local",
|
||||||
|
"description": "a smartlog destination targeting the local console",
|
||||||
|
"npmPackagename": "@push.rocks/smartlog-destination-local",
|
||||||
|
"license": "MIT",
|
||||||
|
"keywords": [
|
||||||
|
"logging",
|
||||||
|
"console log",
|
||||||
|
"log management",
|
||||||
|
"developer tools",
|
||||||
|
"local logging",
|
||||||
|
"console output"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tsdoc": {
|
||||||
|
"legal": "\n## License and Legal Information\n\nThis repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. \n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or if you require further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
971
package-lock.json
generated
971
package-lock.json
generated
@ -1,971 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@pushrocks/smartlog-destination-local",
|
|
||||||
"version": "7.0.0",
|
|
||||||
"lockfileVersion": 1,
|
|
||||||
"requires": true,
|
|
||||||
"dependencies": {
|
|
||||||
"@airbnb/node-memwatch": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/@airbnb/node-memwatch/-/node-memwatch-1.0.2.tgz",
|
|
||||||
"integrity": "sha512-2R+MEEMSTUdKwQ6NFWkyA/UNoSjL1tMldZqJbZpgXSwNMBzlNlkUWEXKu9RqTTMkDqJRfGJ2VDs8gPlPK2APDQ==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"bindings": "^1.3.0",
|
|
||||||
"nan": "^2.9.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@types/chai": {
|
|
||||||
"version": "4.1.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.1.4.tgz",
|
|
||||||
"integrity": "sha512-h6+VEw2Vr3ORiFCyyJmcho2zALnUq9cvdB/IO8Xs9itrJVCenC7o26A6+m7D0ihTTr65eS259H5/Ghl/VjYs6g==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"@types/chai-as-promised": {
|
|
||||||
"version": "7.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/chai-as-promised/-/chai-as-promised-7.1.0.tgz",
|
|
||||||
"integrity": "sha512-MFiW54UOSt+f2bRw8J7LgQeIvE/9b4oGvwU7XW30S9QGAiHGnU/fmiOprsyMkdmH2rl8xSPc0/yrQw8juXU6bQ==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@types/chai": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@types/chai-string": {
|
|
||||||
"version": "1.4.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/chai-string/-/chai-string-1.4.1.tgz",
|
|
||||||
"integrity": "sha512-aRNMs6TKgjgPlCHwDfq/YNy5VtRR2hJ4AUWByddrT0TRVVD8eX4MiHW6/iHvmQHRlVuuPZcwnTUE7b4yFt7bEA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@types/chai": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@types/fs-extra": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-qtxDULQKUenuaDLW003CgC+0T0eiAfH3BrH+vSt87GLzbz5EZ6Ox6mv9rMttvhDOatbb9nYh0E1m7ydoYwUrAg==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@types/node": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@types/lodash": {
|
|
||||||
"version": "4.14.110",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.110.tgz",
|
|
||||||
"integrity": "sha512-iXYLa6olt4tnsCA+ZXeP6eEW3tk1SulWeYyP/yooWfAtXjozqXgtX4+XUtMuOCfYjKGz3F34++qUc3Q+TJuIIw=="
|
|
||||||
},
|
|
||||||
"@types/node": {
|
|
||||||
"version": "9.6.22",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.22.tgz",
|
|
||||||
"integrity": "sha512-RIg9EkxzVMkNH0M4sLRngK23f5QiigJC0iODQmu4nopzstt8AjegYund3r82iMrd2BNCjcZVnklaItvKHaGfBA=="
|
|
||||||
},
|
|
||||||
"@types/vinyl": {
|
|
||||||
"version": "2.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/vinyl/-/vinyl-2.0.2.tgz",
|
|
||||||
"integrity": "sha512-2iYpNuOl98SrLPBZfEN9Mh2JCJ2EI9HU35SfgBEb51DcmaHkhp8cKMblYeBqMQiwXMgAD3W60DbQ4i/UdLiXhw==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@types/node": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ansi-256-colors": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/ansi-256-colors/-/ansi-256-colors-1.1.0.tgz",
|
|
||||||
"integrity": "sha1-kQ3lDvzHwJ49gvL4er1rcAwYgYo="
|
|
||||||
},
|
|
||||||
"ansi-regex": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
|
|
||||||
"integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg="
|
|
||||||
},
|
|
||||||
"ansi-styles": {
|
|
||||||
"version": "3.2.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
|
||||||
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
|
||||||
"requires": {
|
|
||||||
"color-convert": "^1.9.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"argparse": {
|
|
||||||
"version": "1.0.10",
|
|
||||||
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
|
|
||||||
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"sprintf-js": "~1.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"assertion-error": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz",
|
|
||||||
"integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"balanced-match": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
|
|
||||||
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
|
|
||||||
},
|
|
||||||
"beautycolor": {
|
|
||||||
"version": "1.0.11",
|
|
||||||
"resolved": "https://registry.npmjs.org/beautycolor/-/beautycolor-1.0.11.tgz",
|
|
||||||
"integrity": "sha512-Uxl/39+2uqixPzsrV+0NOHf0sJlWmsKnRTV0oz8+bfwnHPA/E+SZuh3Upn3OXobv0W7LZg5BVoLj1nkMj7m5jA==",
|
|
||||||
"requires": {
|
|
||||||
"ansi-256-colors": "^1.1.0",
|
|
||||||
"typings-global": "^1.0.14"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"beautylog": {
|
|
||||||
"version": "6.1.10",
|
|
||||||
"resolved": "https://registry.npmjs.org/beautylog/-/beautylog-6.1.10.tgz",
|
|
||||||
"integrity": "sha1-nCflZpN2hMton5Ny2Yz6VBXVC3I=",
|
|
||||||
"requires": {
|
|
||||||
"@types/lodash": "^4.14.55",
|
|
||||||
"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"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"ora": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/ora/-/ora-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-iMK1DOQxzzh2MBlVsU42G80mnrvUhqsMh74phHtDlrcTZPK0pH6o7l7DRshK+0YsxDyEuaOkziVdvM3T0QTzpw==",
|
|
||||||
"requires": {
|
|
||||||
"chalk": "^2.1.0",
|
|
||||||
"cli-cursor": "^2.1.0",
|
|
||||||
"cli-spinners": "^1.0.1",
|
|
||||||
"log-symbols": "^2.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"smartenv": {
|
|
||||||
"version": "2.0.6",
|
|
||||||
"resolved": "https://registry.npmjs.org/smartenv/-/smartenv-2.0.6.tgz",
|
|
||||||
"integrity": "sha1-s4xnmwwVG5r1SPaMOgcsKdFBfo0=",
|
|
||||||
"requires": {
|
|
||||||
"lodash": "^4.17.4",
|
|
||||||
"smartq": "^1.1.1",
|
|
||||||
"typings-global": "^1.0.14"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"bindings": {
|
|
||||||
"version": "1.3.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.0.tgz",
|
|
||||||
"integrity": "sha512-DpLh5EzMR2kzvX1KIlVC0VkC3iZtHKTgdtZ0a3pglBZdaQFjt5S9g9xd1lE+YvXyfd6mtCeRnrUfOLYiTMlNSw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"brace-expansion": {
|
|
||||||
"version": "1.1.11",
|
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
|
||||||
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
|
||||||
"requires": {
|
|
||||||
"balanced-match": "^1.0.0",
|
|
||||||
"concat-map": "0.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"chai": {
|
|
||||||
"version": "4.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/chai/-/chai-4.1.2.tgz",
|
|
||||||
"integrity": "sha1-D2RYS6ZC8PKs4oBiefTwbKI61zw=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"assertion-error": "^1.0.1",
|
|
||||||
"check-error": "^1.0.1",
|
|
||||||
"deep-eql": "^3.0.0",
|
|
||||||
"get-func-name": "^2.0.0",
|
|
||||||
"pathval": "^1.0.0",
|
|
||||||
"type-detect": "^4.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"chai-as-promised": {
|
|
||||||
"version": "7.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-7.1.1.tgz",
|
|
||||||
"integrity": "sha512-azL6xMoi+uxu6z4rhWQ1jbdUhOMhis2PvscD/xjLqNMkv3BPPp2JyyuTHOrf9BOosGpNQ11v6BKv/g57RXbiaA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"check-error": "^1.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"chai-string": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/chai-string/-/chai-string-1.4.0.tgz",
|
|
||||||
"integrity": "sha1-NZFAwFHTak5LGl/GuRAVL0OKjUk=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"chalk": {
|
|
||||||
"version": "2.4.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz",
|
|
||||||
"integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==",
|
|
||||||
"requires": {
|
|
||||||
"ansi-styles": "^3.2.1",
|
|
||||||
"escape-string-regexp": "^1.0.5",
|
|
||||||
"supports-color": "^5.3.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"check-error": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz",
|
|
||||||
"integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"cli-cursor": {
|
|
||||||
"version": "2.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
|
|
||||||
"integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
|
|
||||||
"requires": {
|
|
||||||
"restore-cursor": "^2.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cli-spinners": {
|
|
||||||
"version": "1.3.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-1.3.1.tgz",
|
|
||||||
"integrity": "sha512-1QL4544moEsDVH9T/l6Cemov/37iv1RtoKf7NJ04A60+4MREXNfx/QvavbH6QoGdsD4N4Mwy49cmaINR/o2mdg=="
|
|
||||||
},
|
|
||||||
"clone": {
|
|
||||||
"version": "1.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
|
|
||||||
"integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4="
|
|
||||||
},
|
|
||||||
"clone-buffer": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz",
|
|
||||||
"integrity": "sha1-4+JbIHrE5wGvch4staFnksrD3Fg=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"clone-stats": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz",
|
|
||||||
"integrity": "sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"cloneable-readable": {
|
|
||||||
"version": "1.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/cloneable-readable/-/cloneable-readable-1.1.2.tgz",
|
|
||||||
"integrity": "sha512-Bq6+4t+lbM8vhTs/Bef5c5AdEMtapp/iFb6+s4/Hh9MVTt8OLKH7ZOOZSCT+Ys7hsHvqv0GuMPJ1lnQJVHvxpg==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"inherits": "^2.0.1",
|
|
||||||
"process-nextick-args": "^2.0.0",
|
|
||||||
"readable-stream": "^2.3.5"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"color-convert": {
|
|
||||||
"version": "1.9.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.2.tgz",
|
|
||||||
"integrity": "sha512-3NUJZdhMhcdPn8vJ9v2UQJoH0qqoGUkYTgFEPZaPjEtwmmKUfNV46zZmgB2M5M4DCEQHMaCfWHCxiBflLm04Tg==",
|
|
||||||
"requires": {
|
|
||||||
"color-name": "1.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"color-name": {
|
|
||||||
"version": "1.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.1.tgz",
|
|
||||||
"integrity": "sha1-SxQVMEz1ACjqgWQ2Q72C6gWANok="
|
|
||||||
},
|
|
||||||
"concat-map": {
|
|
||||||
"version": "0.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
|
||||||
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
|
|
||||||
},
|
|
||||||
"core-util-is": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
|
|
||||||
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"deep-eql": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz",
|
|
||||||
"integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"type-detect": "^4.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"defaults": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz",
|
|
||||||
"integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=",
|
|
||||||
"requires": {
|
|
||||||
"clone": "^1.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"define-properties": {
|
|
||||||
"version": "1.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz",
|
|
||||||
"integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=",
|
|
||||||
"requires": {
|
|
||||||
"foreach": "^2.0.5",
|
|
||||||
"object-keys": "^1.0.8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"early": {
|
|
||||||
"version": "2.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/early/-/early-2.1.1.tgz",
|
|
||||||
"integrity": "sha1-hB4jJU6l3FTYr67ugvWrZcAO4jw=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"beautycolor": "^1.0.7",
|
|
||||||
"smartq": "^1.1.1",
|
|
||||||
"typings-global": "^1.0.16"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"es-abstract": {
|
|
||||||
"version": "1.12.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.12.0.tgz",
|
|
||||||
"integrity": "sha512-C8Fx/0jFmV5IPoMOFPA9P9G5NtqW+4cOPit3MIuvR2t7Ag2K15EJTpxnHAYTzL+aYQJIESYeXZmDBfOBE1HcpA==",
|
|
||||||
"requires": {
|
|
||||||
"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": {
|
|
||||||
"version": "1.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz",
|
|
||||||
"integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=",
|
|
||||||
"requires": {
|
|
||||||
"is-callable": "^1.1.1",
|
|
||||||
"is-date-object": "^1.0.1",
|
|
||||||
"is-symbol": "^1.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"es6-error": {
|
|
||||||
"version": "4.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz",
|
|
||||||
"integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"escape-string-regexp": {
|
|
||||||
"version": "1.0.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
|
||||||
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
|
|
||||||
},
|
|
||||||
"esprima": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz",
|
|
||||||
"integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"figlet": {
|
|
||||||
"version": "1.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/figlet/-/figlet-1.2.0.tgz",
|
|
||||||
"integrity": "sha1-bEZTc3j6tkkUa1phQ92gGbQwtBA="
|
|
||||||
},
|
|
||||||
"first-chunk-stream": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-2.0.0.tgz",
|
|
||||||
"integrity": "sha1-G97NuOCDwGZLkZRVgVd6Q6nzHXA=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"readable-stream": "^2.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"foreach": {
|
|
||||||
"version": "2.0.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz",
|
|
||||||
"integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k="
|
|
||||||
},
|
|
||||||
"fs-extra": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"graceful-fs": "^4.1.2",
|
|
||||||
"jsonfile": "^4.0.0",
|
|
||||||
"universalify": "^0.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fs.realpath": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
||||||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"function-bind": {
|
|
||||||
"version": "1.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
|
||||||
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
|
|
||||||
},
|
|
||||||
"get-func-name": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz",
|
|
||||||
"integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"glob": {
|
|
||||||
"version": "7.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
|
|
||||||
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"fs.realpath": "^1.0.0",
|
|
||||||
"inflight": "^1.0.4",
|
|
||||||
"inherits": "2",
|
|
||||||
"minimatch": "^3.0.4",
|
|
||||||
"once": "^1.3.0",
|
|
||||||
"path-is-absolute": "^1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"graceful-fs": {
|
|
||||||
"version": "4.1.11",
|
|
||||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
|
|
||||||
"integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"has": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
|
|
||||||
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
|
|
||||||
"requires": {
|
|
||||||
"function-bind": "^1.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"has-flag": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
|
||||||
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
|
|
||||||
},
|
|
||||||
"home": {
|
|
||||||
"version": "1.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/home/-/home-1.0.1.tgz",
|
|
||||||
"integrity": "sha1-lqQjzrSbmDeP9e886uBZpVf53TU=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"os-homedir": "^1.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"inflight": {
|
|
||||||
"version": "1.0.6",
|
|
||||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
|
||||||
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"once": "^1.3.0",
|
|
||||||
"wrappy": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"inherits": {
|
|
||||||
"version": "2.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
|
||||||
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"is-callable": {
|
|
||||||
"version": "1.1.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz",
|
|
||||||
"integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA=="
|
|
||||||
},
|
|
||||||
"is-date-object": {
|
|
||||||
"version": "1.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz",
|
|
||||||
"integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY="
|
|
||||||
},
|
|
||||||
"is-promise": {
|
|
||||||
"version": "2.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz",
|
|
||||||
"integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o="
|
|
||||||
},
|
|
||||||
"is-regex": {
|
|
||||||
"version": "1.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz",
|
|
||||||
"integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=",
|
|
||||||
"requires": {
|
|
||||||
"has": "^1.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"is-symbol": {
|
|
||||||
"version": "1.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz",
|
|
||||||
"integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI="
|
|
||||||
},
|
|
||||||
"is-utf8": {
|
|
||||||
"version": "0.2.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
|
|
||||||
"integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"isarray": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
|
|
||||||
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"js-yaml": {
|
|
||||||
"version": "3.12.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz",
|
|
||||||
"integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"argparse": "^1.0.7",
|
|
||||||
"esprima": "^4.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"jsonfile": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
|
|
||||||
"integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"graceful-fs": "^4.1.6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"leakage": {
|
|
||||||
"version": "0.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/leakage/-/leakage-0.4.0.tgz",
|
|
||||||
"integrity": "sha512-x7gYK5n5dPkHDZWJ2Kh8Ag1hZNzUh+HtXn8Bv1aDdN6o6ONPCJ8sOfFq+kxcULJFp3lXaCjXb3iXOLmQRbBLwA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@airbnb/node-memwatch": "^1.0.2",
|
|
||||||
"es6-error": "^4.0.2",
|
|
||||||
"left-pad": "^1.1.3",
|
|
||||||
"minimist": "^1.2.0",
|
|
||||||
"pretty-bytes": "^4.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"left-pad": {
|
|
||||||
"version": "1.3.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz",
|
|
||||||
"integrity": "sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"lodash": {
|
|
||||||
"version": "4.17.10",
|
|
||||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
|
|
||||||
"integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg=="
|
|
||||||
},
|
|
||||||
"log-symbols": {
|
|
||||||
"version": "2.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz",
|
|
||||||
"integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==",
|
|
||||||
"requires": {
|
|
||||||
"chalk": "^2.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mimic-fn": {
|
|
||||||
"version": "1.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
|
|
||||||
"integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ=="
|
|
||||||
},
|
|
||||||
"minimatch": {
|
|
||||||
"version": "3.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
|
||||||
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
|
||||||
"requires": {
|
|
||||||
"brace-expansion": "^1.1.7"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"minimist": {
|
|
||||||
"version": "1.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
|
|
||||||
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"nan": {
|
|
||||||
"version": "2.10.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz",
|
|
||||||
"integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"object-keys": {
|
|
||||||
"version": "1.0.12",
|
|
||||||
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.12.tgz",
|
|
||||||
"integrity": "sha512-FTMyFUm2wBcGHnH2eXmz7tC6IwlqQZ6mVZ+6dm6vZ4IQIHjs6FdNsQBuKGPuUUUY6NfJw2PshC08Tn6LzLDOag=="
|
|
||||||
},
|
|
||||||
"object.getownpropertydescriptors": {
|
|
||||||
"version": "2.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz",
|
|
||||||
"integrity": "sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=",
|
|
||||||
"requires": {
|
|
||||||
"define-properties": "^1.1.2",
|
|
||||||
"es-abstract": "^1.5.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"once": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
|
||||||
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"wrappy": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"onetime": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
|
|
||||||
"integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
|
|
||||||
"requires": {
|
|
||||||
"mimic-fn": "^1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ora": {
|
|
||||||
"version": "2.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/ora/-/ora-2.1.0.tgz",
|
|
||||||
"integrity": "sha512-hNNlAd3gfv/iPmsNxYoAPLvxg7HuPozww7fFonMZvL84tP6Ox5igfk5j/+a9rtJJwqMgKK+JgWsAQik5o0HTLA==",
|
|
||||||
"requires": {
|
|
||||||
"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": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
|
|
||||||
"integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"path-is-absolute": {
|
|
||||||
"version": "1.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
|
||||||
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"pathval": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz",
|
|
||||||
"integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"pify": {
|
|
||||||
"version": "2.3.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
|
|
||||||
"integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"pretty-bytes": {
|
|
||||||
"version": "4.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz",
|
|
||||||
"integrity": "sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"process-nextick-args": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
|
|
||||||
"integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"qenv": {
|
|
||||||
"version": "1.1.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/qenv/-/qenv-1.1.7.tgz",
|
|
||||||
"integrity": "sha1-0D+L+P43SUzwjQkZ/nZdyoTZr64=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"lodash": "^4.17.4",
|
|
||||||
"smartfile": "^4.2.11",
|
|
||||||
"typings-global": "^1.0.16"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"readable-stream": {
|
|
||||||
"version": "2.3.6",
|
|
||||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
|
|
||||||
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"core-util-is": "~1.0.0",
|
|
||||||
"inherits": "~2.0.3",
|
|
||||||
"isarray": "~1.0.0",
|
|
||||||
"process-nextick-args": "~2.0.0",
|
|
||||||
"safe-buffer": "~5.1.1",
|
|
||||||
"string_decoder": "~1.1.1",
|
|
||||||
"util-deprecate": "~1.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"remove-trailing-separator": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
|
|
||||||
"integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"replace-ext": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz",
|
|
||||||
"integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"require-reload": {
|
|
||||||
"version": "0.2.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/require-reload/-/require-reload-0.2.2.tgz",
|
|
||||||
"integrity": "sha1-KadZGEbK+RtuijzamRaD+V+NfUI=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"restore-cursor": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
|
|
||||||
"integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
|
|
||||||
"requires": {
|
|
||||||
"onetime": "^2.0.0",
|
|
||||||
"signal-exit": "^3.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"safe-buffer": {
|
|
||||||
"version": "5.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
|
||||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"signal-exit": {
|
|
||||||
"version": "3.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
|
|
||||||
"integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0="
|
|
||||||
},
|
|
||||||
"smartchai": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/smartchai/-/smartchai-2.0.1.tgz",
|
|
||||||
"integrity": "sha512-9M+R56OhAHXScxgr2vzQqxGx0XMS0QXriNZuP7hjlbVbo2FUT+l60iEzbwPt9Ga+5u2cEEjSSoZEQVqlROaddA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@types/chai": "^4.1.2",
|
|
||||||
"@types/chai-as-promised": "^7.1.0",
|
|
||||||
"@types/chai-string": "^1.4.0",
|
|
||||||
"chai": "^4.1.2",
|
|
||||||
"chai-as-promised": "^7.1.1",
|
|
||||||
"chai-string": "^1.4.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"smartdelay": {
|
|
||||||
"version": "1.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/smartdelay/-/smartdelay-1.0.4.tgz",
|
|
||||||
"integrity": "sha512-ab+d8ADiMMPKwrQNhoJYjmOR20VIIIxjknoEF9/PfMryic7tmvTmFrDMdcnMRohGNw/pN+4/I5dSUBdsDya7uw==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"smartq": "^1.1.1",
|
|
||||||
"typings-global": "^1.0.16"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"smartenv": {
|
|
||||||
"version": "4.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/smartenv/-/smartenv-4.0.3.tgz",
|
|
||||||
"integrity": "sha512-BBbvXv+8dNJx0IjvJyXO4iu4pkre61RM2eaSV1lg1qx/8lgQUONbf/yAVxbwIBg4TfE+iHrIhL4zCZ9sb+H7ng==",
|
|
||||||
"requires": {
|
|
||||||
"@types/node": "^9.4.4",
|
|
||||||
"lodash": "^4.17.5",
|
|
||||||
"smartparam": "^1.0.2",
|
|
||||||
"smartq": "^1.1.6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"smartfile": {
|
|
||||||
"version": "4.2.28",
|
|
||||||
"resolved": "https://registry.npmjs.org/smartfile/-/smartfile-4.2.28.tgz",
|
|
||||||
"integrity": "sha512-zUeAOLYftz8xLfKTs9U1NOuNPTA9jlvTQNr7lDIv84kXnr1AEpDb2Xwy1MdK1w733sBil/RkxtezrkvgRVAnNg==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@types/fs-extra": "5.0.0",
|
|
||||||
"@types/vinyl": "^2.0.2",
|
|
||||||
"fs-extra": "^5.0.0",
|
|
||||||
"glob": "^7.1.2",
|
|
||||||
"js-yaml": "^3.10.0",
|
|
||||||
"require-reload": "0.2.2",
|
|
||||||
"smartpath": "^3.2.8",
|
|
||||||
"smartq": "^1.1.6",
|
|
||||||
"smartrequest": "^1.0.8",
|
|
||||||
"vinyl-file": "^3.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"smartlog-interfaces": {
|
|
||||||
"version": "1.0.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/smartlog-interfaces/-/smartlog-interfaces-1.0.8.tgz",
|
|
||||||
"integrity": "sha512-2z1dj3/Jc7hQWprTj2TamUoSmchfeQ4cSLN7GbqenAwiTgRZiDxMNpYLkSFoUQM1w6T58hG0jfiG3IEXhmqctg=="
|
|
||||||
},
|
|
||||||
"smartparam": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/smartparam/-/smartparam-1.0.2.tgz",
|
|
||||||
"integrity": "sha512-Q09m98X6+WG9q0Wpj6LXXSqGdYUItLAsj5ypJ8pRkGtry2V4zZzhimv4xviViLIfrgIBn5uTfbjNU0is7+WRTA==",
|
|
||||||
"requires": {
|
|
||||||
"beautylog": "6.1.10",
|
|
||||||
"is-promise": "^2.1.0",
|
|
||||||
"minimatch": "^3.0.4",
|
|
||||||
"smartq": "^1.1.6",
|
|
||||||
"typings-global": "^1.0.20"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"smartpath": {
|
|
||||||
"version": "3.2.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/smartpath/-/smartpath-3.2.8.tgz",
|
|
||||||
"integrity": "sha1-SDS9OouuIpW6rK26I8h6UBlS+UA=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"home": "^1.0.1",
|
|
||||||
"typings-global": "^1.0.14"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"smartq": {
|
|
||||||
"version": "1.1.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/smartq/-/smartq-1.1.8.tgz",
|
|
||||||
"integrity": "sha512-FURlYW/C3bLeZjJcBVyw7bxCyQoCXiXbLCZcDUKznhXHaLu35c8m33/a2H8CA0rtb82lvzN8dRLnBZAcNMzNHQ==",
|
|
||||||
"requires": {
|
|
||||||
"util.promisify": "^1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"smartrequest": {
|
|
||||||
"version": "1.0.13",
|
|
||||||
"resolved": "https://registry.npmjs.org/smartrequest/-/smartrequest-1.0.13.tgz",
|
|
||||||
"integrity": "sha512-OHrvzaxaA8Z8bJr33yxnyJF35nrWyaumsajqXm2Zkv0/2hfWO1NQAj02VVV51rLQfmtU0Hex7Nk19SoC8nOmYg==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"smartq": "^1.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sprintf-js": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
|
||||||
"integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"string_decoder": {
|
|
||||||
"version": "1.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
|
|
||||||
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"safe-buffer": "~5.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"strip-ansi": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
|
|
||||||
"integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
|
|
||||||
"requires": {
|
|
||||||
"ansi-regex": "^3.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"strip-bom": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
|
|
||||||
"integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"is-utf8": "^0.2.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"strip-bom-buf": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/strip-bom-buf/-/strip-bom-buf-1.0.0.tgz",
|
|
||||||
"integrity": "sha1-HLRar1dTD0yvhsf3UXnSyaUd1XI=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"is-utf8": "^0.2.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"strip-bom-stream": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-2.0.0.tgz",
|
|
||||||
"integrity": "sha1-+H217yYT9paKpUWr/h7HKLaoKco=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"first-chunk-stream": "^2.0.0",
|
|
||||||
"strip-bom": "^2.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"supports-color": {
|
|
||||||
"version": "5.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz",
|
|
||||||
"integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==",
|
|
||||||
"requires": {
|
|
||||||
"has-flag": "^3.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tapbundle": {
|
|
||||||
"version": "2.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/tapbundle/-/tapbundle-2.0.2.tgz",
|
|
||||||
"integrity": "sha512-y3ulfK4GKoVkuqF2QsrwVMWLXHqXeoDEzsw/Q9ZTJumNINbx4bcWPAdg2IcTHYgJHeSdF03HiB9EbHoUTRjD9Q==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"early": "^2.1.1",
|
|
||||||
"leakage": "^0.4.0",
|
|
||||||
"smartchai": "^2.0.1",
|
|
||||||
"smartdelay": "^1.0.4",
|
|
||||||
"smartq": "^1.1.8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type-detect": {
|
|
||||||
"version": "4.0.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
|
|
||||||
"integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"typings-global": {
|
|
||||||
"version": "1.0.28",
|
|
||||||
"resolved": "https://registry.npmjs.org/typings-global/-/typings-global-1.0.28.tgz",
|
|
||||||
"integrity": "sha512-6VOwJWEY2971HOMHu/7sURzUXiD4/LiMJPsMAOqkHHAtS3MVpLFE5gzTiHilsH9KY5VE1mBQirWIgWFsDuo90A=="
|
|
||||||
},
|
|
||||||
"universalify": {
|
|
||||||
"version": "0.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
|
|
||||||
"integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"util-deprecate": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
|
||||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"util.promisify": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz",
|
|
||||||
"integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==",
|
|
||||||
"requires": {
|
|
||||||
"define-properties": "^1.1.2",
|
|
||||||
"object.getownpropertydescriptors": "^2.0.3"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"vinyl": {
|
|
||||||
"version": "2.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.2.0.tgz",
|
|
||||||
"integrity": "sha512-MBH+yP0kC/GQ5GwBqrTPTzEfiiLjta7hTtvQtbxBgTeSXsmKQRQecjibMbxIXzVT3Y9KJK+drOz1/k+vsu8Nkg==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"clone": "^2.1.1",
|
|
||||||
"clone-buffer": "^1.0.0",
|
|
||||||
"clone-stats": "^1.0.0",
|
|
||||||
"cloneable-readable": "^1.0.0",
|
|
||||||
"remove-trailing-separator": "^1.0.1",
|
|
||||||
"replace-ext": "^1.0.0"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"clone": {
|
|
||||||
"version": "2.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz",
|
|
||||||
"integrity": "sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=",
|
|
||||||
"dev": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"vinyl-file": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/vinyl-file/-/vinyl-file-3.0.0.tgz",
|
|
||||||
"integrity": "sha1-sQTZ5ECf+jJfqt1SBkLQo7SIs2U=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"graceful-fs": "^4.1.2",
|
|
||||||
"pify": "^2.3.0",
|
|
||||||
"strip-bom-buf": "^1.0.0",
|
|
||||||
"strip-bom-stream": "^2.0.0",
|
|
||||||
"vinyl": "^2.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"wcwidth": {
|
|
||||||
"version": "1.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
|
|
||||||
"integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=",
|
|
||||||
"requires": {
|
|
||||||
"defaults": "^1.0.3"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"wrappy": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
|
||||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
|
|
||||||
"dev": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
76
package.json
76
package.json
@ -1,49 +1,59 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartlog-destination-local",
|
"name": "@push.rocks/smartlog-destination-local",
|
||||||
"version": "7.0.0",
|
"private": false,
|
||||||
|
"version": "9.0.2",
|
||||||
"description": "a smartlog destination targeting the local console",
|
"description": "a smartlog destination targeting the local console",
|
||||||
"main": "dist/index.js",
|
"main": "dist_ts/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(npmts)",
|
"test": "(tstest test/)",
|
||||||
"testbrowser": "(npm test) && (node testbrowser.js)",
|
"build": "(tsbuild --web)",
|
||||||
"gitsetup": "(git config push.followTags true)",
|
"buildDocs": "tsdoc"
|
||||||
"push": "(git push origin master && git push origin release && git push --follow-tags)",
|
|
||||||
"reinstall": "(rm -r node_modules && npm install)",
|
|
||||||
"release": "(npm test) && (git pull origin master && npm version patch && git checkout release && git merge master && git checkout master && npm run push)",
|
|
||||||
"update": "(git checkout master && git pull origin master) && (npm install)",
|
|
||||||
"upgrade": "(npm run update) && (ncu upgradeAll && npm install)"
|
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitlab.com/pushrocks/beautylog.git"
|
"url": "https://code.foss.global/push.rocks/smartlog-destination-local.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"log",
|
"logging",
|
||||||
"color",
|
"console log",
|
||||||
"console",
|
"log management",
|
||||||
"beautiful"
|
"developer tools",
|
||||||
|
"local logging",
|
||||||
|
"console output"
|
||||||
],
|
],
|
||||||
"author": "Smart Coordination GmbH <office@push.rocks> (https://push.rocks)",
|
"author": "Lossless GmbH <hello@lossless.com> (https://lossless.com)",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://gitlab.com/pushrocks/beautylog/issues"
|
"url": "https://gitlab.com/pushrocks/beautylog/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://gitlab.com/pushrocks/beautylog",
|
"homepage": "https://code.foss.global/push.rocks/smartlog-destination-local",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/lodash": "^4.14.104",
|
"@push.rocks/consolecolor": "^2.0.1",
|
||||||
"beautycolor": "^1.0.11",
|
"@push.rocks/smartlog-interfaces": "^3.0.0",
|
||||||
"figlet": "^1.2.0",
|
"@push.rocks/smartpromise": "^4.0.2"
|
||||||
"lodash": "^4.17.5",
|
|
||||||
"ora": "^2.0.0",
|
|
||||||
"smartenv": "^4.0.3",
|
|
||||||
"smartlog-interfaces": "^1.0.8",
|
|
||||||
"smartq": "^1.1.6"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"qenv": "^1.1.7",
|
"@git.zone/tsbuild": "^2.1.66",
|
||||||
"smartchai": "^2.0.1",
|
"@git.zone/tsrun": "^1.2.42",
|
||||||
"smartdelay": "^1.0.4",
|
"@git.zone/tstest": "^1.0.74",
|
||||||
"tapbundle": "^2.0.0"
|
"@push.rocks/tapbundle": "^5.0.8",
|
||||||
}
|
"@types/node": "^20.4.1"
|
||||||
}
|
},
|
||||||
|
"files": [
|
||||||
|
"ts/**/*",
|
||||||
|
"ts_web/**/*",
|
||||||
|
"dist/**/*",
|
||||||
|
"dist_*/**/*",
|
||||||
|
"dist_ts/**/*",
|
||||||
|
"dist_ts_web/**/*",
|
||||||
|
"assets/**/*",
|
||||||
|
"cli.js",
|
||||||
|
"npmextra.json",
|
||||||
|
"readme.md"
|
||||||
|
],
|
||||||
|
"type": "module",
|
||||||
|
"browserslist": [
|
||||||
|
"last 1 chrome versions"
|
||||||
|
]
|
||||||
|
}
|
5009
pnpm-lock.yaml
generated
Normal file
5009
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
1
readme.hints.md
Normal file
1
readme.hints.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
111
readme.md
Normal file
111
readme.md
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
# @push.rocks/smartlog-destination-local
|
||||||
|
a smartlog destination targeting the local console
|
||||||
|
|
||||||
|
## Install
|
||||||
|
To use `@push.rocks/smartlog-destination-local` in your project, you need to install it via npm. You can do this by running:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install @push.rocks/smartlog-destination-local --save
|
||||||
|
```
|
||||||
|
|
||||||
|
This command adds `@push.rocks/smartlog-destination-local` to your project's dependencies and enables you to start implementing its features in your application.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
The `@push.rocks/smartlog-destination-local` package provides a way to easily log messages to the local console with support for color coding and structured message formats. It is especially useful when combined with the `@push.rocks/smartlog` package to create a powerful logging solution that is both visually informative and structured for better logging practices.
|
||||||
|
|
||||||
|
### Importing and Setting Up
|
||||||
|
|
||||||
|
First, make sure to import the package where you intend to use it:
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
import { DestinationLocal } from '@push.rocks/smartlog-destination-local';
|
||||||
|
```
|
||||||
|
|
||||||
|
Next, create an instance of `DestinationLocal`:
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
const localLogDestination = new DestinationLocal();
|
||||||
|
```
|
||||||
|
|
||||||
|
### Logging Messages
|
||||||
|
|
||||||
|
The primary feature of `@push.rocks/smartlog-destination-local` is to log messages to the console. This can be done by preparing a log package and using the `handleLog` method.
|
||||||
|
|
||||||
|
#### Example Log Message
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
import type { ILogPackage } from '@push.rocks/smartlog-interfaces';
|
||||||
|
|
||||||
|
const logPackage: ILogPackage = {
|
||||||
|
timestamp: Date.now(),
|
||||||
|
type: 'log', // or 'error', 'warn', etc. depending on the nature of the message
|
||||||
|
level: 'info', // determines the visibility and importance of the log
|
||||||
|
context: {
|
||||||
|
company: 'Your Company',
|
||||||
|
companyunit: 'Your Unit',
|
||||||
|
containerName: 'Your Container',
|
||||||
|
environment: 'development',
|
||||||
|
runtime: 'node',
|
||||||
|
zone: 'Your Zone'
|
||||||
|
},
|
||||||
|
message: 'This is a test log message.', // the actual message
|
||||||
|
correlation: {
|
||||||
|
id: 'uniqueId', // useful for tracing logs
|
||||||
|
type: 'requestId'
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
// Using the instance to log the message
|
||||||
|
localLogDestination.handleLog(logPackage);
|
||||||
|
```
|
||||||
|
|
||||||
|
This will output a structured, color-coded log message to your console, making it easier to differentiate between various log levels and to understand the context of the log messages at a glance.
|
||||||
|
|
||||||
|
### Log Reduction
|
||||||
|
|
||||||
|
For scenarios where repeated log messages may clutter your log output, `@push.rocks/smartlog-destination-local` offers a `logReduced` method. This method will throttle the output of identical consecutive messages according to the settings you provide.
|
||||||
|
|
||||||
|
#### Reducing Log Output
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
// Log a message repeatedly, e.g., in a loop
|
||||||
|
for (let i = 0; i < 100; i++) {
|
||||||
|
localLogDestination.logReduced('Repeated message', 5); // only logs every 5th identical message
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### Adding New Lines
|
||||||
|
|
||||||
|
You may want to improve the readability of your logs by inserting blank lines. This can be easily achieved:
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
localLogDestination.newLine(2); // Inserts two empty lines in the log output
|
||||||
|
```
|
||||||
|
|
||||||
|
### Advanced Use Cases
|
||||||
|
|
||||||
|
The `@push.rocks/smartlog-destination-local` package is flexible and integrates seamlessly with other logging and monitoring solutions. It can be extended or customized to fit more complex logging requirements, such as filtering logs based on environment, enhancing log messages with additional metadata, or integrating with remote logging services for centralized log management.
|
||||||
|
|
||||||
|
### Conclusion
|
||||||
|
|
||||||
|
`@push.rocks/smartlog-destination-local` serves as a robust, easy-to-use solution for enhancing your application's logging capabilities. By following the examples and using the provided methods, you can quickly implement effective logging practices that improve debugging, monitoring, and analysis of your application's behavior in development and production environments.
|
||||||
|
|
||||||
|
## License and Legal Information
|
||||||
|
|
||||||
|
This repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository.
|
||||||
|
|
||||||
|
**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
### Trademarks
|
||||||
|
|
||||||
|
This project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.
|
||||||
|
|
||||||
|
### Company Information
|
||||||
|
|
||||||
|
Task Venture Capital GmbH
|
||||||
|
Registered at District court Bremen HRB 35230 HB, Germany
|
||||||
|
|
||||||
|
For any legal inquiries or if you require further information, please contact us via email at hello@task.vc.
|
||||||
|
|
||||||
|
By using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +0,0 @@
|
|||||||
<head>
|
|
||||||
<script async src="browserified/index.js"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
</body>
|
|
@ -1,4 +0,0 @@
|
|||||||
var beautylog = require("./index.js");
|
|
||||||
console.log("*** start browser console test (Might look weird in OS console and travis log...) ***");
|
|
||||||
beautylog.log("hello");
|
|
||||||
console.log("*** end browser console test ***");
|
|
72
test/test.ts
72
test/test.ts
@ -1,49 +1,49 @@
|
|||||||
import { tap, expect } from 'tapbundle';
|
import { tap, expect } from '@push.rocks/tapbundle';
|
||||||
import * as smartdelay from 'smartdelay';
|
|
||||||
|
|
||||||
import * as qenv from 'qenv';
|
import * as smartlogDesinationLocal from '../ts/index.js';
|
||||||
let testQenv = new qenv.Qenv(process.cwd(), process.cwd() + '/.nogit');
|
import type { ILogContext } from '@push.rocks/smartlog-interfaces';
|
||||||
|
|
||||||
import beautylog = require('../ts/index');
|
const testLogContext: ILogContext = {
|
||||||
|
company: 'Lossless GmbH',
|
||||||
|
companyunit: 'Lossless.Cloud',
|
||||||
|
containerName: 'gitlabci',
|
||||||
|
environment: 'staging',
|
||||||
|
runtime: 'node',
|
||||||
|
zone: 'shipzone',
|
||||||
|
};
|
||||||
|
|
||||||
|
let testLocalInstance: smartlogDesinationLocal.DestinationLocal;
|
||||||
|
|
||||||
|
tap.test('should create a valid instance of DestinationLocal', async () => {
|
||||||
|
testLocalInstance = new smartlogDesinationLocal.DestinationLocal();
|
||||||
|
expect(testLocalInstance).toBeInstanceOf(smartlogDesinationLocal.DestinationLocal);
|
||||||
|
});
|
||||||
|
|
||||||
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');
|
testLocalInstance.handleLog({
|
||||||
});
|
timestamp: Date.now(),
|
||||||
|
type: 'log',
|
||||||
tap.test('.figlet should print nice fonts to console in yellow', async () => {
|
level: 'info',
|
||||||
return beautylog.figlet('Async!', { font: 'Star Wars', color: 'orange' });
|
context: testLogContext,
|
||||||
});
|
message: 'this is a info log message',
|
||||||
|
correlation: {
|
||||||
tap.test('.figletSync should print nice fonts to console in yellow', async () => {
|
id: '123',
|
||||||
beautylog.figletSync('Sync!', { font: 'Star Wars', color: 'blue' });
|
type: 'none',
|
||||||
|
},
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
tap.test('.logReduced(message) should only log two messages', async () => {
|
tap.test('.logReduced(message) should only log two messages', async () => {
|
||||||
beautylog.logReduced('Message 1');
|
testLocalInstance.logReduced('Message 1');
|
||||||
beautylog.logReduced('Message 1');
|
testLocalInstance.logReduced('Message 1');
|
||||||
beautylog.logReduced('Message 1');
|
testLocalInstance.logReduced('Message 1');
|
||||||
beautylog.logReduced('Message 1');
|
testLocalInstance.logReduced('Message 1');
|
||||||
beautylog.logReduced('Message 2');
|
testLocalInstance.logReduced('Message 2');
|
||||||
beautylog.logReduced('Message 2');
|
testLocalInstance.logReduced('Message 2');
|
||||||
});
|
});
|
||||||
|
|
||||||
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);
|
testLocalInstance.newLine(1);
|
||||||
});
|
|
||||||
|
|
||||||
tap.test('.ora(text,color) should display, update, and end a message', async () => {
|
|
||||||
beautylog.ora.start('This is a test text', 'green');
|
|
||||||
await smartdelay.delayFor(2000);
|
|
||||||
beautylog.ora.text('updated text!');
|
|
||||||
await smartdelay.delayFor(2000);
|
|
||||||
await smartdelay.delayFor(2000);
|
|
||||||
beautylog.ora.endOk('Allright, ora works!');
|
|
||||||
});
|
|
||||||
|
|
||||||
tap.test('.ora(text,color) should display an error message when ended with error', async () => {
|
|
||||||
beautylog.ora.start('This is another test text', 'green');
|
|
||||||
await smartdelay.delayFor(2000);
|
|
||||||
beautylog.ora.endError('Allright, ora displays an error!');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
tap.start();
|
tap.start();
|
||||||
|
8
ts/00_commitinfo_data.ts
Normal file
8
ts/00_commitinfo_data.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* autocreated commitinfo by @pushrocks/commitinfo
|
||||||
|
*/
|
||||||
|
export const commitinfo = {
|
||||||
|
name: '@push.rocks/smartlog-destination-local',
|
||||||
|
version: '9.0.2',
|
||||||
|
description: 'a smartlog destination targeting the local console'
|
||||||
|
}
|
135
ts/classes.destinationlocal.ts
Normal file
135
ts/classes.destinationlocal.ts
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
import * as plugins from './plugins.js';
|
||||||
|
import type { ILogDestination, ILogPackage, TLogLevel } from '@push.rocks/smartlog-interfaces';
|
||||||
|
|
||||||
|
// other beautylog classes
|
||||||
|
import { type TColorName } from '@push.rocks/consolecolor';
|
||||||
|
|
||||||
|
export class DestinationLocal implements ILogDestination {
|
||||||
|
/**
|
||||||
|
* handles a log according to the smartlog standard
|
||||||
|
* @param logPackage
|
||||||
|
*/
|
||||||
|
public async handleLog(logPackage: ILogPackage) {
|
||||||
|
this.logToConsole(logPackage);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* creates a new empty line
|
||||||
|
* @param linesArg
|
||||||
|
* @returns void
|
||||||
|
*/
|
||||||
|
public newLine(linesArg: number = 1) {
|
||||||
|
for (let i = 0; i < linesArg; i++) {
|
||||||
|
console.log('\n');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* logs a reduced log that only logs changes of consequential log messages
|
||||||
|
*/
|
||||||
|
public logReduced(logTextArg: string, repeatEveryTimesArg: number = 0) {
|
||||||
|
if (
|
||||||
|
logTextArg === this.previousMessage &&
|
||||||
|
(repeatEveryTimesArg === 0 || this.sameMessageCounter !== repeatEveryTimesArg)
|
||||||
|
) {
|
||||||
|
this.sameMessageCounter++;
|
||||||
|
} else {
|
||||||
|
this.sameMessageCounter = 0;
|
||||||
|
this.previousMessage = logTextArg;
|
||||||
|
this.logToConsole({
|
||||||
|
timestamp: Date.now(),
|
||||||
|
type: 'log',
|
||||||
|
level: 'info',
|
||||||
|
context: {
|
||||||
|
company: 'undefined',
|
||||||
|
companyunit: 'undefined',
|
||||||
|
containerName: 'undefined',
|
||||||
|
environment: 'test',
|
||||||
|
runtime: 'node',
|
||||||
|
zone: 'undefined',
|
||||||
|
},
|
||||||
|
message: logTextArg,
|
||||||
|
correlation: {
|
||||||
|
id: 'none',
|
||||||
|
type: 'none',
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private previousMessage: string = '';
|
||||||
|
private sameMessageCounter: number = 0;
|
||||||
|
|
||||||
|
// default logging
|
||||||
|
private logToConsole(logPackageArg: ILogPackage) {
|
||||||
|
let logString: string;
|
||||||
|
try {
|
||||||
|
logString =
|
||||||
|
this.localBl[logPackageArg.level].prefix +
|
||||||
|
plugins.consolecolor.coloredString(
|
||||||
|
logPackageArg.message,
|
||||||
|
this.localBl[logPackageArg.level].textColor
|
||||||
|
);
|
||||||
|
console.log(logString);
|
||||||
|
return true;
|
||||||
|
} catch (error) {
|
||||||
|
console.log(
|
||||||
|
this.localBl.errorPrefix + 'You seem to have tried logging something strange' + error
|
||||||
|
);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private localBl: {
|
||||||
|
[key: string]: {
|
||||||
|
prefix: string;
|
||||||
|
textColor: TColorName;
|
||||||
|
};
|
||||||
|
} = {
|
||||||
|
silly: {
|
||||||
|
prefix: plugins.consolecolor.coloredString(' silly ', 'white', 'blue') + ' ',
|
||||||
|
textColor: 'blue',
|
||||||
|
},
|
||||||
|
error: {
|
||||||
|
prefix:
|
||||||
|
plugins.consolecolor.coloredString(' ', 'red', 'red') +
|
||||||
|
plugins.consolecolor.coloredString(' ERROR! ', 'red', 'black') +
|
||||||
|
' ',
|
||||||
|
textColor: 'red',
|
||||||
|
},
|
||||||
|
info: {
|
||||||
|
prefix:
|
||||||
|
plugins.consolecolor.coloredString(' ', 'blue', 'blue') +
|
||||||
|
plugins.consolecolor.coloredString(' info: ', 'blue', 'black') +
|
||||||
|
' ',
|
||||||
|
textColor: 'white',
|
||||||
|
},
|
||||||
|
note: {
|
||||||
|
prefix:
|
||||||
|
plugins.consolecolor.coloredString(' ', 'pink', 'pink') +
|
||||||
|
plugins.consolecolor.coloredString(' note -> ', 'pink', 'black') +
|
||||||
|
' ',
|
||||||
|
textColor: 'pink',
|
||||||
|
},
|
||||||
|
ok: {
|
||||||
|
prefix:
|
||||||
|
plugins.consolecolor.coloredString(' ', 'green', 'green') +
|
||||||
|
plugins.consolecolor.coloredString(' ok ', 'green', 'black') +
|
||||||
|
' ',
|
||||||
|
textColor: 'green',
|
||||||
|
},
|
||||||
|
success: {
|
||||||
|
prefix:
|
||||||
|
plugins.consolecolor.coloredString(' ', 'green', 'green') +
|
||||||
|
plugins.consolecolor.coloredString(' SUCCESS! ', 'green', 'black') +
|
||||||
|
' ',
|
||||||
|
textColor: 'green',
|
||||||
|
},
|
||||||
|
warn: {
|
||||||
|
prefix:
|
||||||
|
plugins.consolecolor.coloredString(' ', 'orange', 'orange') +
|
||||||
|
plugins.consolecolor.coloredString(' WARN -> ', 'orange', 'black') +
|
||||||
|
' ',
|
||||||
|
textColor: 'orange',
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
@ -1,9 +1,2 @@
|
|||||||
import './sl.destlocal.console';
|
|
||||||
|
|
||||||
import * as plugins from './sl.destlocal.plugins';
|
|
||||||
// export classes
|
// export classes
|
||||||
export { Ora } from './sl.destlocal.classes.ora';
|
export { DestinationLocal } from './classes.destinationlocal.js';
|
||||||
|
|
||||||
// export methods
|
|
||||||
export { log, logReduced, newLine } from './beautylog.log';
|
|
||||||
export { figlet, figletSync } from './sl.destlocal.figlet';
|
|
||||||
|
5
ts/plugins.ts
Normal file
5
ts/plugins.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import * as consolecolor from '@push.rocks/consolecolor';
|
||||||
|
import * as smartlogInterfaces from '@push.rocks/smartlog-interfaces';
|
||||||
|
import * as smartpromise from '@push.rocks/smartpromise';
|
||||||
|
|
||||||
|
export { consolecolor, smartlogInterfaces, smartpromise };
|
@ -1,159 +0,0 @@
|
|||||||
import * as plugins from './sl.destlocal.plugins';
|
|
||||||
import { ILogDestination, ILogPackage } from 'smartlog-interfaces';
|
|
||||||
|
|
||||||
// other beautylog classes
|
|
||||||
import { Ora } from './sl.destlocal.classes.ora';
|
|
||||||
|
|
||||||
export interface IBeautyLogObject {
|
|
||||||
logType: string;
|
|
||||||
logString: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export class Beautylog implements ILogDestination {
|
|
||||||
private oraInstance: Ora;
|
|
||||||
handleLog(logPackage: ILogPackage) {
|
|
||||||
this.logToConsole(this.parseLog(logPackage.message));
|
|
||||||
}
|
|
||||||
|
|
||||||
get ora(): Ora {
|
|
||||||
if (!this.oraInstance) {
|
|
||||||
this.oraInstance = new Ora(this);
|
|
||||||
}
|
|
||||||
return this.oraInstance;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* parse logs for display
|
|
||||||
*/
|
|
||||||
private parseLog = (stringToParseArg: string): IBeautyLogObject => {
|
|
||||||
const parseLogRegex = /^(success|ok|info|warn|error):\s(.*)/;
|
|
||||||
const regexResult = parseLogRegex.exec(stringToParseArg);
|
|
||||||
if (regexResult && regexResult.length === 3) {
|
|
||||||
return {
|
|
||||||
logType: regexResult[1],
|
|
||||||
logString: regexResult[2]
|
|
||||||
};
|
|
||||||
} else {
|
|
||||||
return {
|
|
||||||
logType: 'log',
|
|
||||||
logString: stringToParseArg
|
|
||||||
};
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* creates a new empty line
|
|
||||||
* @param linesArg
|
|
||||||
* @returns void
|
|
||||||
*/
|
|
||||||
newLine(linesArg: number = 1) {
|
|
||||||
for (let i = 0; i < linesArg; i++) {
|
|
||||||
console.log('\n');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* logs a reduced log that only logs changes of consequential log messages
|
|
||||||
*/
|
|
||||||
logReduced(logTextArg: string, repeatEveryTimesArg: number = 0) {
|
|
||||||
if (
|
|
||||||
logTextArg === this.previousMessage &&
|
|
||||||
(repeatEveryTimesArg === 0 || this.sameMessageCounter !== repeatEveryTimesArg)
|
|
||||||
) {
|
|
||||||
this.sameMessageCounter++;
|
|
||||||
} else {
|
|
||||||
this.sameMessageCounter = 0;
|
|
||||||
this.previousMessage = logTextArg;
|
|
||||||
this.logToConsole({
|
|
||||||
logType: 'log',
|
|
||||||
logString: logTextArg
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private previousMessage: string = '';
|
|
||||||
private sameMessageCounter: number = 0;
|
|
||||||
|
|
||||||
// default logging
|
|
||||||
logToConsole(beautlogObject: IBeautyLogObject) {
|
|
||||||
let { logType, logString } = beautlogObject;
|
|
||||||
try {
|
|
||||||
switch (logType) {
|
|
||||||
case 'dir':
|
|
||||||
logString = this.localBl.dirPrefix + plugins.beautycolor.coloredString(logString, 'blue');
|
|
||||||
break;
|
|
||||||
case 'error':
|
|
||||||
logString =
|
|
||||||
this.localBl.errorPrefix + plugins.beautycolor.coloredString(logString, 'red');
|
|
||||||
break;
|
|
||||||
case 'info':
|
|
||||||
logString =
|
|
||||||
this.localBl.infoPrefix + plugins.beautycolor.coloredString(logString, 'blue');
|
|
||||||
break;
|
|
||||||
case 'normal':
|
|
||||||
logString = this.localBl.logPrefix + plugins.beautycolor.coloredString(logString, 'cyan');
|
|
||||||
break;
|
|
||||||
case 'note':
|
|
||||||
logString =
|
|
||||||
this.localBl.notePrefix + plugins.beautycolor.coloredString(logString, 'pink');
|
|
||||||
break;
|
|
||||||
case 'ok':
|
|
||||||
logString = this.localBl.okPrefix + plugins.beautycolor.coloredString(logString, 'green');
|
|
||||||
break;
|
|
||||||
case 'success':
|
|
||||||
logString =
|
|
||||||
this.localBl.successPrefix + plugins.beautycolor.coloredString(logString, 'green');
|
|
||||||
break;
|
|
||||||
case 'warn':
|
|
||||||
logString =
|
|
||||||
this.localBl.warnPrefix + plugins.beautycolor.coloredString(logString, 'orange');
|
|
||||||
break;
|
|
||||||
case 'log':
|
|
||||||
logString = this.localBl.logPrefix + plugins.beautycolor.coloredString(logString, 'cyan');
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
plugins.beautycolor.coloredString(logString, 'blue');
|
|
||||||
console.log('unknown logType for "' + logString + '"');
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
console.log(logString);
|
|
||||||
return true;
|
|
||||||
} catch (error) {
|
|
||||||
console.log(
|
|
||||||
this.localBl.errorPrefix + 'You seem to have tried logging something strange' + error
|
|
||||||
);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private localBl = {
|
|
||||||
dirPrefix: plugins.beautycolor.coloredString(' DIR ', 'white', 'blue') + ' ',
|
|
||||||
errorPrefix:
|
|
||||||
plugins.beautycolor.coloredString(' ', 'red', 'red') +
|
|
||||||
plugins.beautycolor.coloredString(' ERROR! ', 'red', 'black') +
|
|
||||||
' ',
|
|
||||||
infoPrefix:
|
|
||||||
plugins.beautycolor.coloredString(' ', 'blue', 'blue') +
|
|
||||||
plugins.beautycolor.coloredString(' INFO: ', 'blue', 'black') +
|
|
||||||
' ',
|
|
||||||
logPrefix:
|
|
||||||
plugins.beautycolor.coloredString(' ', 'white', 'cyan') +
|
|
||||||
plugins.beautycolor.coloredString(' LOG: ', 'cyan', 'black') +
|
|
||||||
' ',
|
|
||||||
notePrefix:
|
|
||||||
plugins.beautycolor.coloredString(' ', 'pink', 'pink') +
|
|
||||||
plugins.beautycolor.coloredString(' NOTE -> ', 'pink', 'black') +
|
|
||||||
' ',
|
|
||||||
okPrefix:
|
|
||||||
plugins.beautycolor.coloredString(' ', 'green', 'green') +
|
|
||||||
plugins.beautycolor.coloredString(' OK! ', 'green', 'black') +
|
|
||||||
' ',
|
|
||||||
successPrefix:
|
|
||||||
plugins.beautycolor.coloredString(' ', 'green', 'green') +
|
|
||||||
plugins.beautycolor.coloredString(' SUCCESS! ', 'green', 'black') +
|
|
||||||
' ',
|
|
||||||
warnPrefix:
|
|
||||||
plugins.beautycolor.coloredString(' ', 'orange', 'orange') +
|
|
||||||
plugins.beautycolor.coloredString(' WARN: -> ', 'orange', 'black') +
|
|
||||||
' '
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,47 +0,0 @@
|
|||||||
import * as plugins from './sl.destlocal.plugins';
|
|
||||||
import { Beautylog } from './sl.destlocal.classes.beautylog';
|
|
||||||
|
|
||||||
export class Ora {
|
|
||||||
beautylog: Beautylog;
|
|
||||||
state: string;
|
|
||||||
private _oraObject;
|
|
||||||
constructor(beautylogInstanceArg: Beautylog = new Beautylog()) {
|
|
||||||
this._oraObject = plugins.ora({
|
|
||||||
spinner: 'dots',
|
|
||||||
text: '',
|
|
||||||
color: 'blue'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
text(textArg) {
|
|
||||||
this._oraObject.text = textArg;
|
|
||||||
}
|
|
||||||
|
|
||||||
start(textArg?: string, colorArg?: string) {
|
|
||||||
if (textArg) {
|
|
||||||
this.text(textArg);
|
|
||||||
}
|
|
||||||
if (colorArg) {
|
|
||||||
this._oraObject.color = colorArg;
|
|
||||||
}
|
|
||||||
this._oraObject.start();
|
|
||||||
}
|
|
||||||
end() {
|
|
||||||
this._oraObject.stop();
|
|
||||||
this._oraObject.clear();
|
|
||||||
}
|
|
||||||
endOk(textArg) {
|
|
||||||
this.end();
|
|
||||||
logNode('ok', textArg);
|
|
||||||
}
|
|
||||||
endError(textArg) {
|
|
||||||
this.end();
|
|
||||||
logNode('error', textArg);
|
|
||||||
}
|
|
||||||
pause() {
|
|
||||||
this._oraObject.stop();
|
|
||||||
}
|
|
||||||
stop() {
|
|
||||||
// alias for end
|
|
||||||
this.end();
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,42 +0,0 @@
|
|||||||
// ======
|
|
||||||
// monkeypatch logging, so console logs are controled by beautylog
|
|
||||||
// ======
|
|
||||||
import plugins = require('./sl.destlocal.plugins');
|
|
||||||
import { activeOra, oraActive } from './sl.destlocal.classes.ora';
|
|
||||||
let nativeLog = console.log;
|
|
||||||
let nativeError = console.error;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* routes the console to got through beautylog, so beautylog can take action before things are logged to console.
|
|
||||||
*/
|
|
||||||
let route = function(statusArg: boolean) {
|
|
||||||
if (statusArg === true) {
|
|
||||||
console.log = beautyConsole.log;
|
|
||||||
console.error = beautyConsole.error;
|
|
||||||
} else {
|
|
||||||
console.log = nativeLog;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export let beautyConsole = {
|
|
||||||
log: function(logArg: any) {
|
|
||||||
if (oraActive) {
|
|
||||||
activeOra.pause();
|
|
||||||
nativeLog.apply(nativeLog, arguments);
|
|
||||||
activeOra.start();
|
|
||||||
} else {
|
|
||||||
nativeLog.apply(nativeLog, arguments);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
error: function() {
|
|
||||||
if (oraActive) {
|
|
||||||
activeOra.pause();
|
|
||||||
nativeLog.apply(nativeError, arguments);
|
|
||||||
activeOra.start();
|
|
||||||
} else {
|
|
||||||
nativeLog.apply(nativeError, arguments);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
route(true);
|
|
@ -1,60 +0,0 @@
|
|||||||
import plugins = require('./sl.destlocal.plugins');
|
|
||||||
|
|
||||||
export interface IFigletOptions {
|
|
||||||
font?: string;
|
|
||||||
color?: plugins.beautycolor.TColorName;
|
|
||||||
cb?;
|
|
||||||
}
|
|
||||||
|
|
||||||
let defaultOptions: IFigletOptions = {
|
|
||||||
font: 'Star Wars',
|
|
||||||
color: 'green',
|
|
||||||
cb: function() {}
|
|
||||||
};
|
|
||||||
|
|
||||||
export let figlet = function(textArg: string, optionsArg?) {
|
|
||||||
let done = plugins.q.defer();
|
|
||||||
let mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
|
|
||||||
let options = plugins.lodash.assign(mergeOptions, optionsArg);
|
|
||||||
plugins.figlet(
|
|
||||||
textArg,
|
|
||||||
{
|
|
||||||
font: options.font,
|
|
||||||
horizontalLayout: 'default',
|
|
||||||
verticalLayout: 'default'
|
|
||||||
},
|
|
||||||
function(err, data: string) {
|
|
||||||
if (err) {
|
|
||||||
console.log('Something went wrong...');
|
|
||||||
console.dir(err);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
console.log(colorFiglet(data, options.color));
|
|
||||||
options.cb();
|
|
||||||
done.resolve();
|
|
||||||
}
|
|
||||||
);
|
|
||||||
return done.promise;
|
|
||||||
};
|
|
||||||
|
|
||||||
export let figletSync = function(textArg: string, optionsArg?: IFigletOptions) {
|
|
||||||
let mergeOptions = plugins.lodash.cloneDeep(defaultOptions);
|
|
||||||
let options = plugins.lodash.assign(mergeOptions, optionsArg);
|
|
||||||
let figletString: string = plugins.figlet.textSync(textArg, {
|
|
||||||
font: options.font,
|
|
||||||
horizontalLayout: 'default',
|
|
||||||
verticalLayout: 'default'
|
|
||||||
});
|
|
||||||
console.log(colorFiglet(figletString, options.color));
|
|
||||||
return true;
|
|
||||||
};
|
|
||||||
|
|
||||||
let colorFiglet = (figletStringArg, colorArg: plugins.beautycolor.TColorName) => {
|
|
||||||
let figletArray = figletStringArg.split('\n');
|
|
||||||
let figletStringCombined = '';
|
|
||||||
for (let figletRow of figletArray) {
|
|
||||||
figletRow = plugins.beautycolor.coloredString(figletRow, colorArg);
|
|
||||||
figletStringCombined = figletStringCombined + figletRow + '\n';
|
|
||||||
}
|
|
||||||
return figletStringCombined;
|
|
||||||
};
|
|
@ -1,9 +0,0 @@
|
|||||||
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');
|
|
||||||
|
|
||||||
export { beautycolor, lodash, smartenv, smartlogInterfaces, q, figlet, ora };
|
|
14
tsconfig.json
Normal file
14
tsconfig.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"useDefineForClassFields": false,
|
||||||
|
"target": "ES2022",
|
||||||
|
"module": "NodeNext",
|
||||||
|
"moduleResolution": "NodeNext",
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"verbatimModuleSyntax": true
|
||||||
|
},
|
||||||
|
"exclude": [
|
||||||
|
"dist_*/**/*.d.ts"
|
||||||
|
]
|
||||||
|
}
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "tslint-config-standard"
|
|
||||||
}
|
|
879
yarn.lock
879
yarn.lock
@ -1,879 +0,0 @@
|
|||||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
||||||
# yarn lockfile v1
|
|
||||||
|
|
||||||
|
|
||||||
"@types/chai-as-promised@^7.1.0":
|
|
||||||
version "7.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/chai-as-promised/-/chai-as-promised-7.1.0.tgz#010b04cde78eacfb6e72bfddb3e58fe23c2e78b9"
|
|
||||||
dependencies:
|
|
||||||
"@types/chai" "*"
|
|
||||||
|
|
||||||
"@types/chai-string@^1.4.0":
|
|
||||||
version "1.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/chai-string/-/chai-string-1.4.0.tgz#c8b78deb9ae53e86c05a446c256138faeaff53c1"
|
|
||||||
dependencies:
|
|
||||||
"@types/chai" "*"
|
|
||||||
|
|
||||||
"@types/chai@*":
|
|
||||||
version "3.4.35"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-3.4.35.tgz#e8d65f83492d2944f816fc620741821c28a8c900"
|
|
||||||
|
|
||||||
"@types/chai@^4.1.2":
|
|
||||||
version "4.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.1.2.tgz#f1af664769cfb50af805431c407425ed619daa21"
|
|
||||||
|
|
||||||
"@types/fs-extra@5.0.0":
|
|
||||||
version "5.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-5.0.0.tgz#d3e225b35eb5c6d3a5a782c28219df365c781413"
|
|
||||||
dependencies:
|
|
||||||
"@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":
|
|
||||||
version "4.14.55"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.55.tgz#75d7d4eba020ee4103d4cbd0f2a3ef5db8f7534f"
|
|
||||||
|
|
||||||
"@types/node@*":
|
|
||||||
version "7.0.8"
|
|
||||||
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/q@0.x.x":
|
|
||||||
version "0.0.32"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5"
|
|
||||||
|
|
||||||
"@types/vinyl@^2.0.2":
|
|
||||||
version "2.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/vinyl/-/vinyl-2.0.2.tgz#4f3b8dae8f5828d3800ef709b0cff488ee852de3"
|
|
||||||
dependencies:
|
|
||||||
"@types/node" "*"
|
|
||||||
|
|
||||||
ansi-256-colors@^1.1.0:
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/ansi-256-colors/-/ansi-256-colors-1.1.0.tgz#910de50efcc7c09e3d82f2f87abd6b700c18818a"
|
|
||||||
|
|
||||||
ansi-regex@^2.0.0:
|
|
||||||
version "2.1.1"
|
|
||||||
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:
|
|
||||||
version "2.2.1"
|
|
||||||
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"
|
|
||||||
|
|
||||||
argparse@^1.0.7:
|
|
||||||
version "1.0.9"
|
|
||||||
resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86"
|
|
||||||
dependencies:
|
|
||||||
sprintf-js "~1.0.2"
|
|
||||||
|
|
||||||
assertion-error@^1.0.1:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.0.2.tgz#13ca515d86206da0bac66e834dd397d87581094c"
|
|
||||||
|
|
||||||
balanced-match@^0.4.1:
|
|
||||||
version "0.4.2"
|
|
||||||
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"
|
|
||||||
|
|
||||||
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:
|
|
||||||
version "1.0.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/beautycolor/-/beautycolor-1.0.7.tgz#a4715738ac4c8221371e9cbeb5a6cc6d11ecbf7c"
|
|
||||||
dependencies:
|
|
||||||
ansi-256-colors "^1.1.0"
|
|
||||||
typings-global "^1.0.14"
|
|
||||||
|
|
||||||
beautylog@6.1.10:
|
|
||||||
version "6.1.10"
|
|
||||||
resolved "https://registry.yarnpkg.com/beautylog/-/beautylog-6.1.10.tgz#9c27e566937684cb689f9372d98cfa5415d50b72"
|
|
||||||
dependencies:
|
|
||||||
"@types/lodash" "^4.14.55"
|
|
||||||
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"
|
|
||||||
|
|
||||||
bindings@^1.2.1:
|
|
||||||
version "1.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.3.0.tgz#b346f6ecf6a95f5a815c5839fc7cdb22502f1ed7"
|
|
||||||
|
|
||||||
brace-expansion@^1.0.0:
|
|
||||||
version "1.1.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9"
|
|
||||||
dependencies:
|
|
||||||
balanced-match "^0.4.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"
|
|
||||||
|
|
||||||
buffer-shims@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51"
|
|
||||||
|
|
||||||
chai-as-promised@^7.1.1:
|
|
||||||
version "7.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/chai-as-promised/-/chai-as-promised-7.1.1.tgz#08645d825deb8696ee61725dbf590c012eb00ca0"
|
|
||||||
dependencies:
|
|
||||||
check-error "^1.0.2"
|
|
||||||
|
|
||||||
chai-string@^1.4.0:
|
|
||||||
version "1.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/chai-string/-/chai-string-1.4.0.tgz#359140c051d36a4e4b1a5fc6b910152f438a8d49"
|
|
||||||
|
|
||||||
chai@^4.1.2:
|
|
||||||
version "4.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/chai/-/chai-4.1.2.tgz#0f64584ba642f0f2ace2806279f4f06ca23ad73c"
|
|
||||||
dependencies:
|
|
||||||
assertion-error "^1.0.1"
|
|
||||||
check-error "^1.0.1"
|
|
||||||
deep-eql "^3.0.0"
|
|
||||||
get-func-name "^2.0.0"
|
|
||||||
pathval "^1.0.0"
|
|
||||||
type-detect "^4.0.0"
|
|
||||||
|
|
||||||
chalk@^1.0.0, chalk@^1.1.1:
|
|
||||||
version "1.1.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
|
|
||||||
dependencies:
|
|
||||||
ansi-styles "^2.2.1"
|
|
||||||
escape-string-regexp "^1.0.2"
|
|
||||||
has-ansi "^2.0.0"
|
|
||||||
strip-ansi "^3.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.1, check-error@^1.0.2:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82"
|
|
||||||
|
|
||||||
cli-cursor@^2.1.0:
|
|
||||||
version "2.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5"
|
|
||||||
dependencies:
|
|
||||||
restore-cursor "^2.0.0"
|
|
||||||
|
|
||||||
cli-spinners@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
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"
|
|
||||||
|
|
||||||
clone-buffer@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58"
|
|
||||||
|
|
||||||
clone-stats@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680"
|
|
||||||
|
|
||||||
clone@^1.0.0:
|
|
||||||
version "1.0.2"
|
|
||||||
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:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.0.0.tgz#a6290d413f217a61232f95e458ff38418cfb0117"
|
|
||||||
dependencies:
|
|
||||||
inherits "^2.0.1"
|
|
||||||
process-nextick-args "^1.0.6"
|
|
||||||
through2 "^2.0.1"
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
concat-map@0.0.1:
|
|
||||||
version "0.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
|
||||||
|
|
||||||
core-util-is@~1.0.0:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
|
|
||||||
|
|
||||||
deep-eql@^3.0.0:
|
|
||||||
version "3.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-3.0.1.tgz#dfc9404400ad1c8fe023e7da1df1c147c4b444df"
|
|
||||||
dependencies:
|
|
||||||
type-detect "^4.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"
|
|
||||||
|
|
||||||
early@^2.1.1:
|
|
||||||
version "2.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/early/-/early-2.1.1.tgz#841e23254ea5dc54d8afaeee82f5ab65c00ee23c"
|
|
||||||
dependencies:
|
|
||||||
beautycolor "^1.0.7"
|
|
||||||
smartq "^1.1.1"
|
|
||||||
typings-global "^1.0.16"
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
es6-error@^4.0.2:
|
|
||||||
version "4.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.1.1.tgz#9e3af407459deed47e9a91f9b885a84eb05c561d"
|
|
||||||
|
|
||||||
escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
|
|
||||||
version "1.0.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
|
|
||||||
|
|
||||||
esprima@^4.0.0:
|
|
||||||
version "4.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804"
|
|
||||||
|
|
||||||
figlet@^1.2.0:
|
|
||||||
version "1.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/figlet/-/figlet-1.2.0.tgz#6c46537378fab649146b5a6143dda019b430b410"
|
|
||||||
|
|
||||||
first-chunk-stream@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/first-chunk-stream/-/first-chunk-stream-2.0.0.tgz#1bdecdb8e083c0664b91945581577a43a9f31d70"
|
|
||||||
dependencies:
|
|
||||||
readable-stream "^2.0.2"
|
|
||||||
|
|
||||||
foreach@^2.0.5:
|
|
||||||
version "2.0.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99"
|
|
||||||
|
|
||||||
fs-extra@^5.0.0:
|
|
||||||
version "5.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-5.0.0.tgz#414d0110cdd06705734d055652c5411260c31abd"
|
|
||||||
dependencies:
|
|
||||||
graceful-fs "^4.1.2"
|
|
||||||
jsonfile "^4.0.0"
|
|
||||||
universalify "^0.1.0"
|
|
||||||
|
|
||||||
fs.realpath@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
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"
|
|
||||||
|
|
||||||
get-func-name@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41"
|
|
||||||
|
|
||||||
glob@^7.0.0:
|
|
||||||
version "7.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
|
|
||||||
dependencies:
|
|
||||||
fs.realpath "^1.0.0"
|
|
||||||
inflight "^1.0.4"
|
|
||||||
inherits "2"
|
|
||||||
minimatch "^3.0.2"
|
|
||||||
once "^1.3.0"
|
|
||||||
path-is-absolute "^1.0.0"
|
|
||||||
|
|
||||||
glob@^7.1.2:
|
|
||||||
version "7.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
|
|
||||||
dependencies:
|
|
||||||
fs.realpath "^1.0.0"
|
|
||||||
inflight "^1.0.4"
|
|
||||||
inherits "2"
|
|
||||||
minimatch "^3.0.4"
|
|
||||||
once "^1.3.0"
|
|
||||||
path-is-absolute "^1.0.0"
|
|
||||||
|
|
||||||
graceful-fs@^4.1.2, graceful-fs@^4.1.6:
|
|
||||||
version "4.1.11"
|
|
||||||
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
|
|
||||||
|
|
||||||
has-ansi@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
|
|
||||||
dependencies:
|
|
||||||
ansi-regex "^2.0.0"
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
home@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/home/-/home-1.0.1.tgz#96a423ceb49b98378ff5ef3ceae059a557f9dd35"
|
|
||||||
dependencies:
|
|
||||||
os-homedir "^1.0.1"
|
|
||||||
|
|
||||||
inflight@^1.0.4:
|
|
||||||
version "1.0.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
|
|
||||||
dependencies:
|
|
||||||
once "^1.3.0"
|
|
||||||
wrappy "1"
|
|
||||||
|
|
||||||
inherits@2, inherits@^2.0.1, inherits@~2.0.1:
|
|
||||||
version "2.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
|
||||||
|
|
||||||
interpret@^1.0.0:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.1.tgz#d579fb7f693b858004947af39fa0db49f795602c"
|
|
||||||
|
|
||||||
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-promise@^2.1.0:
|
|
||||||
version "2.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa"
|
|
||||||
|
|
||||||
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:
|
|
||||||
version "1.1.0"
|
|
||||||
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-utf8@^0.2.0, is-utf8@^0.2.1:
|
|
||||||
version "0.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
|
|
||||||
|
|
||||||
isarray@~1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
|
|
||||||
|
|
||||||
js-yaml@^3.10.0:
|
|
||||||
version "3.10.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc"
|
|
||||||
dependencies:
|
|
||||||
argparse "^1.0.7"
|
|
||||||
esprima "^4.0.0"
|
|
||||||
|
|
||||||
jsonfile@^4.0.0:
|
|
||||||
version "4.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
|
|
||||||
optionalDependencies:
|
|
||||||
graceful-fs "^4.1.6"
|
|
||||||
|
|
||||||
leakage@^0.3.0:
|
|
||||||
version "0.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/leakage/-/leakage-0.3.0.tgz#15d698abdc76bbc6439601f4f3020e77e2d50c39"
|
|
||||||
dependencies:
|
|
||||||
es6-error "^4.0.2"
|
|
||||||
left-pad "^1.1.3"
|
|
||||||
memwatch-next "^0.3.0"
|
|
||||||
minimist "^1.2.0"
|
|
||||||
pretty-bytes "^4.0.2"
|
|
||||||
|
|
||||||
left-pad@^1.1.3:
|
|
||||||
version "1.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.2.0.tgz#d30a73c6b8201d8f7d8e7956ba9616087a68e0ee"
|
|
||||||
|
|
||||||
lodash@^4.17.2, lodash@^4.17.4:
|
|
||||||
version "4.17.4"
|
|
||||||
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-symbols@^1.0.2:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
|
|
||||||
dependencies:
|
|
||||||
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"
|
|
||||||
|
|
||||||
memwatch-next@^0.3.0:
|
|
||||||
version "0.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/memwatch-next/-/memwatch-next-0.3.0.tgz#2111050f9a906e0aa2d72a4ec0f0089c78726f8f"
|
|
||||||
dependencies:
|
|
||||||
bindings "^1.2.1"
|
|
||||||
nan "^2.3.2"
|
|
||||||
|
|
||||||
mimic-fn@^1.0.0:
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
|
|
||||||
|
|
||||||
minimatch@^3.0.2:
|
|
||||||
version "3.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774"
|
|
||||||
dependencies:
|
|
||||||
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@^1.2.0:
|
|
||||||
version "1.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
|
|
||||||
|
|
||||||
nan@^2.3.2:
|
|
||||||
version "2.9.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/nan/-/nan-2.9.2.tgz#f564d75f5f8f36a6d9456cca7a6c4fe488ab7866"
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
once@^1.3.0:
|
|
||||||
version "1.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
|
||||||
dependencies:
|
|
||||||
wrappy "1"
|
|
||||||
|
|
||||||
onetime@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.0.tgz#52aa8110e52fc5126ffc667bd8ec21c2ed209ce6"
|
|
||||||
dependencies:
|
|
||||||
mimic-fn "^1.0.0"
|
|
||||||
|
|
||||||
ora@^1.1.0:
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/ora/-/ora-1.1.0.tgz#69aaa4a209630e43b142c5f7ff41820da87e2faf"
|
|
||||||
dependencies:
|
|
||||||
chalk "^1.1.1"
|
|
||||||
cli-cursor "^2.1.0"
|
|
||||||
cli-spinners "^1.0.0"
|
|
||||||
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:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.1.tgz#0d62bdf44b916fd3bbdcf2cab191948fb094f007"
|
|
||||||
|
|
||||||
path-is-absolute@^1.0.0:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
|
||||||
|
|
||||||
path-parse@^1.0.5:
|
|
||||||
version "1.0.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1"
|
|
||||||
|
|
||||||
pathval@^1.0.0:
|
|
||||||
version "1.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0"
|
|
||||||
|
|
||||||
pify@^2.3.0:
|
|
||||||
version "2.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
|
|
||||||
|
|
||||||
pretty-bytes@^4.0.2:
|
|
||||||
version "4.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-4.0.2.tgz#b2bf82e7350d65c6c33aa95aaa5a4f6327f61cd9"
|
|
||||||
|
|
||||||
process-nextick-args@^1.0.6, process-nextick-args@~1.0.6:
|
|
||||||
version "1.0.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
|
|
||||||
|
|
||||||
q@^1.4.1:
|
|
||||||
version "1.4.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/q/-/q-1.4.1.tgz#55705bcd93c5f3673530c2c2cbc0c2b3addc286e"
|
|
||||||
|
|
||||||
qenv@^1.1.7:
|
|
||||||
version "1.1.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/qenv/-/qenv-1.1.7.tgz#d03f8bf8fe37494cf08d0919fe765dca84d9afae"
|
|
||||||
dependencies:
|
|
||||||
lodash "^4.17.4"
|
|
||||||
smartfile "^4.2.11"
|
|
||||||
typings-global "^1.0.16"
|
|
||||||
|
|
||||||
readable-stream@^2.0.2, readable-stream@^2.1.5:
|
|
||||||
version "2.2.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.3.tgz#9cf49463985df016c8ae8813097a9293a9b33729"
|
|
||||||
dependencies:
|
|
||||||
buffer-shims "^1.0.0"
|
|
||||||
core-util-is "~1.0.0"
|
|
||||||
inherits "~2.0.1"
|
|
||||||
isarray "~1.0.0"
|
|
||||||
process-nextick-args "~1.0.6"
|
|
||||||
string_decoder "~0.10.x"
|
|
||||||
util-deprecate "~1.0.1"
|
|
||||||
|
|
||||||
rechoir@^0.6.2:
|
|
||||||
version "0.6.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
|
|
||||||
dependencies:
|
|
||||||
resolve "^1.1.6"
|
|
||||||
|
|
||||||
remove-trailing-separator@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz#615ebb96af559552d4bf4057c8436d486ab63cc4"
|
|
||||||
|
|
||||||
replace-ext@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb"
|
|
||||||
|
|
||||||
require-reload@0.2.2:
|
|
||||||
version "0.2.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/require-reload/-/require-reload-0.2.2.tgz#29a7591846caf91b6e8a3cda991683f95f8d7d42"
|
|
||||||
|
|
||||||
resolve@^1.1.6:
|
|
||||||
version "1.3.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.2.tgz#1f0442c9e0cbb8136e87b9305f932f46c7f28235"
|
|
||||||
dependencies:
|
|
||||||
path-parse "^1.0.5"
|
|
||||||
|
|
||||||
restore-cursor@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
|
|
||||||
dependencies:
|
|
||||||
onetime "^2.0.0"
|
|
||||||
signal-exit "^3.0.2"
|
|
||||||
|
|
||||||
semver@^5.3.0:
|
|
||||||
version "5.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
|
|
||||||
|
|
||||||
shelljs@^0.7.4:
|
|
||||||
version "0.7.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.7.tgz#b2f5c77ef97148f4b4f6e22682e10bba8667cff1"
|
|
||||||
dependencies:
|
|
||||||
glob "^7.0.0"
|
|
||||||
interpret "^1.0.0"
|
|
||||||
rechoir "^0.6.2"
|
|
||||||
|
|
||||||
signal-exit@^3.0.2:
|
|
||||||
version "3.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
|
|
||||||
|
|
||||||
smartchai@^2.0.0, smartchai@^2.0.1:
|
|
||||||
version "2.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/smartchai/-/smartchai-2.0.1.tgz#d20f17221f0e3c6c3473600b78ddfba0ab0ea762"
|
|
||||||
dependencies:
|
|
||||||
"@types/chai" "^4.1.2"
|
|
||||||
"@types/chai-as-promised" "^7.1.0"
|
|
||||||
"@types/chai-string" "^1.4.0"
|
|
||||||
chai "^4.1.2"
|
|
||||||
chai-as-promised "^7.1.1"
|
|
||||||
chai-string "^1.4.0"
|
|
||||||
|
|
||||||
smartdelay@^1.0.3, smartdelay@^1.0.4:
|
|
||||||
version "1.0.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/smartdelay/-/smartdelay-1.0.4.tgz#791c1a4ee6770494064c10b1d2d2b8e6f3105b82"
|
|
||||||
dependencies:
|
|
||||||
smartq "^1.1.1"
|
|
||||||
typings-global "^1.0.16"
|
|
||||||
|
|
||||||
smartenv@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/smartenv/-/smartenv-2.0.0.tgz#ede4e2044efcf9bec318388bb1dab53024ee3d16"
|
|
||||||
dependencies:
|
|
||||||
"@types/q" "0.x.x"
|
|
||||||
lodash "^4.17.2"
|
|
||||||
q "^1.4.1"
|
|
||||||
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.2.11:
|
|
||||||
version "4.2.28"
|
|
||||||
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.28.tgz#ab089e0bad63dec5feddb5f3d1cd5d99b76da118"
|
|
||||||
dependencies:
|
|
||||||
"@types/fs-extra" "5.0.0"
|
|
||||||
"@types/vinyl" "^2.0.2"
|
|
||||||
fs-extra "^5.0.0"
|
|
||||||
glob "^7.1.2"
|
|
||||||
js-yaml "^3.10.0"
|
|
||||||
require-reload "0.2.2"
|
|
||||||
smartpath "^3.2.8"
|
|
||||||
smartq "^1.1.6"
|
|
||||||
smartrequest "^1.0.8"
|
|
||||||
vinyl-file "^3.0.0"
|
|
||||||
|
|
||||||
smartlog-interfaces@^1.0.8:
|
|
||||||
version "1.0.8"
|
|
||||||
resolved "https://registry.yarnpkg.com/smartlog-interfaces/-/smartlog-interfaces-1.0.8.tgz#633d889d498c4c13cd525d24adeb6cad6fe1aee1"
|
|
||||||
|
|
||||||
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.8:
|
|
||||||
version "3.2.8"
|
|
||||||
resolved "https://registry.yarnpkg.com/smartpath/-/smartpath-3.2.8.tgz#4834bd3a8bae2295baacadba23c87a501952f940"
|
|
||||||
dependencies:
|
|
||||||
home "^1.0.1"
|
|
||||||
typings-global "^1.0.14"
|
|
||||||
|
|
||||||
smartq@^1.1.1:
|
|
||||||
version "1.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/smartq/-/smartq-1.1.1.tgz#efb358705260d41ae18aef7ffd815f7b6fe17dd3"
|
|
||||||
dependencies:
|
|
||||||
typed-promisify "^0.3.0"
|
|
||||||
typings-global "^1.0.14"
|
|
||||||
|
|
||||||
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.8:
|
|
||||||
version "1.0.8"
|
|
||||||
resolved "https://registry.yarnpkg.com/smartrequest/-/smartrequest-1.0.8.tgz#9af18dde34efa7d43b4ecfc92ccb157a98eda3b1"
|
|
||||||
dependencies:
|
|
||||||
smartq "^1.1.1"
|
|
||||||
|
|
||||||
sprintf-js@~1.0.2:
|
|
||||||
version "1.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
|
|
||||||
|
|
||||||
string_decoder@~0.10.x:
|
|
||||||
version "0.10.31"
|
|
||||||
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
|
|
||||||
|
|
||||||
strip-ansi@^3.0.0:
|
|
||||||
version "3.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
|
|
||||||
dependencies:
|
|
||||||
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:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/strip-bom-buf/-/strip-bom-buf-1.0.0.tgz#1cb45aaf57530f4caf86c7f75179d2c9a51dd572"
|
|
||||||
dependencies:
|
|
||||||
is-utf8 "^0.2.1"
|
|
||||||
|
|
||||||
strip-bom-stream@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/strip-bom-stream/-/strip-bom-stream-2.0.0.tgz#f87db5ef2613f6968aa545abfe1ec728b6a829ca"
|
|
||||||
dependencies:
|
|
||||||
first-chunk-stream "^2.0.0"
|
|
||||||
strip-bom "^2.0.0"
|
|
||||||
|
|
||||||
strip-bom@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e"
|
|
||||||
dependencies:
|
|
||||||
is-utf8 "^0.2.0"
|
|
||||||
|
|
||||||
supports-color@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
|
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
tapbundle@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-2.0.0.tgz#79fce68ff185c786fabaf6eb589a4afc7d2714b7"
|
|
||||||
dependencies:
|
|
||||||
early "^2.1.1"
|
|
||||||
leakage "^0.3.0"
|
|
||||||
smartchai "^2.0.0"
|
|
||||||
smartdelay "^1.0.3"
|
|
||||||
smartq "^1.1.1"
|
|
||||||
|
|
||||||
through2@^2.0.1:
|
|
||||||
version "2.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be"
|
|
||||||
dependencies:
|
|
||||||
readable-stream "^2.1.5"
|
|
||||||
xtend "~4.0.1"
|
|
||||||
|
|
||||||
type-detect@^4.0.0:
|
|
||||||
version "4.0.8"
|
|
||||||
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
|
|
||||||
|
|
||||||
typed-promisify@^0.3.0:
|
|
||||||
version "0.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/typed-promisify/-/typed-promisify-0.3.0.tgz#1ba0af5e444c87d8047406f18ce49092a1191853"
|
|
||||||
|
|
||||||
typings-global@^1.0.14:
|
|
||||||
version "1.0.14"
|
|
||||||
resolved "https://registry.yarnpkg.com/typings-global/-/typings-global-1.0.14.tgz#ab682720a03d6b9278869fb5c30c30d7dc61d12c"
|
|
||||||
dependencies:
|
|
||||||
semver "^5.3.0"
|
|
||||||
shelljs "^0.7.4"
|
|
||||||
|
|
||||||
typings-global@^1.0.16, 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"
|
|
||||||
|
|
||||||
universalify@^0.1.0:
|
|
||||||
version "0.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7"
|
|
||||||
|
|
||||||
util-deprecate@~1.0.1:
|
|
||||||
version "1.0.2"
|
|
||||||
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"
|
|
||||||
|
|
||||||
vinyl-file@^3.0.0:
|
|
||||||
version "3.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/vinyl-file/-/vinyl-file-3.0.0.tgz#b104d9e4409ffa325faadd520642d0a3b488b365"
|
|
||||||
dependencies:
|
|
||||||
graceful-fs "^4.1.2"
|
|
||||||
pify "^2.3.0"
|
|
||||||
strip-bom-buf "^1.0.0"
|
|
||||||
strip-bom-stream "^2.0.0"
|
|
||||||
vinyl "^2.0.1"
|
|
||||||
|
|
||||||
vinyl@^2.0.1:
|
|
||||||
version "2.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.0.1.tgz#1c3b4931e7ac4c1efee743f3b91a74c094407bb6"
|
|
||||||
dependencies:
|
|
||||||
clone "^1.0.0"
|
|
||||||
clone-buffer "^1.0.0"
|
|
||||||
clone-stats "^1.0.0"
|
|
||||||
cloneable-readable "^1.0.0"
|
|
||||||
is-stream "^1.1.0"
|
|
||||||
remove-trailing-separator "^1.0.1"
|
|
||||||
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"
|
|
||||||
|
|
||||||
wrappy@1:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
|
||||||
|
|
||||||
xtend@~4.0.1:
|
|
||||||
version "4.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"
|
|
Loading…
x
Reference in New Issue
Block a user