@lvnt/release-radar 1.7.5 → 1.7.6

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/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvnt/release-radar-cli",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Interactive CLI for downloading tools through Nexus proxy",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -1,4 +1,4 @@
1
- import { execSync, spawn } from 'child_process';
1
+ import { execSync } from 'child_process';
2
2
  import { readFileSync } from 'fs';
3
3
  import { fileURLToPath } from 'url';
4
4
  import { dirname, join } from 'path';
@@ -45,14 +45,7 @@ export async function checkAndUpdate(): Promise<boolean> {
45
45
  stdio: ['pipe', 'pipe', 'pipe'],
46
46
  });
47
47
  if (result) console.log(result);
48
- console.log('Update complete. Restarting...\n');
49
-
50
- // Restart self with a fresh terminal
51
- const child = spawn(process.argv[0], process.argv.slice(1), {
52
- detached: true,
53
- stdio: 'inherit',
54
- });
55
- child.unref();
48
+ console.log('Update complete. Please run the command again.\n');
56
49
  process.exit(0);
57
50
  } catch (error) {
58
51
  console.error('Update failed, continuing with current version');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvnt/release-radar",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "Monitor tool versions and notify via Telegram when updates are detected",
5
5
  "main": "dist/index.js",
6
6
  "bin": {