gencow 0.1.30 → 0.1.32
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 +1 -1
- package/server/index.js +13 -8
- package/server/index.js.map +2 -2
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -72246,15 +72246,20 @@ async function main() {
|
|
|
72246
72246
|
const dashboardUrl = `http://localhost:${port}/_dashboard`;
|
|
72247
72247
|
const apiUrl = `http://localhost:${port}`;
|
|
72248
72248
|
const wsUrl = `ws://localhost:${port}/ws`;
|
|
72249
|
-
const stackStr =
|
|
72249
|
+
const stackStr = `Bun + Hono + Drizzle + ${driver === "postgres" ? "PostgreSQL" : "PGlite"}`;
|
|
72250
|
+
const W = 58;
|
|
72251
|
+
const pad = (s) => " " + s.padEnd(W);
|
|
72252
|
+
const line = "\u2550".repeat(W + 2);
|
|
72250
72253
|
console.log(`
|
|
72251
|
-
|
|
72252
|
-
|
|
72253
|
-
|
|
72254
|
-
|
|
72255
|
-
|
|
72256
|
-
|
|
72257
|
-
|
|
72254
|
+
\u2554${line}\u2557
|
|
72255
|
+
\u2551${pad("\u{1F680} Gencow API Server Running")}\u2551
|
|
72256
|
+
\u2551${pad("")}\u2551
|
|
72257
|
+
\u2551${pad(`API: ${apiUrl}`)}\u2551
|
|
72258
|
+
\u2551${pad(`WebSocket: ${wsUrl}`)}\u2551
|
|
72259
|
+
\u2551${pad(`Dashboard: ${dashboardUrl}`)}\u2551
|
|
72260
|
+
\u2551${pad("")}\u2551
|
|
72261
|
+
\u2551${pad(`Stack: ${stackStr}`)}\u2551
|
|
72262
|
+
\u255A${line}\u255D
|
|
72258
72263
|
`);
|
|
72259
72264
|
if (IS_BAAS) {
|
|
72260
72265
|
console.log(`[metering] BaaS mode \u2014 flushing to ${METERING_URL} every 10s`);
|