md-hopper 1.0.0-alpha.7 → 1.0.0-alpha.8
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.
|
@@ -34,9 +34,7 @@ const getAnswers = (details) => {
|
|
|
34
34
|
return [bold(path), id, title, output, lock];
|
|
35
35
|
}),
|
|
36
36
|
};
|
|
37
|
-
return inquirer.prompt([
|
|
38
|
-
question,
|
|
39
|
-
]);
|
|
37
|
+
return inquirer.prompt([question]);
|
|
40
38
|
};
|
|
41
39
|
const getQuestionParam = (settings, path, md, prefixExp) => {
|
|
42
40
|
const detail = getLinkedMdDetail(md);
|
|
@@ -93,14 +91,6 @@ const getGenerateId = (id, settings, path, prefixExp) => {
|
|
|
93
91
|
return id;
|
|
94
92
|
}
|
|
95
93
|
};
|
|
96
|
-
const getValue = (key, value) => {
|
|
97
|
-
switch (key) {
|
|
98
|
-
case 'lock':
|
|
99
|
-
return value === 'true';
|
|
100
|
-
default:
|
|
101
|
-
return value;
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
94
|
const generateLinks = async (settings, fullPath) => {
|
|
105
95
|
const { depth } = settings;
|
|
106
96
|
const execDir = getExecDir();
|
package/dist/cli/index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "md-hopper",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"chalk": "^5.3.0",
|
|
69
69
|
"commander": "^12.1.0",
|
|
70
70
|
"inquirer": "^9.2.23",
|
|
71
|
-
"inquirer-plugins": "^1.0.0-alpha.
|
|
71
|
+
"inquirer-plugins": "^1.0.0-alpha.3",
|
|
72
72
|
"marked": "^12.0.2",
|
|
73
73
|
"minimatch": "^9.0.4",
|
|
74
74
|
"my-gadgetry": "^1.2.5",
|