@vibetasks/cli 0.4.4 → 0.4.5
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/dist/bin/vibetasks.js +4 -1
- package/package.json +1 -1
package/dist/bin/vibetasks.js
CHANGED
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
|
|
13
13
|
// bin/vibetasks.ts
|
|
14
14
|
import { Command as Command16 } from "commander";
|
|
15
|
+
import { createRequire } from "module";
|
|
15
16
|
|
|
16
17
|
// src/commands/login.ts
|
|
17
18
|
import { Command } from "commander";
|
|
@@ -2721,8 +2722,10 @@ function getTagColor2(category) {
|
|
|
2721
2722
|
}
|
|
2722
2723
|
|
|
2723
2724
|
// bin/vibetasks.ts
|
|
2725
|
+
var require2 = createRequire(import.meta.url);
|
|
2726
|
+
var pkg = require2("../package.json");
|
|
2724
2727
|
var program = new Command16();
|
|
2725
|
-
program.name("vibetasks").description("VibeTasks CLI - Fast task management for vibers").version(
|
|
2728
|
+
program.name("vibetasks").description("VibeTasks CLI - Fast task management for vibers").version(pkg.version);
|
|
2726
2729
|
program.addCommand(setupCommand);
|
|
2727
2730
|
program.addCommand(loginCommand);
|
|
2728
2731
|
program.addCommand(addCommand);
|
package/package.json
CHANGED