From bd397e2cd4ff81180baf64abc0a8dc941664da3c Mon Sep 17 00:00:00 2001 From: Dale Sande Date: Fri, 21 Jun 2019 20:46:10 -0700 Subject: [PATCH] fix: expose published and installed versions --- bin/generate.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/generate.js b/bin/generate.js index 700be7ad..ea846e1e 100755 --- a/bin/generate.js +++ b/bin/generate.js @@ -157,7 +157,9 @@ const generateFromTemplate = async () => { const pjson = require('../package.json'); const latestVersion = require('latest-version'); const latestPublishedVersion = await latestVersion('@alaskaairux/ods-wc-generator'); - log(chalk.green(latestPublishedVersion)) + + log(chalk.green(`\nPublished: v${latestPublishedVersion} | Installed: v${pjson.version}\n`)) + const params = parseArgs(); if(latestPublishedVersion > pjson.version) {