@glossarist/concept-browser 0.7.45 → 0.7.46
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glossarist/concept-browser",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.46",
|
|
4
4
|
"description": "Vue SPA for browsing Glossarist terminology datasets with cross-reference resolution, graph visualization, and multi-language support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -783,7 +783,7 @@ ${bodyEntries}
|
|
|
783
783
|
`;
|
|
784
784
|
}
|
|
785
785
|
|
|
786
|
-
function processDataset(dir, register, opts) {
|
|
786
|
+
async function processDataset(dir, register, opts) {
|
|
787
787
|
const files = fs.readdirSync(dir).filter(f => f.endsWith('.yaml')).sort((a, b) => naturalSort(a.replace('.yaml', ''), b.replace('.yaml', '')));
|
|
788
788
|
|
|
789
789
|
console.log(`Processing ${register}: ${files.length} files`);
|
|
@@ -1095,7 +1095,7 @@ for (let i = 0; i < config.datasets.length; i++) {
|
|
|
1095
1095
|
// Resolve title: site-config override, then ref from register
|
|
1096
1096
|
const resolvedTitle = ds.title || reg?.ref || ds.id;
|
|
1097
1097
|
|
|
1098
|
-
counts[ds.id] = processDataset(dir, ds.id, {
|
|
1098
|
+
counts[ds.id] = await processDataset(dir, ds.id, {
|
|
1099
1099
|
title: resolvedTitle,
|
|
1100
1100
|
description: resolvedDescription,
|
|
1101
1101
|
owner: ds.owner || reg?.owner,
|