mdat-plugin-tldraw 1.0.7 → 1.0.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.
- package/dist/index.js +1 -3
- package/package.json +10 -9
package/dist/index.js
CHANGED
|
@@ -5,7 +5,6 @@ import fs from "node:fs/promises";
|
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { isFile } from "path-type";
|
|
7
7
|
import { z } from "zod";
|
|
8
|
-
|
|
9
8
|
//#region src/index.ts
|
|
10
9
|
var src_default = { tldraw: { async content(options) {
|
|
11
10
|
const { alt = "tldraw diagram", src } = z.object({
|
|
@@ -69,6 +68,5 @@ async function getFileHash(filePath) {
|
|
|
69
68
|
function stripExtension(file) {
|
|
70
69
|
return file.replace(/\.[^./]+$/, "");
|
|
71
70
|
}
|
|
72
|
-
|
|
73
71
|
//#endregion
|
|
74
|
-
export { src_default as default };
|
|
72
|
+
export { src_default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mdat-plugin-tldraw",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Mdat plugin to embed tldraw diagrams in Markdown files.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"email": "eric@ericmika.com",
|
|
22
22
|
"url": "https://ericmika.com"
|
|
23
23
|
},
|
|
24
|
+
"sideEffects": false,
|
|
24
25
|
"type": "module",
|
|
25
26
|
"exports": {
|
|
26
27
|
".": {
|
|
@@ -34,19 +35,19 @@
|
|
|
34
35
|
"dist/*"
|
|
35
36
|
],
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@kitschpatrol/tldraw-cli": "^5.0.
|
|
38
|
+
"@kitschpatrol/tldraw-cli": "^5.0.13",
|
|
38
39
|
"path-type": "^6.0.0",
|
|
39
|
-
"type-fest": "^5.
|
|
40
|
+
"type-fest": "^5.5.0",
|
|
40
41
|
"zod": "^3.25.76"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
|
-
"@kitschpatrol/shared-config": "^6.0.
|
|
44
|
-
"@types/node": "~20.19.
|
|
45
|
-
"bumpp": "^
|
|
46
|
-
"mdat": "^1.
|
|
47
|
-
"tsdown": "^0.
|
|
44
|
+
"@kitschpatrol/shared-config": "^6.0.3",
|
|
45
|
+
"@types/node": "~20.19.37",
|
|
46
|
+
"bumpp": "^11.0.1",
|
|
47
|
+
"mdat": "^1.4.1",
|
|
48
|
+
"tsdown": "^0.21.4",
|
|
48
49
|
"typescript": "~5.9.3",
|
|
49
|
-
"vitest": "^4.0
|
|
50
|
+
"vitest": "^4.1.0"
|
|
50
51
|
},
|
|
51
52
|
"peerDependencies": {
|
|
52
53
|
"mdat": "^1.1.0"
|