@dnax/core 0.67.2 → 0.67.4

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/lib/index.ts +5 -5
  2. package/package.json +1 -1
package/lib/index.ts CHANGED
@@ -14,8 +14,9 @@ import ora from "ora";
14
14
 
15
15
  // load all ressource
16
16
  async function init(cf = { app: null }) {
17
+ console.clear();
17
18
  console.log("\n");
18
- const spinner = ora("Initializing...").start();
19
+ const spinner = ora("\nInitializing...").start();
19
20
  spinner.color = "green";
20
21
 
21
22
  //console.log("šŸ”„ Initializing...".blue);
@@ -57,7 +58,6 @@ async function init(cf = { app: null }) {
57
58
  await initCron();
58
59
  //consola.success("Loaded cron/Tasks");
59
60
 
60
- initScript();
61
61
  //consola.success("Loaded scripts");
62
62
  //spinner.clear();
63
63
  spinner.stop();
@@ -66,10 +66,10 @@ async function init(cf = { app: null }) {
66
66
  "\n---------------------------------------".gray +
67
67
  "\n✨ Your server is up and running\n".green.bold +
68
68
  "---------------------------------------\n".gray +
69
- `šŸŒ Environment : ${process.env.NODE_ENV || "development"}\n`.gray +
70
- `šŸ•’ Started at : ${new Date().toLocaleString()}\n`.gray +
71
- "---------------------------------------\n".gray
69
+ "\n".gray
72
70
  );
71
+
72
+ initScript();
73
73
  }
74
74
 
75
75
  export { init };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.67.2",
3
+ "version": "0.67.4",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {},