@seta-labs/nuxt-foundation 0.7.1 → 0.8.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/package.json +6 -2
- package/server/routes/healthz.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seta-labs/nuxt-foundation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.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": {
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"app",
|
|
20
20
|
"design-system",
|
|
21
21
|
"app.config.ts",
|
|
22
|
-
"nuxt.config.ts"
|
|
22
|
+
"nuxt.config.ts",
|
|
23
|
+
"server"
|
|
23
24
|
],
|
|
24
25
|
"publishConfig": {
|
|
25
26
|
"access": "public"
|
|
@@ -31,6 +32,9 @@
|
|
|
31
32
|
"test": "vitest run",
|
|
32
33
|
"typecheck": "nuxi typecheck .playground"
|
|
33
34
|
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"h3": "^1.15.11"
|
|
37
|
+
},
|
|
34
38
|
"peerDependencies": {
|
|
35
39
|
"nuxt": "^4.0.0"
|
|
36
40
|
},
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineEventHandler } from 'h3';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Probe target of every panel pod: it renders no page and calls nothing
|
|
5
|
+
* downstream. A probe on `/` would SSR the home, whose time depends on every
|
|
6
|
+
* source the page reads, and turn a slow source into a restart loop.
|
|
7
|
+
*/
|
|
8
|
+
export default defineEventHandler((): { status: string } => ({ status: 'ok' }));
|