@glossarist/concept-browser 0.7.4 → 0.7.5
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.5",
|
|
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": {
|
|
@@ -150,7 +150,7 @@ for (const ds of config.datasets) {
|
|
|
150
150
|
}
|
|
151
151
|
extractGcr(gcrPath, targetDir);
|
|
152
152
|
} else {
|
|
153
|
-
const envOverride = process.env[`DATASET_SOURCE_${ds.id.toUpperCase()}`];
|
|
153
|
+
const envOverride = process.env[`DATASET_SOURCE_${ds.id.toUpperCase()}`] || ds.localPath;
|
|
154
154
|
if (envOverride) {
|
|
155
155
|
console.log(` Using local path: ${envOverride}`);
|
|
156
156
|
if (!fs.existsSync(targetDir)) fs.mkdirSync(targetDir, { recursive: true });
|
|
@@ -29,10 +29,10 @@ describe('AppFooter', () => {
|
|
|
29
29
|
expect(wrapper.text()).not.toContain('©');
|
|
30
30
|
});
|
|
31
31
|
|
|
32
|
-
it('
|
|
32
|
+
it('defaults powered by link to glossarist.org', () => {
|
|
33
33
|
const wrapper = mountFooter();
|
|
34
34
|
const link = wrapper.findAll('a').find(a => a.text().includes('Glossarist Concept Browser'));
|
|
35
35
|
expect(link).toBeDefined();
|
|
36
|
-
expect(link!.attributes('href')).
|
|
36
|
+
expect(link!.attributes('href')).toBe('https://glossarist.org');
|
|
37
37
|
});
|
|
38
38
|
});
|