@ijuantm/simpl-addon 2.6.0 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/install.js +3 -0
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -69,6 +69,8 @@ const promptUser = (question, defaultValue = '') => new Promise(resolve => {
69
69
  });
70
70
  });
71
71
 
72
+ const printAnswer = (question, value) => console.log(`${question}: ${COLORS.cyan}${value}${COLORS.reset}`);
73
+
72
74
  const getSimplVersion = () => {
73
75
  const simplFile = path.join(process.cwd(), '.simpl');
74
76
 
@@ -594,6 +596,7 @@ const main = async () => {
594
596
 
595
597
  if (parsed.addon) {
596
598
  addonName = await resolveAddon(parsed.addon, addons);
599
+ printAnswer(' Add-on to install', addonName);
597
600
  } else {
598
601
  console.log();
599
602
  log(` ${COLORS.bold}Available add-ons:${COLORS.reset}`, 'blue');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ijuantm/simpl-addon",
3
3
  "description": "CLI tool to install Simpl framework add-ons.",
4
- "version": "2.6.0",
4
+ "version": "2.6.1",
5
5
  "scripts": {
6
6
  "link": "npm link",
7
7
  "unlink": "npm unlink -g @ijuantm/simpl-addon"