From eb194f688562cf764e0fd5435c356f6724bac4e9 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Fri, 8 Jan 2021 13:03:44 -0300 Subject: [PATCH] fix(all): Improvements on debugging output. --- boot.js | 17 +++++++++++------ package.json | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/boot.js b/boot.js index a745b9ba2..6dacf07bc 100644 --- a/boot.js +++ b/boot.js @@ -3,16 +3,21 @@ const Fs = require('fs'); const Path = require('path'); const { exec } = require('child_process'); +var pjson = require('./package.json'); // Displays version of Node JS being used at runtime and others attributes. -console.log(`[GB Runtime] NodeJS = ${process.version}`); -console.log(`[GB Runtime] platform = ${process.platform}`); -console.log(`[GB Runtime] architecture = ${process.arch}`); -console.log(`[GB Runtime] argv = ${process.argv}`); -console.log(`[GB Runtime] debugPort = ${process.debugPort}`); -var now = () => { +console.log(`[GB Runtime] BotServer = v${pjson.version}`); +console.log(`[GB Runtime] BotLib = v${pjson.dependencies.botlib}`); +console.log(`[GB Runtime] BotBuilder (MS) = v${pjson.dependencies.botbuilder}`); +console.log(`[GB Runtime] NodeJS = ${process.version}`); +console.log(`[GB Runtime] platform = ${process.platform}`); +console.log(`[GB Runtime] architecture = ${process.arch}`); +console.log(`[GB Runtime] argv = ${process.argv}`); +console.log(`[GB Runtime] debugPort = ${process.debugPort}`); + +var now = () => { return (new Date()).toISOString().replace(/T/, ' ').replace(/\..+/, '') + ' UTC'; } diff --git a/package.json b/package.json index 35cb66fe6..bdda74172 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/pragmatismo-io/BotServer.git" + "url": "https://github.com/GeneralBots/BotServer.git" }, "scripts": { "clean": "shx rm -rf node_modules/ dist/ docs/reference",