kuhul-es 1.0.6 → 1.0.7

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.
Files changed (2) hide show
  1. package/bin/kuhul-es.js +4 -9
  2. package/package.json +4 -1
package/bin/kuhul-es.js CHANGED
@@ -2,26 +2,25 @@
2
2
  // KUHUL-ES CLI
3
3
  'use strict';
4
4
 
5
+ const { program } = require('commander');
6
+
5
7
  console.log(`
6
8
  ╔══════════════════════════════════════╗
7
- ║ KUHUL-ES v1.0.0
9
+ ║ KUHUL-ES v1.0.7
8
10
  ║ ECMAScript syntax, KUHUL semantics ║
9
11
  ╚══════════════════════════════════════╝
10
12
  `);
11
13
 
12
- const { program } = require('commander');
13
-
14
14
  program
15
15
  .name('kuhul-es')
16
16
  .description('KUHUL-ES - The Trojan Horse for KUHUL semantics')
17
- .version('1.0.6');
17
+ .version('1.0.0');
18
18
 
19
19
  program
20
20
  .command('init [project-name]')
21
21
  .description('Initialize a new KUHUL-ES project')
22
22
  .action((projectName = 'my-kuhul-app') => {
23
23
  console.log(`Creating project: ${projectName}`);
24
- // Implementation would go here
25
24
  });
26
25
 
27
26
  program
@@ -29,7 +28,6 @@ program
29
28
  .description('Compile KUHUL-ES source file')
30
29
  .action((file) => {
31
30
  console.log(`Compiling: ${file}`);
32
- // Implementation would go here
33
31
  });
34
32
 
35
33
  program
@@ -48,15 +46,12 @@ program
48
46
  console.log(`⏮ Replaying trace: ${options.replay}`);
49
47
  }
50
48
 
51
- // TEMP: stub runtime hook
52
49
  console.log('⚙ KUHUL runtime booting...');
53
50
  console.log('✓ Execution complete (stub)');
54
51
  });
55
52
 
56
-
57
53
  program.parse(process.argv);
58
54
 
59
55
  if (!process.argv.slice(2).length) {
60
56
  program.outputHelp();
61
57
  }
62
- '@ | Out-File bin/kuhul-es.js -Encoding UTF8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kuhul-es",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "main": "src/index.js",
5
5
  "bin": {
6
6
  "kuhul-es": "bin/kuhul-es.js"
@@ -18,5 +18,8 @@
18
18
  ],
19
19
  "engines": {
20
20
  "node": ">=14"
21
+ },
22
+ "dependencies": {
23
+ "commander": "^14.0.2"
21
24
  }
22
25
  }