@docupace/pipeline 1.0.64 → 1.0.65-alpha.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.64",
3
+ "version": "1.0.65-alpha.1",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "bin": {
@@ -238,8 +238,12 @@ export async function autoResolveConflicts(options = {}) {
238
238
  try {
239
239
  if (verbose)
240
240
  console.log(`🔧 Applying '${strategy}' strategy to ${filePath}`);
241
- mergeFunction(filePath);
242
- resolvedCount++;
241
+ const result = mergeFunction(filePath);
242
+ if (result.success) {
243
+ resolvedCount++;
244
+ } else {
245
+ skippedCount++;
246
+ }
243
247
  } catch (error) {
244
248
  console.error(`❌ Failed to resolve ${filePath}: ${error.message}`);
245
249
  skippedCount++;
@@ -79,7 +79,7 @@ export function mergeChangelogFile(filePath) {
79
79
  }
80
80
 
81
81
  console.log('Changelog merge completed successfully');
82
- return true;
82
+ return { success: true };
83
83
  } catch (error) {
84
84
  console.error(`Merge failed: ${error.message}`);
85
85
  throw error;
@@ -95,7 +95,7 @@ export async function mergePackageFile(filePath) {
95
95
  console.log(' Non-version conflicts require manual resolution');
96
96
  }
97
97
 
98
- return result.success;
98
+ return result;
99
99
  } catch (error) {
100
100
  console.error(`❌ Merge failed: ${error.message}`);
101
101
  throw error;