@glossarist/concept-browser 0.1.2 → 0.1.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/cli/index.mjs CHANGED
@@ -86,6 +86,17 @@ Environment:
86
86
  await commands[step]();
87
87
  }
88
88
 
89
+ // Copy package static files (favicon, etc.) to deployment public dir
90
+ const fs = await import('fs');
91
+ const publicDir = resolve(process.cwd(), 'public');
92
+ fs.mkdirSync(publicDir, { recursive: true });
93
+ for (const file of ['favicon.svg']) {
94
+ const src = resolve(pkgRoot, 'public', file);
95
+ if (fs.existsSync(src)) {
96
+ fs.copyFileSync(src, resolve(publicDir, file));
97
+ }
98
+ }
99
+
89
100
  // Run vite build using the package's vite.config.ts
90
101
  console.log(`\n=== BUILD SPA ===\n`);
91
102
  const viteConfig = resolve(pkgRoot, 'vite.config.ts');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glossarist/concept-browser",
3
- "version": "0.1.2",
3
+ "version": "0.1.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": {
@@ -68,6 +68,7 @@
68
68
  "cli",
69
69
  "scripts",
70
70
  "src",
71
+ "public/favicon.svg",
71
72
  "index.html",
72
73
  "vite.config.ts",
73
74
  "tsconfig.json",
package/postcss.config.js CHANGED
@@ -1,6 +1,13 @@
1
+ import { dirname, resolve } from 'path';
2
+ import { fileURLToPath } from 'url';
3
+
4
+ const __dirname = dirname(fileURLToPath(import.meta.url));
5
+
1
6
  export default {
2
7
  plugins: {
3
- tailwindcss: {},
8
+ tailwindcss: {
9
+ config: resolve(__dirname, 'tailwind.config.js'),
10
+ },
4
11
  autoprefixer: {},
5
12
  },
6
- }
13
+ };
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none">
2
+ <rect width="32" height="32" rx="6" fill="#2563eb"/>
3
+ <text x="16" y="22" text-anchor="middle" font-family="system-ui" font-weight="bold" font-size="18" fill="white">G</text>
4
+ </svg>
@@ -1 +0,0 @@
1
- {"version":"4.1.5","results":[[":__tests__/data-integrity.test.ts",{"duration":578.8590829999999,"failed":false}],[":__tests__/graph.test.ts",{"duration":3.8173329999999623,"failed":false}],[":__tests__/uri-router.test.ts",{"duration":2.3697500000000105,"failed":false}],[":__tests__/dataset-adapter.test.ts",{"duration":5.140625,"failed":false}],[":__tests__/data-integration.test.ts",{"duration":3.391625000000033,"failed":false}]]}