baraqex 1.0.27 → 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.
- package/bin/baraqex.js +3 -2
- package/package.json +2 -2
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
|
|
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 =
|
|
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.
|
|
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",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"gradient-string": "^2.0.2",
|
|
56
56
|
"inquirer": "^9.2.12",
|
|
57
57
|
"jest": "^29.5.0",
|
|
58
|
-
"nanospinner": "^1.
|
|
58
|
+
"nanospinner": "^1.2.2",
|
|
59
59
|
"ora": "^7.0.1",
|
|
60
60
|
"supertest": "^6.3.3",
|
|
61
61
|
"terminal-link": "^3.0.0",
|