@dnax/core 0.68.10 ā 0.69.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/index.ts +9 -6
- package/package.json +1 -1
package/app/index.ts
CHANGED
|
@@ -83,27 +83,30 @@ async function runApp(config?: configRunApp, clb?: Function): Promise<Server> {
|
|
|
83
83
|
spinner.stop();
|
|
84
84
|
await sleep(250);
|
|
85
85
|
|
|
86
|
-
console.log("\n");
|
|
87
86
|
console.log(
|
|
88
87
|
"\n---------------------------------------".gray +
|
|
89
88
|
"\n⨠Your server is up and running\n".green.bold +
|
|
90
89
|
"---------------------------------------\n".gray +
|
|
91
|
-
`š Pid : ${
|
|
90
|
+
`š Pid : ${process.pid}`.gray.bold +
|
|
92
91
|
`\n` +
|
|
93
92
|
`š¢ Version : ${pkg.version}`.gray.bold +
|
|
94
93
|
`\n\n` +
|
|
95
94
|
`āļø Environment : ${
|
|
96
95
|
process.env.NODE_ENV || envName || "development"
|
|
97
|
-
}\n`.gray +
|
|
98
|
-
`š Started at : ${new Date().toLocaleString()}\n`.gray +
|
|
96
|
+
}\n`.gray.bold +
|
|
97
|
+
`š Started at : ${new Date().toLocaleString()}\n`.gray.bold +
|
|
98
|
+
`\n` +
|
|
99
|
+
`š Server : ${serverName}`.gray.bold +
|
|
99
100
|
`\n` +
|
|
100
|
-
`š Url : http://localhost:${PORT}\n\n`.gray +
|
|
101
|
+
`š Url : http://localhost:${PORT}\n\n`.gray.bold +
|
|
101
102
|
`Tenants :`.gray.underline.bold +
|
|
102
103
|
`\n` +
|
|
103
104
|
Cfg.tenants?.map((t: any) => {
|
|
104
105
|
return `\n${t?.name?.blue || "_"} : ${t?.id?.green}`.bold;
|
|
105
106
|
}) +
|
|
106
|
-
`\n`
|
|
107
|
+
`\n` +
|
|
108
|
+
`---------------------------------------\n`.gray +
|
|
109
|
+
`---------------------------------------`
|
|
107
110
|
);
|
|
108
111
|
|
|
109
112
|
if (clb) clb();
|