@cat-factory/app 0.57.0 → 0.58.1

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/nuxt.config.ts CHANGED
@@ -53,6 +53,8 @@ export default defineNuxtConfig({
53
53
  { code: 'uk', language: 'uk-UA', file: 'uk.json', name: 'Українська' },
54
54
  { code: 'fr', language: 'fr-FR', file: 'fr.json', name: 'Français' },
55
55
  { code: 'he', language: 'he-IL', file: 'he.json', name: 'עברית', dir: 'rtl' },
56
+ { code: 'ja', language: 'ja-JP', file: 'ja.json', name: '日本語' },
57
+ { code: 'tr', language: 'tr-TR', file: 'tr.json', name: 'Türkçe' },
56
58
  ],
57
59
  vueI18n: 'i18n.config.ts',
58
60
  experimental: {
@@ -100,6 +102,14 @@ export default defineNuxtConfig({
100
102
  },
101
103
  },
102
104
 
105
+ // Static loader shown before the JS bundle parses + Vue mounts, so the very
106
+ // first paint isn't a blank white screen. This is a Nuxt *layer*, and Nuxt's
107
+ // default `spaLoadingTemplate` resolution looks under the CONSUMER's srcDir,
108
+ // so a file dropped in this layer would be silently ignored when a deployment
109
+ // `extends` it — anchor it to this layer's dir (the same `~`/`@` rebinding
110
+ // trap the `css:` block above works around). See the comment at the top.
111
+ spaLoadingTemplate: join(layerDir, 'app/spa-loading-template.html'),
112
+
103
113
  app: {
104
114
  head: {
105
115
  title: 'Agent Architecture Board',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/app",
3
- "version": "0.57.0",
3
+ "version": "0.58.1",
4
4
  "description": "Reusable Nuxt layer for the Agent Architecture Board SPA (components, stores, composables, pages). Consume it from a thin deployment app via `extends: ['@cat-factory/app']` and point it at your backend with NUXT_PUBLIC_API_BASE. See deploy/frontend for an example.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "valibot": "^1.4.2",
35
35
  "vue": "^3.5.39",
36
36
  "wretch": "^3.0.9",
37
- "@cat-factory/contracts": "0.58.0"
37
+ "@cat-factory/contracts": "0.59.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@toad-contracts/testing": "0.3.2",