neex 0.1.2 → 0.1.3
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/README.md +2 -2
- package/dist/src/logger.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<a href="https://github.com/Neexjs">
|
|
3
3
|
<picture>
|
|
4
4
|
<source media="(prefers-color-scheme: dark)" srcset="https://neex.storage.c2.liara.space/Neex.png">
|
|
5
|
-
<img alt="
|
|
5
|
+
<img alt="Neex logo" src="https://neex.storage.c2.liara.space/Neex.png" height="150" style="border-radius: 12px;">
|
|
6
6
|
</picture>
|
|
7
7
|
</a>
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
[](https://www.npmjs.com/package/neex)
|
|
14
14
|
[](https://www.npmjs.com/package/neex)
|
|
15
|
-
[](https://github.com/
|
|
15
|
+
[](https://github.com/neexjs/blob/main/LICENSE)
|
|
16
16
|
[](https://github.com/Neexjs)
|
|
17
17
|
</div>
|
|
18
18
|
|
package/dist/src/logger.js
CHANGED
|
@@ -30,12 +30,12 @@ class Logger {
|
|
|
30
30
|
return frame;
|
|
31
31
|
}
|
|
32
32
|
showBanner() {
|
|
33
|
-
console.log('\n' + chalk_1.default.bgHex('#0066FF').black('
|
|
33
|
+
console.log('\n' + chalk_1.default.bgHex('#0066FF').black(' Neex ') + '\n');
|
|
34
34
|
}
|
|
35
35
|
setCommands(commands) {
|
|
36
36
|
// Clear any existing spinner intervals
|
|
37
37
|
this.stopAllSpinners();
|
|
38
|
-
// Show
|
|
38
|
+
// Show Neex banner
|
|
39
39
|
this.showBanner();
|
|
40
40
|
// Calculate prefix length for aligning output
|
|
41
41
|
this.prefixLength = Math.max(...commands.map(cmd => (0, string_width_1.default)(cmd))) + 3;
|