@glossarist/concept-browser 0.7.5 → 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.5",
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 DATASET_SOURCE_{ID} env var to override with local path.
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 = process.env[`DATASET_SOURCE_${ds.id.toUpperCase()}`] || ds.localPath;
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 });