skillstogether 0.1.2 → 0.1.4
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 +3 -10
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -2339,20 +2339,13 @@ var statusCommand = new Command5("status").description("Check for skill updates"
|
|
|
2339
2339
|
// src/commands/uninstall.ts
|
|
2340
2340
|
import * as p7 from "@clack/prompts";
|
|
2341
2341
|
import { Command as Command6 } from "commander";
|
|
2342
|
-
import {
|
|
2342
|
+
import { rmSync } from "fs";
|
|
2343
2343
|
import { dirname as dirname2 } from "path";
|
|
2344
2344
|
import pc8 from "picocolors";
|
|
2345
2345
|
function removeSkill(skill) {
|
|
2346
2346
|
try {
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
try {
|
|
2350
|
-
const remaining = readdirSync2(orgDir);
|
|
2351
|
-
if (remaining.length === 0) {
|
|
2352
|
-
rmdirSync(orgDir);
|
|
2353
|
-
}
|
|
2354
|
-
} catch {
|
|
2355
|
-
}
|
|
2347
|
+
const skillDir = dirname2(skill.path);
|
|
2348
|
+
rmSync(skillDir, { recursive: true, force: true });
|
|
2356
2349
|
return { success: true };
|
|
2357
2350
|
} catch (error) {
|
|
2358
2351
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillstogether",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "CLI tool to install skills",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"commander": "^14.0.3",
|
|
24
24
|
"open": "^11.0.0",
|
|
25
25
|
"picocolors": "^1.1.1",
|
|
26
|
-
"zod": "^3.
|
|
26
|
+
"zod": "^4.3.6"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@types/node": "^25.
|
|
29
|
+
"@types/node": "^25.2.0",
|
|
30
30
|
"tsup": "^8.5.1",
|
|
31
31
|
"typescript": "^5.9.3"
|
|
32
32
|
},
|