kuhul-es 1.0.5 → 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 +5 -13
  2. package/package.json +5 -2
package/bin/kuhul-es.js CHANGED
@@ -1,19 +1,16 @@
1
- # Create bin directory
2
- New-Item -ItemType Directory -Force -Path bin
3
-
4
- # Create the CLI file
5
- @'
6
1
  #!/usr/bin/env node
2
+ // KUHUL-ES CLI
3
+ 'use strict';
4
+
5
+ const { program } = require('commander');
7
6
 
8
7
  console.log(`
9
8
  ╔══════════════════════════════════════╗
10
- ║ KUHUL-ES v1.0.0
9
+ ║ KUHUL-ES v1.0.7
11
10
  ║ ECMAScript syntax, KUHUL semantics ║
12
11
  ╚══════════════════════════════════════╝
13
12
  `);
14
13
 
15
- const { program } = require('commander');
16
-
17
14
  program
18
15
  .name('kuhul-es')
19
16
  .description('KUHUL-ES - The Trojan Horse for KUHUL semantics')
@@ -24,7 +21,6 @@ program
24
21
  .description('Initialize a new KUHUL-ES project')
25
22
  .action((projectName = 'my-kuhul-app') => {
26
23
  console.log(`Creating project: ${projectName}`);
27
- // Implementation would go here
28
24
  });
29
25
 
30
26
  program
@@ -32,7 +28,6 @@ program
32
28
  .description('Compile KUHUL-ES source file')
33
29
  .action((file) => {
34
30
  console.log(`Compiling: ${file}`);
35
- // Implementation would go here
36
31
  });
37
32
 
38
33
  program
@@ -51,15 +46,12 @@ program
51
46
  console.log(`⏮ Replaying trace: ${options.replay}`);
52
47
  }
53
48
 
54
- // TEMP: stub runtime hook
55
49
  console.log('⚙ KUHUL runtime booting...');
56
50
  console.log('✓ Execution complete (stub)');
57
51
  });
58
52
 
59
-
60
53
  program.parse(process.argv);
61
54
 
62
55
  if (!process.argv.slice(2).length) {
63
56
  program.outputHelp();
64
57
  }
65
- '@ | 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.5",
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
  }