@tanagram/cli 0.6.0 → 0.6.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.
Binary file
Binary file
Binary file
Binary file
Binary file
package/install.js CHANGED
@@ -6,7 +6,11 @@ const os = require('os');
6
6
  const https = require('https');
7
7
  const crypto = require('crypto');
8
8
  const pkg = require('./package.json');
9
- const { SKILLS } = require('./skills.config');
9
+
10
+ // Discover skills from the skills/ directory
11
+ const SKILLS = fs.readdirSync(path.join(__dirname, 'skills'), { withFileTypes: true })
12
+ .filter(d => d.isDirectory())
13
+ .map(d => d.name);
10
14
 
11
15
  const POSTHOG_KEY = 'phc_sMsUvf0nK50rZdztSlX9rDJqIreLcXj4dyGS0tORQpQ';
12
16
  const POSTHOG_HOST = 'phe.tanagram.ai';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanagram/cli",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Tanagram - Catch sloppy code before it ships",
5
5
  "main": "index.js",
6
6
  "bin": {
package/uninstall.js CHANGED
@@ -6,7 +6,11 @@ const os = require('os');
6
6
  const https = require('https');
7
7
  const crypto = require('crypto');
8
8
  const pkg = require('./package.json');
9
- const { SKILLS } = require('./skills.config');
9
+
10
+ // Discover skills from the skills/ directory
11
+ const SKILLS = fs.readdirSync(path.join(__dirname, 'skills'), { withFileTypes: true })
12
+ .filter(d => d.isDirectory())
13
+ .map(d => d.name);
10
14
 
11
15
  const POSTHOG_KEY = 'phc_sMsUvf0nK50rZdztSlX9rDJqIreLcXj4dyGS0tORQpQ';
12
16
  const POSTHOG_HOST = 'phe.tanagram.ai';