taskin 0.1.0-beta.3 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +20 -3
  2. package/package.json +13 -8
package/dist/index.js CHANGED
@@ -1276,9 +1276,26 @@ function showCustomHelp() {
1276
1276
  return "";
1277
1277
  }
1278
1278
 
1279
+ // src/version.ts
1280
+ init_esm_shims();
1281
+ import { readFileSync } from "fs";
1282
+ import { join as join4, dirname } from "path";
1283
+ import { fileURLToPath as fileURLToPath2 } from "url";
1284
+ var __filename2 = fileURLToPath2(import.meta.url);
1285
+ var __dirname2 = dirname(__filename2);
1286
+ function getVersion() {
1287
+ try {
1288
+ const packageJsonPath = join4(__dirname2, "../package.json");
1289
+ const packageJson = JSON.parse(readFileSync(packageJsonPath, "utf-8"));
1290
+ return packageJson.version;
1291
+ } catch {
1292
+ return "0.0.0";
1293
+ }
1294
+ }
1295
+
1279
1296
  // src/main.ts
1280
1297
  init_esm_shims();
1281
- import { join as join4 } from "path";
1298
+ import { join as join5 } from "path";
1282
1299
 
1283
1300
  // src/taskin.ts
1284
1301
  init_esm_shims();
@@ -1368,7 +1385,7 @@ var Taskin = class {
1368
1385
 
1369
1386
  // src/main.ts
1370
1387
  function createTaskin(tasksDir) {
1371
- const resolvedTasksDir = tasksDir || join4(process.cwd(), "TASKS");
1388
+ const resolvedTasksDir = tasksDir || join5(process.cwd(), "TASKS");
1372
1389
  const taskProvider = new FileSystemTaskProvider(resolvedTasksDir);
1373
1390
  const taskManager = new TaskManager(taskProvider);
1374
1391
  const linter = new FileSystemTaskLinter();
@@ -1380,7 +1397,7 @@ function getTaskin() {
1380
1397
 
1381
1398
  // src/index.ts
1382
1399
  var program = new Command();
1383
- program.name("taskin").description("\u{1F680} Task Management System").version("0.1.0").configureHelp({
1400
+ program.name("taskin").description("\u{1F680} Task Management System").version(getVersion()).configureHelp({
1384
1401
  formatHelp: () => showCustomHelp()
1385
1402
  });
1386
1403
  initCommand(program);
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "taskin",
3
- "version": "0.1.0-beta.3",
3
+ "version": "1.0.1",
4
4
  "description": "Task management system integrated with Git workflows",
5
+ "motivation": "Provide a CLI tool for task management integrated with Git workflows",
6
+ "solve": "Simplifies task tracking and management directly from the command line",
7
+ "scope": "cli",
8
+ "status": "active",
9
+ "since": "2025-11-06",
5
10
  "keywords": [
6
11
  "task",
7
12
  "management",
@@ -70,16 +75,16 @@
70
75
  },
71
76
  "dependencies": {
72
77
  "@types/inquirer": "^9.0.9",
73
- "chalk": "^5.3.0",
78
+ "chalk": "^5.6.2",
74
79
  "commander": "^12.1.0",
75
- "inquirer": "^12.10.0",
76
- "zod": "^3.23.8"
80
+ "inquirer": "^12.11.0",
81
+ "zod": "^3.25.76"
77
82
  },
78
83
  "devDependencies": {
79
- "@types/node": "^20.14.10",
80
- "eslint": "^8.57.0",
84
+ "@types/node": "^20.19.24",
85
+ "eslint": "^9.39.1",
81
86
  "tsup": "^8.5.0",
82
- "typescript": "^5.5.3",
83
- "vitest": "^1.6.0"
87
+ "typescript": "^5.9.3",
88
+ "vitest": "^1.6.1"
84
89
  }
85
90
  }