skillio 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/dist/cli.js +5 -1
  2. package/package.json +2 -3
package/dist/cli.js CHANGED
@@ -1,5 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ // src/cli.ts
4
+ import { createRequire } from "node:module";
5
+
3
6
  // node_modules/citty/dist/_chunks/libs/scule.mjs
4
7
  var NUMBER_CHAR_RE = /\d/;
5
8
  var STR_SPLITTERS = [
@@ -995,6 +998,7 @@ var removeCommand = defineCommand({
995
998
  });
996
999
 
997
1000
  // src/cli.ts
1001
+ var { version } = createRequire(import.meta.url)("../package.json");
998
1002
  var SUBCOMMANDS = new Set(["audit", "list", "ls", "remove", "rm"]);
999
1003
  var HELP_FLAGS = new Set(["--help", "-h", "--version", "-v"]);
1000
1004
  var firstArg = process.argv[2];
@@ -1004,7 +1008,7 @@ if (firstArg === undefined || !SUBCOMMANDS.has(firstArg) && !HELP_FLAGS.has(firs
1004
1008
  var main = defineCommand({
1005
1009
  meta: {
1006
1010
  name: "skillio",
1007
- version: "0.1.1",
1011
+ version,
1008
1012
  description: "Audit and manage AI agent skills"
1009
1013
  },
1010
1014
  subCommands: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillio",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Audit and manage AI agent skills for Claude Code and Codex",
5
5
  "license": "MIT",
6
6
  "author": "ihororlovskyi",
@@ -23,8 +23,7 @@
23
23
  ],
24
24
  "type": "module",
25
25
  "bin": {
26
- "skillio": "dist/cli.js",
27
- "skl": "dist/cli.js"
26
+ "skillio": "dist/cli.js"
28
27
  },
29
28
  "exports": {
30
29
  ".": {