mdat 0.6.8 → 0.6.10
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/package.json +12 -12
- package/readme.md +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdat",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI tool and library implementing the Markdown Autophagic Template (MDAT) system. MDAT lets you use comments as dynamic content templates in Markdown files, making it easy to generate and update readme boilerplate.",
|
|
6
6
|
"repository": {
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@clack/prompts": "^0.7.0",
|
|
46
|
-
"@kitschpatrol/tldraw-cli": "^4.3
|
|
47
|
-
"@types/mdast": "^4.0.
|
|
46
|
+
"@kitschpatrol/tldraw-cli": "^4.5.3",
|
|
47
|
+
"@types/mdast": "^4.0.4",
|
|
48
48
|
"@types/unist": "^3.0.2",
|
|
49
49
|
"chalk": "^5.3.0",
|
|
50
50
|
"chevrotain": "^11.0.3",
|
|
51
51
|
"cosmiconfig": "^9.0.0",
|
|
52
|
-
"execa": "^
|
|
52
|
+
"execa": "^9.1.0",
|
|
53
53
|
"find-up": "^7.0.0",
|
|
54
54
|
"globby": "^14.0.1",
|
|
55
55
|
"is-executable": "^2.0.1",
|
|
56
|
-
"mdast-util-toc": "^7.0.
|
|
57
|
-
"nanoid": "^5.0.
|
|
56
|
+
"mdast-util-toc": "^7.0.1",
|
|
57
|
+
"nanoid": "^5.0.7",
|
|
58
58
|
"package-up": "^5.0.0",
|
|
59
59
|
"path-type": "^5.0.0",
|
|
60
60
|
"pkg-dir": "^8.0.0",
|
|
@@ -64,21 +64,21 @@
|
|
|
64
64
|
"remark": "^15.0.1",
|
|
65
65
|
"remark-gfm": "^4.0.0",
|
|
66
66
|
"to-vfile": "^8.0.0",
|
|
67
|
-
"type-fest": "^4.
|
|
67
|
+
"type-fest": "^4.18.2",
|
|
68
68
|
"untildify": "^5.0.0",
|
|
69
69
|
"vfile": "^6.0.1",
|
|
70
70
|
"which": "^4.0.0",
|
|
71
71
|
"yargs": "^17.7.2",
|
|
72
|
-
"zod": "^3.
|
|
73
|
-
"remark-mdat": "0.6.
|
|
72
|
+
"zod": "^3.23.8",
|
|
73
|
+
"remark-mdat": "0.6.10"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@types/node": "^20.
|
|
76
|
+
"@types/node": "^20.12.12",
|
|
77
77
|
"@types/which": "^3.0.3",
|
|
78
78
|
"@types/yargs": "^17.0.32",
|
|
79
79
|
"tsup": "^8.0.2",
|
|
80
|
-
"typescript": "^5.4.
|
|
81
|
-
"vitest": "^1.
|
|
80
|
+
"typescript": "^5.4.5",
|
|
81
|
+
"vitest": "^1.6.0"
|
|
82
82
|
},
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public"
|
package/readme.md
CHANGED
|
@@ -697,7 +697,9 @@ See the [Examples section](../remark-mdat/readme.md#examples) of the `remark-mda
|
|
|
697
697
|
|
|
698
698
|
Automatically transform a CLI command's `--help` output into nicely formatted Markdown tables. The rule also recursively calls `--help` on any subcommands found for inclusion in the output.
|
|
699
699
|
|
|
700
|
-
Currently, the rule can only parse help output
|
|
700
|
+
Currently, the rule can only parse help output in the format provided by [Yargs](https://yargs.js.org)- and [Meow](https://github.com/sindresorhus/meow)-based tools. If parsing fails, the rule will fall back to show the raw help output in a regular code block.
|
|
701
|
+
|
|
702
|
+
([Parsing help output](https://github.com/kitschpatrol/mdat/tree/main/packages/mdat/src/lib/readme/rules/cli-help/utilities/parsers) is a bit tricky. The [jc](https://github.com/kellyjonbrazil/jc) project is a heroic collection of output parsers, but does not currently implement help output parsing. It might be interesting to try to contribute mdat's help parsing implementations to jc.)
|
|
701
703
|
|
|
702
704
|
- ###### `<!-- tldraw -->`
|
|
703
705
|
|