@ijuantm/simpl-addon 2.4.8 → 2.4.9

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 +4 -8
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -408,7 +408,6 @@ const main = async () => {
408
408
  log(` ╭${'─'.repeat(62)}╮`);
409
409
  log(` │ ${COLORS.bold}Simpl Add-on Installer${COLORS.reset} ${COLORS.dim}(v${version})${COLORS.reset}${' '.repeat(34 - version.length)}│`);
410
410
  log(` ╰${'─'.repeat(62)}╯`);
411
- console.log();
412
411
 
413
412
  let versionsData;
414
413
 
@@ -440,13 +439,10 @@ const main = async () => {
440
439
  log(` ${COLORS.bold}Available add-ons for this version:${COLORS.reset}`, 'blue');
441
440
 
442
441
  const addons = versionMeta['add-ons'] || [];
443
- if (addons.length === 0) {
444
- log(` ${COLORS.dim}No add-ons available${COLORS.reset}`);
445
- } else {
446
- addons.forEach(name => {
447
- log(` ${COLORS.cyan}•${COLORS.reset} ${name}: ${COLORS.dim}${CDN_BASE}/${version}/add-ons/${name}.zip${COLORS.reset}`);
448
- });
449
- }
442
+ if (addons.length === 0) log(` ${COLORS.dim}No add-ons available${COLORS.reset}`);
443
+ else addons.forEach(name => {
444
+ log(` ${COLORS.cyan}•${COLORS.reset} ${name}: ${COLORS.dim}${CDN_BASE}/${version}/add-ons/${name}.zip${COLORS.reset}`);
445
+ });
450
446
 
451
447
  console.log();
452
448
  process.exit(1);
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.4.8",
4
+ "version": "2.4.9",
5
5
  "scripts": {
6
6
  "link": "npm link",
7
7
  "unlink": "npm unlink -g @ijuantm/simpl-addon"