From 75025471d8cd4077ae80170fd6f744cc4b9a5500 Mon Sep 17 00:00:00 2001 From: CodeByAlok24 Date: Wed, 11 Mar 2026 02:10:44 +0530 Subject: [PATCH 1/2] feat: add colored emoji output for CLI logging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Red emoji (✗) for errors - Yellow emoji (⚠) for warnings - Green emoji (✓) for success/info messages Improves visual differentiation and developer experience --- src/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils.js b/src/utils.js index a175460e..b0d49508 100644 --- a/src/utils.js +++ b/src/utils.js @@ -9,7 +9,7 @@ const config = require('./modules/config') const package = require('../package.json') let error = (message) => { - console.error(`neu: ${chalk.bgRed.black('ERRR')} ${message}`); + console.error(chalk.red("✗ " + message)); } let isNeutralinojsProject = (parent = '.') => { @@ -61,11 +61,11 @@ let checkLatestVersion = () => { let log = (message) => { - console.log(`neu: ${chalk.bgGreen.black('INFO')} ${message}`); + console.log(chalk.green("✓ " + message)); } let warn = (message) => { - console.warn(`neu: ${chalk.bgYellow.black('WARN')} ${message}`); + console.warn(chalk.yellow("⚠ " + message)); } let trimPath = (path) => { From d7dff81ff03ac387ce2b6f11f11e7fa4ff9ab16b Mon Sep 17 00:00:00 2001 From: CodeByAlok24 Date: Wed, 11 Mar 2026 02:33:09 +0530 Subject: [PATCH 2/2] fix: enhance colored output with bold symbols and background badges - Error: red bold symbol + red background badge + red text - Info: green bold symbol + green background badge + green text - Warning: yellow bold symbol + yellow background badge + yellow text --- src/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils.js b/src/utils.js index b0d49508..5e0822cc 100644 --- a/src/utils.js +++ b/src/utils.js @@ -9,7 +9,7 @@ const config = require('./modules/config') const package = require('../package.json') let error = (message) => { - console.error(chalk.red("✗ " + message)); + console.error(chalk.red.bold("✗ ") + chalk.bgRed.white.bold(' ERROR ') + ' ' + chalk.red(message)); } let isNeutralinojsProject = (parent = '.') => { @@ -61,11 +61,11 @@ let checkLatestVersion = () => { let log = (message) => { - console.log(chalk.green("✓ " + message)); + console.log(chalk.green.bold("✓ ") + chalk.bgGreen.black.bold(' INFO ') + ' ' + chalk.green(message)); } let warn = (message) => { - console.warn(chalk.yellow("⚠ " + message)); + console.warn(chalk.yellow.bold("⚠ ") + chalk.bgYellow.black.bold(' WARN ') + ' ' + chalk.yellow(message)); } let trimPath = (path) => {