remark-mdat 2.2.2 → 2.2.4
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 +15 -15
- package/readme.md +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remark-mdat",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"description": "A remark plugin implementing the Markdown Autophagic Template (MDAT) system.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mdat",
|
|
@@ -46,28 +46,28 @@
|
|
|
46
46
|
"gray-matter-es": "^0.2.1",
|
|
47
47
|
"hast-util-from-html": "^2.0.3",
|
|
48
48
|
"json5": "^2.2.3",
|
|
49
|
-
"lognow": "^0.6.
|
|
49
|
+
"lognow": "^0.6.2",
|
|
50
50
|
"picocolors": "^1.1.1",
|
|
51
51
|
"remark": "^15.0.1",
|
|
52
52
|
"remark-gfm": "^4.0.1",
|
|
53
|
-
"type-fest": "^5.
|
|
53
|
+
"type-fest": "^5.7.0",
|
|
54
54
|
"unified": "^11.0.5",
|
|
55
55
|
"unist-util-visit": "^5.1.0",
|
|
56
56
|
"vfile": "^6.0.3",
|
|
57
57
|
"vfile-message": "^4.0.3",
|
|
58
|
-
"zod": "^4.4.
|
|
58
|
+
"zod": "^4.4.3"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@arethetypeswrong/core": "^0.18.
|
|
62
|
-
"@kitschpatrol/shared-config": "^7.
|
|
63
|
-
"@types/node": "~20.19.
|
|
64
|
-
"@vitest/coverage-v8": "^4.1.
|
|
65
|
-
"bumpp": "^11.0
|
|
66
|
-
"publint": "^0.3.
|
|
61
|
+
"@arethetypeswrong/core": "^0.18.3",
|
|
62
|
+
"@kitschpatrol/shared-config": "^7.6.3",
|
|
63
|
+
"@types/node": "~20.19.41",
|
|
64
|
+
"@vitest/coverage-v8": "^4.1.8",
|
|
65
|
+
"bumpp": "^11.1.0",
|
|
66
|
+
"publint": "^0.3.21",
|
|
67
67
|
"shx": "^0.4.0",
|
|
68
|
-
"tsdown": "^0.
|
|
68
|
+
"tsdown": "^0.22.2",
|
|
69
69
|
"typescript": "~5.9.3",
|
|
70
|
-
"vitest": "^4.1.
|
|
70
|
+
"vitest": "^4.1.8"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=20.19.6"
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"devEngines": {
|
|
76
76
|
"runtime": {
|
|
77
77
|
"name": "node",
|
|
78
|
-
"version": ">=22.
|
|
78
|
+
"version": ">=22.22.2"
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"scripts": {
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"dev": "pnpm test",
|
|
88
88
|
"fix": "ksc fix",
|
|
89
89
|
"lint": "ksc lint",
|
|
90
|
-
"release": "bumpp --commit 'Release: %s' && pnpm build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token')
|
|
91
|
-
"release-preview": "bumpp --preid preview --commit 'Release: %s' && pnpm build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token')
|
|
90
|
+
"release": "bumpp --commit 'Release: %s' && pnpm build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token') pnpm publish",
|
|
91
|
+
"release-preview": "bumpp --preid preview --commit 'Release: %s' && pnpm build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token') pnpm publish --tag preview",
|
|
92
92
|
"test": "vitest run"
|
|
93
93
|
}
|
|
94
94
|
}
|
package/readme.md
CHANGED
|
@@ -262,6 +262,7 @@ Errors and warnings are reported inline during expansion via [VFile messages](ht
|
|
|
262
262
|
_Exported as `mdat(tree: Root, file: VFile, rules: Rules): Promise<void>`_
|
|
263
263
|
|
|
264
264
|
Utilities wrapped by `mdast-util-mdat`:
|
|
265
|
+
|
|
265
266
|
- [**`mdast-util-mdat-split`**](./src/lib/mdast-utils/mdast-util-mdat-split.ts)
|
|
266
267
|
|
|
267
268
|
Transformer function that splits multi-comment HTML nodes into individual mdast nodes, allowing inline mdat expansion comments.
|