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