hiuhu-table-generator 1.1.0 → 1.2.0

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/index.js +2 -5
  2. package/package.json +2 -2
package/bin/index.js CHANGED
@@ -1,17 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { initConfig } from "../src/commands/init-config.js";
4
- import "../src/commands/gen-datatable.js";
5
-
6
3
  const cmd = process.argv[2];
7
4
 
8
5
  switch (cmd) {
9
6
  case "init":
10
- initConfig();
7
+ await import("../src/commands/init-config.js");
11
8
  break;
12
9
 
13
10
  case "gen-datatable":
14
- // biarkan file gen-datatable baca argv sendiri
11
+ await import("../src/commands/gen-datatable.js");
15
12
  break;
16
13
 
17
14
  default:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hiuhu-table-generator",
3
- "version": "1.1.0",
4
- "description": "CLI generator for table feature in Next.js",
3
+ "version": "1.2.0",
4
+ "description": "CLI generator for table feature in HiuHu Project",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "hiuhu-table-generator": "./bin/index.js"