@insforge/install 0.0.19 → 0.0.20
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,9 @@ import {
|
|
|
6
6
|
writeConfig
|
|
7
7
|
} from "./utils.js";
|
|
8
8
|
import { execSync } from 'child_process';
|
|
9
|
-
|
|
9
|
+
import os from 'os';
|
|
10
|
+
import path from 'path';
|
|
11
|
+
|
|
10
12
|
import yargs from "yargs";
|
|
11
13
|
import { hideBin } from "yargs/helpers";
|
|
12
14
|
|
|
@@ -57,8 +59,6 @@ import {
|
|
|
57
59
|
// Handle different config structures for different clients
|
|
58
60
|
if (argv.client === "claude-code") {
|
|
59
61
|
// Use Claude CLI for Claude Code
|
|
60
|
-
const os = require('os');
|
|
61
|
-
const path = require('path');
|
|
62
62
|
const homeDir = os.homedir();
|
|
63
63
|
const isWindows = process.platform === 'win32';
|
|
64
64
|
const claudePath = isWindows
|