drizzle-auto 1.1.7 → 1.1.8
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/index.js +2 -11
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@ const path = require("path");
|
|
|
6
6
|
const fs = require("fs");
|
|
7
7
|
|
|
8
8
|
/* =============================================================
|
|
9
|
-
🎨 NEON-PULSE UI CORE
|
|
9
|
+
🎨 NEON-PULSE UI CORE
|
|
10
10
|
============================================================= */
|
|
11
11
|
const T = {
|
|
12
12
|
reset: "\x1b[0m",
|
|
@@ -23,13 +23,8 @@ const T = {
|
|
|
23
23
|
bg_dark: "\x1b[48;5;234m"
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
const rainbow = (text) => {
|
|
27
|
-
const colors = [196, 208, 226, 118, 51, 201];
|
|
28
|
-
return text.split('').map((char, i) => `\x1b[38;5;${colors[i % colors.length]}m${char}`).join('') + T.reset;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
26
|
/* =============================================================
|
|
32
|
-
⏳
|
|
27
|
+
⏳ SPINNER & LOADING
|
|
33
28
|
============================================================= */
|
|
34
29
|
const frames = ["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"];
|
|
35
30
|
let spinIdx = 0;
|
|
@@ -153,10 +148,6 @@ async function triggerEngine(event) {
|
|
|
153
148
|
if (isRunning) return;
|
|
154
149
|
isRunning = true;
|
|
155
150
|
|
|
156
|
-
if (!hasError) console.clear();
|
|
157
|
-
console.log(`\n${T.bg_dark} ${rainbow(" DRIZZLE-AUTO v2026 ")} ${T.reset}`);
|
|
158
|
-
console.log(`${T.magenta}●${T.reset} ${T.bold}Event:${T.reset} ${T.cyan}${event}${T.reset}\n`);
|
|
159
|
-
|
|
160
151
|
const audit = justifyStructure();
|
|
161
152
|
if (!audit.ok) {
|
|
162
153
|
console.log(`${T.red}${T.bold}🛑 CRITICAL FAILURE:${T.reset} ${audit.msg}`);
|