@dogsbay/ssg-cli 0.2.0-beta.183 → 0.2.0-beta.186
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/THIRD-PARTY-NOTICES.txt +17 -17
- package/chunks/{build-command-QLNZ5BNK.mjs → build-command-X76EICE4.mjs} +8 -6
- package/chunks/{check-command-5U7VSMDO.mjs → check-command-SXDUKSAZ.mjs} +45 -7
- package/chunks/chunk-AOHGXC4D.mjs +2012 -0
- package/chunks/{chunk-LNWQN7K7.mjs → chunk-FNP5PNJW.mjs} +1 -1
- package/chunks/{chunk-QDXUP47M.mjs → chunk-TRECVC6H.mjs} +247 -69
- package/chunks/{chunk-KE6N5RFA.mjs → chunk-XQORVEL6.mjs} +8 -6
- package/chunks/{chunk-IERF2DNL.mjs → chunk-YA6TJOAM.mjs} +8888 -9563
- package/chunks/{chunk-KFYMG4VB.mjs → chunk-YQ2K646L.mjs} +4 -1
- package/chunks/{dev-HXLVZ7MF.mjs → dev-DXMZPST7.mjs} +4 -3
- package/chunks/{menu-N2AZSZKS.mjs → menu-W7ZXME4A.mjs} +7 -5
- package/chunks/{publish-command-UFHG6PJN.mjs → publish-command-AVMRM4UZ.mjs} +5 -4
- package/chunks/{release-diff-LFDQIFEF.mjs → release-diff-3OZOYBXR.mjs} +5 -4
- package/chunks/{serve-WGWRM7JQ.mjs → serve-U2YV7AQH.mjs} +3 -1
- package/cli.mjs +8 -8
- package/package.json +2 -2
|
@@ -40,14 +40,16 @@ import {
|
|
|
40
40
|
uniqueSort,
|
|
41
41
|
unitOfPath,
|
|
42
42
|
versionsOf
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TRECVC6H.mjs";
|
|
44
|
+
import {
|
|
45
|
+
slugFromPath
|
|
46
|
+
} from "./chunk-AOHGXC4D.mjs";
|
|
44
47
|
import {
|
|
45
48
|
checkFrontmatter,
|
|
46
49
|
detectLeadingNodes,
|
|
47
50
|
extractFirstParagraph,
|
|
48
|
-
frontmatterKeyLines
|
|
49
|
-
|
|
50
|
-
} from "./chunk-IERF2DNL.mjs";
|
|
51
|
+
frontmatterKeyLines
|
|
52
|
+
} from "./chunk-YA6TJOAM.mjs";
|
|
51
53
|
import {
|
|
52
54
|
__commonJS,
|
|
53
55
|
__export,
|
|
@@ -31897,7 +31899,7 @@ function walkInline(nodes, visit) {
|
|
|
31897
31899
|
walkInline(node.children, visit);
|
|
31898
31900
|
} else if (node.type === "image" && typeof node.src === "string") {
|
|
31899
31901
|
visit(node.src, "image");
|
|
31900
|
-
} else if (node.type === "highlight" && node.children) {
|
|
31902
|
+
} else if ((node.type === "highlight" || node.type === "when") && node.children) {
|
|
31901
31903
|
walkInline(node.children, visit);
|
|
31902
31904
|
}
|
|
31903
31905
|
}
|
|
@@ -43493,7 +43495,7 @@ function collectInline(nodes, visit) {
|
|
|
43493
43495
|
collectInline(node.children, visit);
|
|
43494
43496
|
} else if (node.type === "image" && typeof node.src === "string") {
|
|
43495
43497
|
visit(node.src, "image");
|
|
43496
|
-
} else if (node.type === "highlight" && node.children) {
|
|
43498
|
+
} else if ((node.type === "highlight" || node.type === "when") && node.children) {
|
|
43497
43499
|
collectInline(node.children, visit);
|
|
43498
43500
|
}
|
|
43499
43501
|
}
|