@glossarist/concept-browser 0.7.64 → 0.7.65
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.65",
|
|
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": {
|
|
@@ -140,7 +140,7 @@ async function writeDatasetRdf(register, manifest, concepts, refMaps, opts) {
|
|
|
140
140
|
fs.writeFileSync(path.join(DATA, register, `${register}.ttl`), ttl);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
async function writeBuildActivity(conceptCount, datasetRegisters) {
|
|
143
|
+
async function writeBuildActivity(conceptCount, datasetRegisters, baseUri) {
|
|
144
144
|
const runId = process.env.GITHUB_RUN_ID
|
|
145
145
|
? `${process.env.GITHUB_RUN_ID}-${process.env.GITHUB_RUN_ATTEMPT ?? '1'}`
|
|
146
146
|
: `local-${new Date().toISOString().replace(/[:.]/g, '-')}`;
|
|
@@ -162,6 +162,7 @@ async function writeBuildActivity(conceptCount, datasetRegisters) {
|
|
|
162
162
|
datasetRegisters,
|
|
163
163
|
conceptCount,
|
|
164
164
|
associatedAgentIri: agentIri,
|
|
165
|
+
baseUri,
|
|
165
166
|
});
|
|
166
167
|
const activityDir = path.join(DATA, 'activity');
|
|
167
168
|
fs.mkdirSync(activityDir, { recursive: true });
|
|
@@ -1612,7 +1613,7 @@ for (const [id, count] of Object.entries(counts)) {
|
|
|
1612
1613
|
console.log(` ${id}: ${count} concepts`);
|
|
1613
1614
|
}
|
|
1614
1615
|
|
|
1615
|
-
await writeBuildActivity(total, registry.map(r => r.id));
|
|
1616
|
+
await writeBuildActivity(total, registry.map(r => r.id), refMaps.uriBase);
|
|
1616
1617
|
|
|
1617
1618
|
fs.writeFileSync(path.join(DATA, '_vocab.ttl'), await buildVocabularyTurtle());
|
|
1618
1619
|
console.log('Emitted vocabulary graph: data/_vocab.ttl');
|