ante-erp-cli 1.11.25 → 1.11.26

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": "ante-erp-cli",
3
- "version": "1.11.25",
3
+ "version": "1.11.26",
4
4
  "description": "Comprehensive CLI tool for managing ANTE ERP self-hosted installations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -358,14 +358,24 @@ export async function runMigrations(composeFile) {
358
358
  'deploy'
359
359
  ]);
360
360
 
361
+ // Combine stdout and stderr for complete output
362
+ const combinedOutput = [stdout, stderr].filter(Boolean).join('\n').trim();
363
+
361
364
  return {
362
365
  success: true,
363
- output: stdout || stderr
366
+ output: combinedOutput || 'Migration completed'
364
367
  };
365
368
  } catch (error) {
369
+ // Merge both stdout and stderr to show complete error messages
370
+ // This ensures error codes (like P3005) and resolution links are visible
371
+ const combinedError = [error.stdout, error.stderr]
372
+ .filter(Boolean)
373
+ .join('\n')
374
+ .trim();
375
+
366
376
  return {
367
377
  success: false,
368
- output: error.stdout || error.stderr || error.message
378
+ output: combinedError || error.message
369
379
  };
370
380
  }
371
381
  }