From a61f63f8ebe2afeb25efd4aabd2bee0eda4c1b9a Mon Sep 17 00:00:00 2001 From: Thiago de Souza Date: Sun, 19 Jan 2020 14:21:40 -0300 Subject: [PATCH] chore(v4): add emojis to cli informations --- package.json | 1 - packages/neutron-cli/src/commands/create.js | 9 ++++++--- .../src/extensions/start-template-resolver.js | 8 ++++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index d144ef3..def403f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,5 @@ { "private": true, - "version": "3.0.1", "workspaces": [ "packages/neutron-cli", "packages/neutron-start-react-native-template", diff --git a/packages/neutron-cli/src/commands/create.js b/packages/neutron-cli/src/commands/create.js index 41e5a81..c0f4ebc 100644 --- a/packages/neutron-cli/src/commands/create.js +++ b/packages/neutron-cli/src/commands/create.js @@ -64,14 +64,17 @@ class CreateCommand { try { PrintNewLine(); - PrintMessage('Creating App project structure...', MessageType.INFO); + PrintMessage( + '✨ Creating App project structure...', + MessageType.DEFAULT, + ); PrintDivider(); await startTemplateResolver(technologyType, appName); PrintNewLine(); PrintMessage( - 'The project was created successfuly!', + '🚀 The project was created successfuly!', MessageType.SUCCESS, ); PrintDivider(); @@ -80,7 +83,7 @@ class CreateCommand { const manager = system.which('yarn') ? 'yarn' : 'npm run'; PrintMessage( - 'We suggest that you begin by typing:', + '👉 We suggest that you begin by typing:', MessageType.DEFAULT, ); PrintNewLine(); diff --git a/packages/neutron-cli/src/extensions/start-template-resolver.js b/packages/neutron-cli/src/extensions/start-template-resolver.js index afea533..38f7225 100644 --- a/packages/neutron-cli/src/extensions/start-template-resolver.js +++ b/packages/neutron-cli/src/extensions/start-template-resolver.js @@ -103,15 +103,15 @@ module.exports = async (toolbox) => { PrintNewLine(); PrintMessage( - 'Installing packages required by your application in production...', - MessageType.INFO, + '📦 Installing packages required by your application in production...', + MessageType.DEFAULT, ); await packageManager.install(appName, dependencies, false); PrintNewLine(); PrintMessage( - 'Installing packages that are only needed for local development and testing...', - MessageType.INFO, + '📦 Installing packages that are only needed for local development and testing...', + MessageType.DEFAULT, ); await packageManager.install(appName, devDependencies, true); };