@lvnt/release-radar-cli 0.2.16 → 0.2.18
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/dist/index.js +17 -1
- package/dist/ui.js +10 -5
- package/package.json +2 -2
- package/versions.json +10 -98
package/dist/index.js
CHANGED
|
@@ -15,6 +15,19 @@ function getVersion() {
|
|
|
15
15
|
const pkg = JSON.parse(readFileSync(pkgPath, 'utf-8'));
|
|
16
16
|
return pkg.version;
|
|
17
17
|
}
|
|
18
|
+
function showLogo() {
|
|
19
|
+
const version = getVersion();
|
|
20
|
+
const logo = `
|
|
21
|
+
${chalk.cyan(' ____ _ ____ _ ')}
|
|
22
|
+
${chalk.cyan(' | _ \\ ___| | ___ __ _ ___ ___ | _ \\ __ _ __| | __ _ _ __ ')}
|
|
23
|
+
${chalk.cyan(' | |_) / _ \\ |/ _ \\/ _` / __|/ _ \\| |_) / _` |/ _` |/ _` | \'__|')}
|
|
24
|
+
${chalk.cyan(' | _ < __/ | __/ (_| \\__ \\ __/| _ < (_| | (_| | (_| | | ')}
|
|
25
|
+
${chalk.cyan(' |_| \\_\\___|_|\\___|\\__,_|___/\\___||_| \\_\\__,_|\\__,_|\\__,_|_| ')}
|
|
26
|
+
|
|
27
|
+
${chalk.gray(' Tool Download Manager')} ${chalk.yellow(`v${version}`)}
|
|
28
|
+
`;
|
|
29
|
+
console.log(logo);
|
|
30
|
+
}
|
|
18
31
|
function showHelp() {
|
|
19
32
|
const version = getVersion();
|
|
20
33
|
console.log(`
|
|
@@ -51,7 +64,8 @@ async function showStatus() {
|
|
|
51
64
|
const tracker = new DownloadTracker();
|
|
52
65
|
const versions = loadVersions();
|
|
53
66
|
const downloaded = tracker.getAll();
|
|
54
|
-
|
|
67
|
+
showLogo();
|
|
68
|
+
console.log(chalk.bold('Tool Status:\n'));
|
|
55
69
|
const rows = versions.tools.map(tool => {
|
|
56
70
|
const record = downloaded[tool.name];
|
|
57
71
|
let status;
|
|
@@ -115,6 +129,8 @@ async function runInteractive() {
|
|
|
115
129
|
if (!skipUpdate) {
|
|
116
130
|
await checkAndUpdate();
|
|
117
131
|
}
|
|
132
|
+
// Show logo
|
|
133
|
+
showLogo();
|
|
118
134
|
// First run setup
|
|
119
135
|
if (!configManager.isConfigured()) {
|
|
120
136
|
const config = await promptSetup();
|
package/dist/ui.js
CHANGED
|
@@ -114,16 +114,21 @@ export function renderTable(rows) {
|
|
|
114
114
|
console.log(chalk.gray('─'.repeat(totalWidth)));
|
|
115
115
|
// Rows
|
|
116
116
|
for (const row of rows) {
|
|
117
|
-
|
|
117
|
+
// Pad plain text BEFORE applying colors (chalk adds invisible ANSI codes)
|
|
118
|
+
let statusText;
|
|
119
|
+
let statusColored;
|
|
118
120
|
switch (row.status) {
|
|
119
121
|
case 'new':
|
|
120
|
-
|
|
122
|
+
statusText = 'NEW'.padEnd(colWidths.status);
|
|
123
|
+
statusColored = chalk.blue(statusText);
|
|
121
124
|
break;
|
|
122
125
|
case 'update':
|
|
123
|
-
|
|
126
|
+
statusText = 'UPDATE'.padEnd(colWidths.status);
|
|
127
|
+
statusColored = chalk.yellow(statusText);
|
|
124
128
|
break;
|
|
125
129
|
case 'current':
|
|
126
|
-
|
|
130
|
+
statusText = '✓'.padEnd(colWidths.status);
|
|
131
|
+
statusColored = chalk.green(statusText);
|
|
127
132
|
break;
|
|
128
133
|
}
|
|
129
134
|
const typeStr = row.type === 'npm' ? chalk.magenta('npm') : chalk.cyan('wget');
|
|
@@ -131,7 +136,7 @@ export function renderTable(rows) {
|
|
|
131
136
|
row.displayName.padEnd(colWidths.tool) +
|
|
132
137
|
row.version.padEnd(colWidths.latest) +
|
|
133
138
|
row.downloadedVersion.padEnd(colWidths.downloaded) +
|
|
134
|
-
|
|
139
|
+
statusColored +
|
|
135
140
|
typeStr);
|
|
136
141
|
}
|
|
137
142
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvnt/release-radar-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.18",
|
|
4
4
|
"description": "Interactive CLI for downloading tools through Nexus proxy",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -44,4 +44,4 @@
|
|
|
44
44
|
"typescript": "^5.3.0",
|
|
45
45
|
"vitest": "^1.1.0"
|
|
46
46
|
}
|
|
47
|
-
}
|
|
47
|
+
}
|
package/versions.json
CHANGED
|
@@ -1,109 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-01-
|
|
2
|
+
"generatedAt": "2026-01-24T10:00:00Z",
|
|
3
3
|
"tools": [
|
|
4
|
-
{
|
|
5
|
-
"name": "Claude Code CLI",
|
|
6
|
-
"displayName": "Claude Code CLI",
|
|
7
|
-
"version": "2.1.19",
|
|
8
|
-
"publishedAt": "2026-01-25T15:50:59.184Z",
|
|
9
|
-
"downloadUrl": "{{NEXUS_URL}}/storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.19/win32-x64/claude.exe",
|
|
10
|
-
"filename": "claude-2.1.19.exe"
|
|
11
|
-
},
|
|
12
4
|
{
|
|
13
5
|
"name": "Ninja",
|
|
14
6
|
"displayName": "Ninja",
|
|
15
|
-
"version": "1.
|
|
16
|
-
"publishedAt": "2026-01-
|
|
17
|
-
"downloadUrl": "{{NEXUS_URL}}/github.com/ninja-build/ninja/releases/download/v1.
|
|
18
|
-
"filename": "ninja-1.
|
|
7
|
+
"version": "1.12.0",
|
|
8
|
+
"publishedAt": "2026-01-20T00:00:00Z",
|
|
9
|
+
"downloadUrl": "{{NEXUS_URL}}/github.com/ninja-build/ninja/releases/download/v1.12.0/ninja-linux.zip",
|
|
10
|
+
"filename": "ninja-1.12.0-linux.zip"
|
|
19
11
|
},
|
|
20
12
|
{
|
|
21
13
|
"name": "CMake",
|
|
22
14
|
"displayName": "CMake",
|
|
23
|
-
"version": "
|
|
24
|
-
"publishedAt": "2026-01-
|
|
25
|
-
"downloadUrl": "{{NEXUS_URL}}/github.com/Kitware/CMake/releases/download/
|
|
26
|
-
"filename": "cmake-
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "Git",
|
|
30
|
-
"displayName": "Git for Windows",
|
|
31
|
-
"version": "2.52.0.windows.1",
|
|
32
|
-
"publishedAt": "2026-01-25T15:50:59.184Z",
|
|
33
|
-
"downloadUrl": "{{NEXUS_URL}}/github.com/git-for-windows/git/releases/download/v2.52.0.windows.1/Git-2.52.0-64-bit.exe",
|
|
34
|
-
"filename": "Git-2.52.0-64-bit.exe"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": "Clangd",
|
|
38
|
-
"displayName": "Clangd",
|
|
39
|
-
"version": "21.1.8",
|
|
40
|
-
"publishedAt": "2026-01-25T15:50:59.184Z",
|
|
41
|
-
"downloadUrl": "{{NEXUS_URL}}/github.com/clangd/clangd/releases/download/21.1.8/clangd-windows-21.1.8.zip",
|
|
42
|
-
"filename": "clangd-windows-21.1.8.zip"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"name": "Wezterm",
|
|
46
|
-
"displayName": "Wezterm",
|
|
47
|
-
"version": "20240203-110809-5046fc22",
|
|
48
|
-
"publishedAt": "2026-01-25T15:50:59.184Z",
|
|
49
|
-
"downloadUrl": "{{NEXUS_URL}}/github.com/wezterm/wezterm/releases/download/20240203-110809-5046fc22/WezTerm-20240203-110809-5046fc22-setup.exe",
|
|
50
|
-
"filename": "WezTerm-20240203-110809-5046fc22-setup.exe"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "Ralphy",
|
|
54
|
-
"displayName": "Ralphy CLI",
|
|
55
|
-
"version": "4.5.3",
|
|
56
|
-
"publishedAt": "2026-01-25T15:50:59.184Z",
|
|
57
|
-
"type": "npm",
|
|
58
|
-
"package": "ralphy-cli"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "vscode-cpptools",
|
|
62
|
-
"displayName": "C/C++ Extension",
|
|
63
|
-
"version": "1.29.3",
|
|
64
|
-
"publishedAt": "2026-01-25T15:50:59.184Z",
|
|
65
|
-
"downloadUrl": "{{NEXUS_URL}}/github.com/microsoft/vscode-cpptools/releases/download/v1.29.3/cpptools-windows-x64.vsix",
|
|
66
|
-
"filename": "cpptools-windows-x64-1.29.3.vsix"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "vscode-clangd",
|
|
70
|
-
"displayName": "clangd Extension",
|
|
71
|
-
"version": "0.4.0",
|
|
72
|
-
"publishedAt": "2026-01-25T15:50:59.184Z",
|
|
73
|
-
"downloadUrl": "{{NEXUS_URL}}/github.com/clangd/vscode-clangd/releases/download/0.4.0/vscode-clangd-0.4.0.vsix",
|
|
74
|
-
"filename": "vscode-clangd-0.4.0.vsix"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "CMake Tools",
|
|
78
|
-
"displayName": "CMake Tools Extension",
|
|
79
|
-
"version": "1.21.36",
|
|
80
|
-
"publishedAt": "2026-01-25T15:50:59.184Z",
|
|
81
|
-
"downloadUrl": "{{NEXUS_URL}}/github.com/microsoft/vscode-cmake-tools/releases/download/v1.21.36/cmake-tools.vsix",
|
|
82
|
-
"filename": "cmake-tools-1.21.36.vsix"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "Roo Code",
|
|
86
|
-
"displayName": "Roo Code Extension",
|
|
87
|
-
"version": "3.43.0",
|
|
88
|
-
"publishedAt": "2026-01-25T15:50:59.184Z",
|
|
89
|
-
"downloadUrl": "{{NEXUS_URL}}/github.com/RooCodeInc/Roo-Code/releases/download/v3.43.0/roo-cline-3.43.0.vsix",
|
|
90
|
-
"filename": "roo-cline-3.43.0.vsix"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"name": "Atlascode",
|
|
94
|
-
"displayName": "Atlassian Extension",
|
|
95
|
-
"version": "4.0.17",
|
|
96
|
-
"publishedAt": "2026-01-25T15:50:59.184Z",
|
|
97
|
-
"downloadUrl": "{{NEXUS_URL}}/github.com/atlassian/atlascode/releases/download/v4.0.17/atlascode-4.0.17.vsix",
|
|
98
|
-
"filename": "atlascode-4.0.17.vsix"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"name": "Zed",
|
|
102
|
-
"displayName": "Zed",
|
|
103
|
-
"version": "0.220.6",
|
|
104
|
-
"publishedAt": "2026-01-25T15:50:59.184Z",
|
|
105
|
-
"downloadUrl": "{{NEXUS_URL}}/github.com/zed-industries/zed/releases/download/v0.220.6/Zed-x86_64.exe",
|
|
106
|
-
"filename": "Zed-0.220.6-x86_64.exe"
|
|
15
|
+
"version": "3.28.1",
|
|
16
|
+
"publishedAt": "2026-01-18T00:00:00Z",
|
|
17
|
+
"downloadUrl": "{{NEXUS_URL}}/github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-linux-x86_64.tar.gz",
|
|
18
|
+
"filename": "cmake-3.28.1-linux-x86_64.tar.gz"
|
|
107
19
|
}
|
|
108
20
|
]
|
|
109
|
-
}
|
|
21
|
+
}
|