@dnax/core 0.68.2 → 0.68.5

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.
Files changed (2) hide show
  1. package/app/index.ts +7 -6
  2. package/package.json +2 -2
package/app/index.ts CHANGED
@@ -43,9 +43,8 @@ async function runApp(config?: configRunApp, clb?: Function): Promise<Server> {
43
43
  }
44
44
 
45
45
  if (available) {
46
- console.clear();
47
46
  console.log("\n");
48
- const spinner = ora("Initializing...").start();
47
+ let spinner = ora("Initializing...").start();
49
48
  spinner.color = "green";
50
49
 
51
50
  // Load all ressouce
@@ -79,21 +78,23 @@ async function runApp(config?: configRunApp, clb?: Function): Promise<Server> {
79
78
 
80
79
  let envName = process.env?.NODE_ENV || "dev";
81
80
 
82
- spinner.stop();
83
81
  spinner.clear();
82
+ spinner.stop();
83
+
84
+ console.log("\n");
84
85
  console.log(
85
86
  "\n---------------------------------------".gray +
86
87
  "\n✨ Your server is up and running\n".green.bold +
87
88
  "---------------------------------------\n".gray +
88
- `🟢 Version : ${pkg.version}`.gray.bold +
89
+ `🟢 Version : ${pkg.version}`.gray.bold +
89
90
  `\n` +
90
91
  `šŸŒ Environment : ${
91
92
  process.env.NODE_ENV || envName || "development"
92
93
  }\n`.gray +
93
94
  `šŸ•’ Started at : ${new Date().toLocaleString()}\n`.gray +
94
95
  `\n` +
95
- `šŸ•’ Url : http://localhost:${PORT}\n`.gray +
96
- `TENANTS :`.gray.underline.bold +
96
+ `šŸ”— Url : http://localhost:${PORT}\n\n`.gray +
97
+ `Tenants :`.gray.underline.bold +
97
98
  `\n` +
98
99
  Cfg.tenants?.map((t: any) => {
99
100
  return `\n${t?.name?.blue || "_"} : ${t?.id?.green}`.bold;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.68.2",
3
+ "version": "0.68.5",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {},
@@ -35,7 +35,7 @@
35
35
  "dot-object": "2.1.5",
36
36
  "fs-extra": "^11.2.0",
37
37
  "generate-unique-id": "^2.0.3",
38
- "hono": "4.6.14",
38
+ "hono": "4.8.9",
39
39
  "joi": "17.13.3",
40
40
  "json-joy": "16.8.0",
41
41
  "jsonwebtoken": "^9.0.2",