now printing font all right

This commit is contained in:
Philipp Kunz 2016-06-12 00:45:33 +02:00
parent 966cb88c82
commit 5f16cdd830
3 changed files with 38 additions and 35 deletions

32
dist/index.js vendored
View File

@ -8,19 +8,21 @@ early.start("NPMTS");
var plugins = require("./npmts.plugins"); var plugins = require("./npmts.plugins");
var paths = require("./npmts.paths"); var paths = require("./npmts.paths");
var npmts_promisechain_1 = require("./npmts.promisechain"); var npmts_promisechain_1 = require("./npmts.promisechain");
early.stop(); early.stop()
var npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot); .done(function () {
var npmtsCli = new plugins.smartcli.Smartcli(); var npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot);
npmtsCli.standardTask() var npmtsCli = new plugins.smartcli.Smartcli();
.then(function () { npmtsCli.standardTask()
plugins.beautylog.figletSync("NPMTS"); .then(function () {
plugins.beautylog.info("npmts version: " + npmtsProjectInfo.version); plugins.beautylog.figletSync("NPMTS");
try { plugins.beautylog.info("npmts version: " + npmtsProjectInfo.version);
npmts_promisechain_1.promisechain(); try {
} npmts_promisechain_1.promisechain();
catch (err) { }
console.log(err); catch (err) {
} console.log(err);
}
});
npmtsCli.addVersion(npmtsProjectInfo.version);
npmtsCli.startParse();
}); });
npmtsCli.addVersion(npmtsProjectInfo.version);
npmtsCli.startParse();

View File

@ -28,13 +28,13 @@
"homepage": "https://gitlab.com/pushrocks/npmts#readme", "homepage": "https://gitlab.com/pushrocks/npmts#readme",
"dependencies": { "dependencies": {
"beautylog": "5.0.8", "beautylog": "5.0.8",
"early": "^2.0.7", "early": "^2.0.13",
"fs-extra": "^0.30.0", "fs-extra": "^0.30.0",
"gulp": "3.9.1", "gulp": "3.9.1",
"gulp-concat": "^2.6.0", "gulp-concat": "^2.6.0",
"gulp-function": "^1.3.5", "gulp-function": "^1.3.6",
"gulp-if": "^2.0.1", "gulp-if": "^2.0.1",
"gulp-istanbul": "^0.10.4", "gulp-istanbul": "^1.0.0",
"gulp-jsdoc3": "^0.3.0", "gulp-jsdoc3": "^0.3.0",
"gulp-mocha": "^2.2.0", "gulp-mocha": "^2.2.0",
"gulp-replace": "^0.5.4", "gulp-replace": "^0.5.4",

View File

@ -8,22 +8,23 @@ early.start("NPMTS");
import * as plugins from "./npmts.plugins" import * as plugins from "./npmts.plugins"
import * as paths from "./npmts.paths"; import * as paths from "./npmts.paths";
import {promisechain} from "./npmts.promisechain"; import {promisechain} from "./npmts.promisechain";
early.stop(); early.stop()
.done(() => {
let npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot);
let npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot); let npmtsCli = new plugins.smartcli.Smartcli();
npmtsCli.standardTask()
.then(() => {
plugins.beautylog.figletSync("NPMTS");
plugins.beautylog.info("npmts version: " + npmtsProjectInfo.version);
try {
promisechain();
}
catch(err){
console.log(err);
}
});
let npmtsCli = new plugins.smartcli.Smartcli(); npmtsCli.addVersion(npmtsProjectInfo.version);
npmtsCli.standardTask() npmtsCli.startParse();
.then(() => {
plugins.beautylog.figletSync("NPMTS");
plugins.beautylog.info("npmts version: " + npmtsProjectInfo.version);
try {
promisechain();
}
catch(err){
console.log(err);
}
}); });
npmtsCli.addVersion(npmtsProjectInfo.version);
npmtsCli.startParse();