mdat-plugin-cli-help 2.0.0 → 2.0.1
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/dist/index.js +2 -2
- package/package.json +5 -3
package/dist/index.js
CHANGED
|
@@ -710,11 +710,11 @@ function helpStringToObject(helpString) {
|
|
|
710
710
|
try {
|
|
711
711
|
return helpStringToObjectFunction(helpString);
|
|
712
712
|
} catch (error) {
|
|
713
|
-
if (error instanceof Error) log.
|
|
713
|
+
if (error instanceof Error) log.debug(`Parser "${parserName}" did not match: ${String(error)}`);
|
|
714
714
|
continue;
|
|
715
715
|
}
|
|
716
716
|
}
|
|
717
|
-
log.
|
|
717
|
+
log.warn("Could not parse help string with any parser");
|
|
718
718
|
}
|
|
719
719
|
//#endregion
|
|
720
720
|
//#region src/utilities/get-help-markdown.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdat-plugin-cli-help",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Mdat plugin to generate tabular help documentation for CLI tools in Markdown files.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"@types/which": "^3.0.4",
|
|
39
39
|
"chevrotain": "^12.0.0",
|
|
40
40
|
"execa": "^9.6.1",
|
|
41
|
-
"lognow": "^0.
|
|
41
|
+
"lognow": "^0.6.0",
|
|
42
42
|
"type-fest": "^5.5.0",
|
|
43
43
|
"which": "^6.0.1",
|
|
44
44
|
"zod": "^4.3.6"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@kitschpatrol/shared-config": "^
|
|
47
|
+
"@kitschpatrol/shared-config": "^7.0.0",
|
|
48
48
|
"@types/node": "~22.17.2",
|
|
49
49
|
"bumpp": "^11.0.1",
|
|
50
50
|
"mdat": "^2.0.0",
|
|
@@ -66,6 +66,8 @@
|
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
|
+
"bench": "vitest bench --no-file-parallelism --compare test/benchmarks/baseline.json",
|
|
70
|
+
"bench:baseline": "vitest bench --no-file-parallelism --outputJson test/benchmarks/baseline.json",
|
|
69
71
|
"build": "tsdown --no-fixed-extension --tsconfig tsconfig.build.json",
|
|
70
72
|
"clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
|
|
71
73
|
"fix": "ksc fix",
|