@grunnverk/commands-publish 1.5.5 → 1.5.7-dev.0
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 +7 -4
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import fs, { readFile } from 'fs/promises';
|
|
|
8
8
|
import * as path from 'path';
|
|
9
9
|
import path__default from 'path';
|
|
10
10
|
import * as Commit from '@grunnverk/commands-git';
|
|
11
|
-
import { Formatter } from '@
|
|
11
|
+
import { Formatter } from '@kjerneverk/riotprompt';
|
|
12
12
|
import 'dotenv/config';
|
|
13
13
|
import { runAgenticRelease, requireTTY, generateReflectionReport, getUserChoice, STANDARD_CHOICES, getLLMFeedbackInEditor, editContentInEditor, createCompletionWithRetry, createReleasePrompt, runAgenticPublish, formatAgenticPublishResult } from '@grunnverk/ai-service';
|
|
14
14
|
|
|
@@ -676,7 +676,8 @@ import { runAgenticRelease, requireTTY, generateReflectionReport, getUserChoice,
|
|
|
676
676
|
// Abort the test merge (only if there's actually a merge in progress)
|
|
677
677
|
try {
|
|
678
678
|
await run('git merge --abort', {
|
|
679
|
-
cwd: pkgDir
|
|
679
|
+
cwd: pkgDir,
|
|
680
|
+
suppressErrorLogging: true
|
|
680
681
|
});
|
|
681
682
|
} catch {
|
|
682
683
|
// Ignore - there might not be a merge to abort if it was a fast-forward
|
|
@@ -686,7 +687,8 @@ import { runAgenticRelease, requireTTY, generateReflectionReport, getUserChoice,
|
|
|
686
687
|
// Abort any partial merge
|
|
687
688
|
try {
|
|
688
689
|
await run('git merge --abort', {
|
|
689
|
-
cwd: pkgDir
|
|
690
|
+
cwd: pkgDir,
|
|
691
|
+
suppressErrorLogging: true
|
|
690
692
|
});
|
|
691
693
|
} catch {
|
|
692
694
|
// Ignore abort errors
|
|
@@ -716,7 +718,8 @@ import { runAgenticRelease, requireTTY, generateReflectionReport, getUserChoice,
|
|
|
716
718
|
const baseVersion = version.split('-')[0];
|
|
717
719
|
try {
|
|
718
720
|
const { stdout } = await run(`npm view ${pkgName}@${baseVersion} version`, {
|
|
719
|
-
cwd: pkgDir
|
|
721
|
+
cwd: pkgDir,
|
|
722
|
+
suppressErrorLogging: true
|
|
720
723
|
});
|
|
721
724
|
if (stdout.trim() === baseVersion) {
|
|
722
725
|
checks.devVersion.passed = false;
|