tkeron 4.3.0 → 4.3.1

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/changelog.md CHANGED
@@ -1,3 +1,11 @@
1
+ # v4.3.1
2
+
3
+ ## Bug Fixes
4
+
5
+ - **Fixed**: `tk -v` / `tk version` / `tk --version` incorrectly displayed `0.0.1` instead of the actual version — `getCommands()` was called without passing the version; now receives `packageJson.version`
6
+
7
+ ---
8
+
1
9
  # v4.3.0
2
10
 
3
11
  ## Markdown Components
package/index.ts CHANGED
@@ -4,13 +4,14 @@ import { buildWrapper } from "./src/buildWrapper";
4
4
  import { develop } from "./src/develop";
5
5
  import { initWrapper } from "./src/initWrapper";
6
6
  import { showBanner } from "./src/banner";
7
+ import packageJson from "./package.json";
7
8
 
8
9
  if (process.argv.length === 2) {
9
10
  await showBanner();
10
11
  process.exit(0);
11
12
  }
12
13
 
13
- getCommands()
14
+ getCommands("tkeron", packageJson.version)
14
15
  .addCommand("build")
15
16
  .addAlias("b")
16
17
  .addDescription("Build the project")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tkeron",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "CLI tool for backend-driven frontend development with TypeScript.",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",