bump: deps.
This commit is contained in:
+3
-3
@@ -27,9 +27,9 @@
|
|||||||
"fast-glob": "^3.3.1",
|
"fast-glob": "^3.3.1",
|
||||||
"gray-matter": "^4.0.3",
|
"gray-matter": "^4.0.3",
|
||||||
"remark-caml": "^0.0.6-rm",
|
"remark-caml": "^0.0.6-rm",
|
||||||
"remark-wikirefs": "^0.0.7-rm",
|
"remark-wikirefs": "^0.0.8-rm",
|
||||||
"semtree": "^0.0.12",
|
"semtree": "^0.0.15",
|
||||||
"unist-util-select": "^5.0.0",
|
"unist-util-select": "^5.0.0",
|
||||||
"wikirefs": "^0.0.4"
|
"wikirefs": "^0.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ export async function buildBonsai(): Promise<SemTree | undefined> {
|
|||||||
// init vars
|
// init vars
|
||||||
const opts = {
|
const opts = {
|
||||||
// if set to 'false', make sure to extract urls of index docs below
|
// if set to 'false', make sure to extract urls of index docs below
|
||||||
virtualTrunk: true,
|
virtualBranches: true,
|
||||||
// semtree options: https://github.com/wikibonsai/semtree?tab=readme-ov-file#options
|
// semtree options: https://github.com/wikibonsai/semtree?tab=readme-ov-file#options
|
||||||
};
|
};
|
||||||
const bonsaiText: any = {}; // { filename: content } hash
|
const bonsaiText: any = {}; // { filename: content } hash
|
||||||
@@ -34,7 +34,7 @@ export async function buildBonsai(): Promise<SemTree | undefined> {
|
|||||||
node.url = '/entries/' + doc.slug;
|
node.url = '/entries/' + doc.slug;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// uncomment if 'virtualTrunk' is set to 'false'
|
// uncomment if 'virtualBranches' is set to 'false'
|
||||||
// for (const node of bonsai.nodes) {
|
// for (const node of bonsai.nodes) {
|
||||||
// const doc: any = allIndexDocs.find((doc) => path.basename(doc.id, '.md') == node.text);
|
// const doc: any = allIndexDocs.find((doc) => path.basename(doc.id, '.md') == node.text);
|
||||||
// if (doc !== undefined) {
|
// if (doc !== undefined) {
|
||||||
@@ -53,7 +53,7 @@ export async function buildBonsai(): Promise<SemTree | undefined> {
|
|||||||
+ '\n---\n'
|
+ '\n---\n'
|
||||||
+ 'root: ' + bonsai.root
|
+ 'root: ' + bonsai.root
|
||||||
+ '\n---\n'
|
+ '\n---\n'
|
||||||
+ 'trunk: ' + bonsai.trunk
|
+ 'branches: ' + bonsai.branches
|
||||||
+ '\n---\n'
|
+ '\n---\n'
|
||||||
+ 'petioleMap: ' + JSON.stringify(bonsai.petioleMap)
|
+ 'petioleMap: ' + JSON.stringify(bonsai.petioleMap)
|
||||||
+ '\n---\n'
|
+ '\n---\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user