@cerema/cadriciel 1.6.0 → 1.6.2-beta
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/cli.js +9 -6
- package/lib/cadriciel.js +1 -1
- package/package.json +4 -4
package/cli.js
CHANGED
|
@@ -515,6 +515,8 @@ const checkCachePermaLink = async () => {
|
|
|
515
515
|
|
|
516
516
|
// Main function.
|
|
517
517
|
const main = async () => {
|
|
518
|
+
let version = await checkVersion();
|
|
519
|
+
/*
|
|
518
520
|
await checkCachePermaLink();
|
|
519
521
|
|
|
520
522
|
let version = await checkVersion();
|
|
@@ -550,12 +552,13 @@ const main = async () => {
|
|
|
550
552
|
if (process.argv.length <= 0) return displayBanner();
|
|
551
553
|
processCommands(process.argv);
|
|
552
554
|
} else {
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
555
|
+
*/
|
|
556
|
+
loadGlobalCommands();
|
|
557
|
+
process.argv.shift();
|
|
558
|
+
process.argv.shift();
|
|
559
|
+
if (process.argv.length <= 0) return displayBanner();
|
|
560
|
+
processCommands(process.argv);
|
|
561
|
+
//}
|
|
559
562
|
};
|
|
560
563
|
|
|
561
564
|
main();
|
package/lib/cadriciel.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cerema/cadriciel",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.2-beta",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"npm": ">=8.0.0",
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"adm-zip": "^0.5.10",
|
|
14
|
-
"axios": "^1.
|
|
14
|
+
"axios": "^1.7.9",
|
|
15
15
|
"boxen": "5.1.2",
|
|
16
16
|
"chalk-v2": "^1.0.2",
|
|
17
17
|
"cli-progress": "^3.12.0",
|
|
18
18
|
"commander": "^10.0.0",
|
|
19
19
|
"dotenv": "^16.3.1",
|
|
20
|
-
"express": "^4.
|
|
20
|
+
"express": "^4.21.2",
|
|
21
21
|
"figlet": "^1.5.2",
|
|
22
22
|
"fs-extra": "^11.2.0",
|
|
23
23
|
"inquirer": "8.2.5",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"listr": "^0.14.3",
|
|
27
27
|
"log-beautify": "^1.2.0",
|
|
28
28
|
"mkdirp": "^3.0.1",
|
|
29
|
-
"nanoid": "^3.
|
|
29
|
+
"nanoid": "^3.0.0",
|
|
30
30
|
"ora": "^5.4.1",
|
|
31
31
|
"prompts": "^2.4.2",
|
|
32
32
|
"recursive-readdir": "^2.2.3",
|