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