@lvnt/release-radar 1.7.0 → 1.7.1

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.
@@ -19,9 +19,7 @@ export class CliPublisher {
19
19
  try {
20
20
  // Generate versions.json
21
21
  const versionsJson = generateVersionsJson(versions, this.downloadsConfig);
22
- // Write to data/ for reference
23
- writeFileSync('./data/cli-versions.json', JSON.stringify(versionsJson, null, 2));
24
- // Copy to CLI package
22
+ // Write to CLI package
25
23
  const cliVersionsPath = `${this.cliPath}/versions.json`;
26
24
  writeFileSync(cliVersionsPath, JSON.stringify(versionsJson, null, 2));
27
25
  // Read current CLI version
@@ -34,9 +32,14 @@ export class CliPublisher {
34
32
  const newVersion = versionParts.join('.');
35
33
  pkg.version = newVersion;
36
34
  writeFileSync(pkgPath, JSON.stringify(pkg, null, 2));
35
+ // Install dependencies (including devDependencies for TypeScript)
36
+ console.log('[CliPublisher] Installing dependencies...');
37
+ execSync('npm install', { cwd: this.cliPath, stdio: 'pipe' });
37
38
  // Build CLI
39
+ console.log('[CliPublisher] Building...');
38
40
  execSync('npm run build', { cwd: this.cliPath, stdio: 'pipe' });
39
41
  // Publish to npm
42
+ console.log('[CliPublisher] Publishing...');
40
43
  execSync('npm publish --access public', { cwd: this.cliPath, stdio: 'pipe' });
41
44
  console.log(`[CliPublisher] Published @lvnt/release-radar-cli v${newVersion}`);
42
45
  return { success: true, version: newVersion };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvnt/release-radar",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Monitor tool versions and notify via Telegram when updates are detected",
5
5
  "main": "dist/index.js",
6
6
  "bin": {