@glossarist/concept-browser 0.7.4 → 0.7.6
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.6",
|
|
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": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* After fetching, validates that all GCR dependencies are satisfiable
|
|
11
11
|
* (either provided locally or routed externally).
|
|
12
12
|
*
|
|
13
|
-
* Supports
|
|
13
|
+
* Supports localPath field in dataset config for local paths.
|
|
14
14
|
* Supports GITHUB_TOKEN for private repos.
|
|
15
15
|
*/
|
|
16
16
|
import fs from 'fs';
|
|
@@ -150,7 +150,7 @@ for (const ds of config.datasets) {
|
|
|
150
150
|
}
|
|
151
151
|
extractGcr(gcrPath, targetDir);
|
|
152
152
|
} else {
|
|
153
|
-
const envOverride =
|
|
153
|
+
const envOverride = 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
|
});
|