antikit 1.1.0 → 1.1.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/package.json +1 -1
  2. package/src/index.js +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antikit",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "CLI tool to manage AI agent skills from Anti Gravity skills repository",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/index.js CHANGED
@@ -2,17 +2,21 @@
2
2
 
3
3
  import { Command } from 'commander';
4
4
  import chalk from 'chalk';
5
+ import { createRequire } from 'module';
5
6
  import { listRemoteSkills } from './commands/list.js';
6
7
  import { listLocalSkills } from './commands/local.js';
7
8
  import { installSkill } from './commands/install.js';
8
9
  import { removeSkill } from './commands/remove.js';
9
10
 
11
+ const require = createRequire(import.meta.url);
12
+ const pkg = require('../package.json');
13
+
10
14
  const program = new Command();
11
15
 
12
16
  program
13
17
  .name('antikit')
14
18
  .description('CLI tool to manage skills from antiskills repository')
15
- .version('1.0.0');
19
+ .version(pkg.version);
16
20
 
17
21
  program
18
22
  .command('list')