@seta-labs/nuxt-foundation 0.0.0 → 0.2.0

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/app/apps.ts CHANGED
@@ -8,6 +8,8 @@ import type { IconName } from '../design-system/vue/icons';
8
8
  export const foundationApps = [
9
9
  { id: 'agency', name: 'Agency', kind: 'app', url: 'https://agency.setalabs.it' },
10
10
  { id: 'proxy', name: 'Proxy', kind: 'app', url: 'https://proxy.setalabs.it' },
11
+ { id: 'geo', name: 'Geo', kind: 'app', url: 'https://geo.setalabs.it' },
12
+ { id: 'immo', name: 'Immo', kind: 'app', url: 'https://immo.setalabs.it' },
11
13
  { id: 'infra', name: 'Infra', kind: 'tool', url: 'https://argocd.setalabs.it' },
12
14
  ] as const satisfies readonly FoundationAppEntry[];
13
15
 
package/nuxt.config.ts CHANGED
@@ -3,6 +3,10 @@ import { fileURLToPath } from 'node:url';
3
3
 
4
4
  const here = (path: string): string => fileURLToPath(new URL(path, import.meta.url));
5
5
  const { version } = JSON.parse(readFileSync(here('./package.json'), 'utf8')) as { version: string };
6
+ // Inlined at build time: the host serves no Foundation files of its own.
7
+ const favicon = `data:image/svg+xml,${encodeURIComponent(
8
+ readFileSync(here('./design-system/assets/Marchio/favicon.svg'), 'utf8'),
9
+ )}`;
6
10
 
7
11
  // The layer: design system (tokens + sf- CSS + Vue primitives) and the shell.
8
12
  // The host app sets `runtimeConfig.public.foundationApp` to its registry id;
@@ -10,7 +14,7 @@ const { version } = JSON.parse(readFileSync(here('./package.json'), 'utf8')) as
10
14
  export default defineNuxtConfig({
11
15
  app: {
12
16
  head: {
13
- link: [{ rel: 'icon', type: 'image/svg+xml', href: '/_foundation/favicon.svg' }],
17
+ link: [{ rel: 'icon', type: 'image/svg+xml', href: favicon }],
14
18
  },
15
19
  },
16
20
  components: [
@@ -22,11 +26,6 @@ export default defineNuxtConfig({
22
26
  here('./design-system/components/bundle.css'),
23
27
  here('./app/assets/shell.css'),
24
28
  ],
25
- nitro: {
26
- publicAssets: [
27
- { baseURL: '/_foundation', dir: here('./design-system/assets/Marchio'), maxAge: 86400 },
28
- ],
29
- },
30
29
  runtimeConfig: {
31
30
  public: {
32
31
  foundationApp: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seta-labs/nuxt-foundation",
3
- "version": "0.0.0",
3
+ "version": "0.2.0",
4
4
  "description": "Seta Foundation: the Nuxt layer every internal Seta panel extends — design system mirror (tokens, sf- components, icons, brand) plus the shared shell (bar, app launcher, side menu, status bar)",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {