awc-zns-mtd 2.10.0 → 2.10.3

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,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "awc-zns-mtd",
4
- "version": "2.10.0",
4
+ "version": "2.10.3",
5
5
  "description": "AWC ZNS-MTD Method - Metodología de Transformación Digital basada en Minimalismo Estratégico",
6
6
  "keywords": [
7
7
  "awc",
@@ -8,6 +8,10 @@ const fs = require('fs-extra');
8
8
  const path = require('path');
9
9
  const os = require('os');
10
10
 
11
+ // Leer versión actual del package.json para tests dinámicos
12
+ const packageJson = require('../../../package.json');
13
+ const currentVersion = packageJson.version;
14
+
11
15
  describe('CLI Integration Tests', () => {
12
16
  let testDir;
13
17
  const cliPath = path.join(__dirname, '../../../tools/cli/awc-cli.js');
@@ -30,7 +34,7 @@ describe('CLI Integration Tests', () => {
30
34
  cwd: testDir
31
35
  });
32
36
 
33
- expect(output).toContain('2.10.0');
37
+ expect(output).toContain(currentVersion);
34
38
  expect(output).toContain('ZΞNAPSΞS');
35
39
  });
36
40
 
@@ -63,7 +67,7 @@ describe('CLI Integration Tests', () => {
63
67
  cwd: testDir
64
68
  });
65
69
 
66
- expect(output).toContain('2.10.0');
70
+ expect(output).toContain(currentVersion);
67
71
  });
68
72
  });
69
73
 
@@ -6,7 +6,7 @@
6
6
  const winston = require('winston');
7
7
  const path = require('path');
8
8
  const fs = require('fs-extra');
9
- const ConfigManager = require('../config/config-manager');
9
+ const ConfigManager = require('../../config/config-manager');
10
10
 
11
11
  // Asegurar que existe el directorio de logs
12
12
  const logsDir = path.join(process.cwd(), ConfigManager.LOGS_DIR);