mhs-lang 2.2.1 → 2.2.2

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.
Binary file
package/bin/mhs.js CHANGED
@@ -21,6 +21,7 @@ Penggunaan:
21
21
  mhs --js <file.mhs> Menampilkan hasil konversi ke JavaScript
22
22
  mhs --lsp Menjalankan language server untuk editor berklien LSP
23
23
  mhs init Membuat contoh halo.mhs & konfigurasi VS Code
24
+ mhs setup Memasang ulang ekstensi VSIX & ikon ke semua editor (VS Code, Cursor, Antigravity)
24
25
  mhs Membuka mode interaktif (REPL)
25
26
  mhs --version, -v Menampilkan versi
26
27
  mhs --help, -h Menampilkan bantuan ini
@@ -142,6 +143,11 @@ function main() {
142
143
  return;
143
144
  }
144
145
 
146
+ if (cmd === 'setup' || cmd === 'pasang') {
147
+ require('../scripts/postinstall');
148
+ return;
149
+ }
150
+
145
151
  if (cmd === '--js' || cmd === '--emit-py') {
146
152
  const target = args[1];
147
153
  if (!target) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mhs-lang",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "Bahasa pemrograman Python dalam Bahasa Indonesia (.mhs) dengan dual-engine Node.js + Python 3 native, dukungan impor .mhs, npm, dan modul Python (.py/pip).",
5
5
  "main": "src/index.js",
6
6
  "bin": {