skillhub 0.2.2 → 0.2.3
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
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __createRequire } from 'module'; const require = __createRequire(import.meta.url);
|
|
2
3
|
import {
|
|
3
4
|
__commonJS,
|
|
4
5
|
__require,
|
|
@@ -12,7 +13,7 @@ import {
|
|
|
12
13
|
isSkillInstalled,
|
|
13
14
|
loadConfig,
|
|
14
15
|
saveConfig
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NEDYJNFV.js";
|
|
16
17
|
|
|
17
18
|
// ../../node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.js
|
|
18
19
|
var require_kind_of = __commonJS({
|
|
@@ -4826,7 +4827,7 @@ program.command("config").description("Manage CLI configuration").option("--set
|
|
|
4826
4827
|
program.command("uninstall <skill-name>").description("Uninstall a skill").option("-p, --platform <platform>", "Target platform").option("--project", "Uninstall from project instead of globally").action(async (skillName, options2) => {
|
|
4827
4828
|
const fs3 = await import("fs-extra");
|
|
4828
4829
|
const pathModule = await import("path");
|
|
4829
|
-
const { getSkillPath: getSkillPath2, isSkillInstalled: isSkillInstalled2 } = await import("./paths-
|
|
4830
|
+
const { getSkillPath: getSkillPath2, isSkillInstalled: isSkillInstalled2 } = await import("./paths-AZYVSV7E.js");
|
|
4830
4831
|
const userConfig = await loadConfig();
|
|
4831
4832
|
const platform = options2.platform || userConfig.defaultPlatform || "claude";
|
|
4832
4833
|
const installed = await isSkillInstalled2(platform, skillName, options2.project);
|
|
@@ -4851,7 +4852,7 @@ program.command("uninstall <skill-name>").description("Uninstall a skill").optio
|
|
|
4851
4852
|
program.command("update [skill-name]").description("Update installed skills").option("-p, --platform <platform>", "Target platform").option("--all", "Update all installed skills").action(async (skillName, options2) => {
|
|
4852
4853
|
const fsExtra = await import("fs-extra");
|
|
4853
4854
|
const pathModule = await import("path");
|
|
4854
|
-
const { getSkillsPath: getSkillsPath2, getSkillPath: getSkillPath2 } = await import("./paths-
|
|
4855
|
+
const { getSkillsPath: getSkillsPath2, getSkillPath: getSkillPath2 } = await import("./paths-AZYVSV7E.js");
|
|
4855
4856
|
const userConfig = await loadConfig();
|
|
4856
4857
|
const platform = options2.platform || userConfig.defaultPlatform || "claude";
|
|
4857
4858
|
const ALL_PLATFORMS2 = ["claude", "codex", "copilot", "cursor", "windsurf"];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from 'module'; const require = __createRequire(import.meta.url);
|
|
1
2
|
import {
|
|
2
3
|
detectPlatform,
|
|
3
4
|
ensureSkillsDir,
|
|
@@ -9,7 +10,7 @@ import {
|
|
|
9
10
|
isSkillInstalled,
|
|
10
11
|
loadConfig,
|
|
11
12
|
saveConfig
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NEDYJNFV.js";
|
|
13
14
|
export {
|
|
14
15
|
detectPlatform,
|
|
15
16
|
ensureSkillsDir,
|
package/package.json
CHANGED