taskin 0.1.0-beta.2 → 1.0.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.
- package/dist/index.js +17 -1
- package/package.json +13 -8
package/dist/index.js
CHANGED
|
@@ -288,7 +288,20 @@ function detectPackageManager() {
|
|
|
288
288
|
}
|
|
289
289
|
return "npm";
|
|
290
290
|
}
|
|
291
|
+
function isBundledProvider(packageName) {
|
|
292
|
+
const bundledProviders = [
|
|
293
|
+
"@opentask/taskin-fs-provider",
|
|
294
|
+
"@opentask/taskin-core",
|
|
295
|
+
"@opentask/taskin-task-manager",
|
|
296
|
+
"@opentask/taskin-git-utils",
|
|
297
|
+
"@opentask/taskin-utils"
|
|
298
|
+
];
|
|
299
|
+
return bundledProviders.includes(packageName);
|
|
300
|
+
}
|
|
291
301
|
function isProviderInstalled(packageName) {
|
|
302
|
+
if (isBundledProvider(packageName)) {
|
|
303
|
+
return true;
|
|
304
|
+
}
|
|
292
305
|
try {
|
|
293
306
|
__require.resolve(packageName);
|
|
294
307
|
return true;
|
|
@@ -508,7 +521,10 @@ async function initializeTaskin(options) {
|
|
|
508
521
|
console.log();
|
|
509
522
|
info(`Setting up task provider: ${colors.highlight(selectedProvider.name)}`);
|
|
510
523
|
console.log();
|
|
511
|
-
|
|
524
|
+
const bundledProviders = ["fs"];
|
|
525
|
+
if (!bundledProviders.includes(selectedProvider.id)) {
|
|
526
|
+
await ensureProviderInstalled(selectedProvider);
|
|
527
|
+
}
|
|
512
528
|
const providerConfig = await setupProviderConfig(selectedProvider, cwd);
|
|
513
529
|
const config = {
|
|
514
530
|
version: "0.1.0",
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "taskin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
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.
|
|
78
|
+
"chalk": "^5.6.2",
|
|
74
79
|
"commander": "^12.1.0",
|
|
75
|
-
"inquirer": "^12.
|
|
76
|
-
"zod": "^3.
|
|
80
|
+
"inquirer": "^12.11.0",
|
|
81
|
+
"zod": "^3.25.76"
|
|
77
82
|
},
|
|
78
83
|
"devDependencies": {
|
|
79
|
-
"@types/node": "^20.
|
|
80
|
-
"eslint": "^
|
|
84
|
+
"@types/node": "^20.19.24",
|
|
85
|
+
"eslint": "^9.39.1",
|
|
81
86
|
"tsup": "^8.5.0",
|
|
82
|
-
"typescript": "^5.
|
|
83
|
-
"vitest": "^1.6.
|
|
87
|
+
"typescript": "^5.9.3",
|
|
88
|
+
"vitest": "^1.6.1"
|
|
84
89
|
}
|
|
85
90
|
}
|