@rosh100yx/outlier 0.2.1 → 0.2.2

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/bin/outlier.js +14 -2
  2. package/package.json +2 -2
package/bin/outlier.js CHANGED
@@ -1,2 +1,14 @@
1
- #!/usr/bin/env bun
2
- import "../src/cli.ts";
1
+ #!/usr/bin/env node
2
+ import { spawnSync } from 'child_process';
3
+ import path from 'path';
4
+ import { fileURLToPath } from 'url';
5
+
6
+ const __filename = fileURLToPath(import.meta.url);
7
+ const __dirname = path.dirname(__filename);
8
+
9
+ const cliPath = path.join(__dirname, '../src/cli.ts');
10
+ const result = spawnSync('bun', ['run', cliPath, ...process.argv.slice(2)], {
11
+ stdio: 'inherit'
12
+ });
13
+
14
+ process.exit(result.status || 0);
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@rosh100yx/outlier",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "AI Code Governance & Capability Auditing for the Terminal. Measures AI reliance, context waste, and enforces local CI/CD policies.",
5
5
  "bin": {
6
- "outlier": "./bin/outlier.js"
6
+ "outlier": "bin/outlier.js"
7
7
  },
8
8
  "files": [
9
9
  "bin",