ante-erp-cli 1.11.18 → 1.11.20

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.18",
3
+ "version": "1.11.20",
4
4
  "description": "Comprehensive CLI tool for managing ANTE ERP self-hosted installations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -184,7 +184,10 @@ export async function install(options) {
184
184
  console.log(` ${checks.node.ok ? chalk.green('✓') : chalk.red('✗')} Node.js: ${checks.node.message}`);
185
185
  console.log(` ${checks.diskSpace.ok ? chalk.green('✓') : chalk.red('✗')} Disk Space: ${checks.diskSpace.message}`);
186
186
 
187
- if (!ok || !checks.docker.ok) {
187
+ // Recalculate ok status after Docker check update
188
+ const allChecksPass = Object.values(checks).every(check => check.ok);
189
+
190
+ if (!allChecksPass) {
188
191
  console.log(chalk.red('\n✗ System requirements not met. Please resolve issues above.\n'));
189
192
  process.exit(1);
190
193
  }
@@ -299,8 +299,7 @@ export async function runSystemChecks() {
299
299
  docker: await checkDocker(),
300
300
  dockerCompose: await checkDockerCompose(),
301
301
  node: checkNode(),
302
- diskSpace: checkDiskSpace(),
303
- ports: await checkPorts()
302
+ diskSpace: checkDiskSpace()
304
303
  };
305
304
 
306
305
  const ok = Object.values(checks).every(check => check.ok);