@kuckit/app-server 3.0.0 → 3.0.3
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/dist/index.d.ts +0 -1
- package/dist/index.js +0 -4
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -187,7 +187,6 @@ declare const setupModuleRestRouters: (app: Express, options: SetupRoutesOptions
|
|
|
187
187
|
/**
|
|
188
188
|
* Setup health check endpoint (includes database connectivity check)
|
|
189
189
|
* Used for liveness probes and ongoing health monitoring.
|
|
190
|
-
* Also provides a root / endpoint for basic server availability.
|
|
191
190
|
*/
|
|
192
191
|
declare const setupHealth: (app: Express, container: KuckitContainer) => void;
|
|
193
192
|
/**
|
package/dist/index.js
CHANGED
|
@@ -145,12 +145,8 @@ const setupStartup = (app) => {
|
|
|
145
145
|
/**
|
|
146
146
|
* Setup health check endpoint (includes database connectivity check)
|
|
147
147
|
* Used for liveness probes and ongoing health monitoring.
|
|
148
|
-
* Also provides a root / endpoint for basic server availability.
|
|
149
148
|
*/
|
|
150
149
|
const setupHealth = (app, container) => {
|
|
151
|
-
app.get("/", (_req, res) => {
|
|
152
|
-
res.json({ status: "ok" });
|
|
153
|
-
});
|
|
154
150
|
app.get("/health", async (_req, res) => {
|
|
155
151
|
const { dbPool } = container.cradle;
|
|
156
152
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kuckit/app-server",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"prepublishOnly": "npm run build && node ../../scripts/resolve-workspace-protocols.cjs && node ../../scripts/check-no-workspace-protocol.cjs"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@kuckit/sdk": "^3.0.
|
|
27
|
-
"@kuckit/api": "^3.0.
|
|
28
|
-
"@kuckit/db": "^3.0.
|
|
29
|
-
"@kuckit/domain": "^3.0.
|
|
30
|
-
"@kuckit/infrastructure": "^3.0.
|
|
31
|
-
"@kuckit/auth": "^3.0.
|
|
26
|
+
"@kuckit/sdk": "^3.0.3",
|
|
27
|
+
"@kuckit/api": "^3.0.3",
|
|
28
|
+
"@kuckit/db": "^3.0.3",
|
|
29
|
+
"@kuckit/domain": "^3.0.3",
|
|
30
|
+
"@kuckit/infrastructure": "^3.0.3",
|
|
31
|
+
"@kuckit/auth": "^3.0.3",
|
|
32
32
|
"express": "^5.1.0",
|
|
33
33
|
"cors": "^2.8.5",
|
|
34
34
|
"awilix": "^12.0.5",
|