From 3b943c1582026bdf65feb13a73259ce0e034ab2f Mon Sep 17 00:00:00 2001 From: matt korwel Date: Mon, 9 Jun 2025 12:19:42 -0700 Subject: Windows: Refactor Shell Scripts to Node.js for Cross-Platform Compatibility (#784) --- packages/cli/package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'packages/cli/package.json') diff --git a/packages/cli/package.json b/packages/cli/package.json index 0e50e7d5..03eca1c7 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -8,7 +8,7 @@ "gemini": "dist/index.js" }, "scripts": { - "build": "../../scripts/build_package.sh", + "build": "node ../../scripts/build_package.js", "clean": "rm -rf dist", "start": "node dist/index.js", "debug": "node --inspect-brk dist/index.js", @@ -29,7 +29,7 @@ "sandboxImageUri": "gemini-cli-sandbox" }, "dependencies": { - "@gemini-cli/core": "0.1.0", + "@gemini-cli/core": "file:../core", "diff": "^7.0.0", "dotenv": "^16.4.7", "highlight.js": "^11.11.1", @@ -48,6 +48,7 @@ "string-width": "^7.1.0", "strip-ansi": "^7.1.0", "strip-json-comments": "^3.1.1", + "command-exists": "^1.2.9", "yargs": "^17.7.2" }, "devDependencies": { @@ -58,6 +59,7 @@ "@types/react": "^18.3.1", "@types/shell-quote": "^1.7.5", "@types/yargs": "^17.0.32", + "@types/command-exists": "^1.2.3", "ink-testing-library": "^4.0.0", "jsdom": "^26.1.0", "typescript": "^5.3.3", -- cgit v1.2.3