baraqex 1.0.28 → 1.0.29

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/bin/baraqex.js +3 -2
  2. package/package.json +1 -1
package/bin/baraqex.js CHANGED
@@ -4,7 +4,8 @@ import { program } from 'commander';
4
4
  import inquirer from 'inquirer';
5
5
  import chalk from 'chalk';
6
6
  import figlet from 'figlet';
7
- import { nanospinner } from 'nanospinner';
7
+ import pkg from 'nanospinner';
8
+ const { createSpinner } = pkg;
8
9
  import fs from 'fs-extra';
9
10
  import path from 'path';
10
11
  import { fileURLToPath } from 'url';
@@ -14,7 +15,7 @@ const __filename = fileURLToPath(import.meta.url);
14
15
  const __dirname = path.dirname(__filename);
15
16
  const packageRoot = path.dirname(__dirname);
16
17
 
17
- const spinner = nanospinner.createSpinner();
18
+ const spinner = createSpinner();
18
19
 
19
20
  // Template configurations
20
21
  const templates = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baraqex",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "A wrapper package for frontend-hamroun framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",