From 0d175755531400007dd3c8fd3135ee9ea61979fd Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Fri, 9 May 2025 16:05:44 +0530 Subject: [PATCH] use npx and install cross-env as a dev depenendency the run scripts fail as they use absolute path and expected cross-env to be shell command --- binary/package-lock.json | 22 ++++++++++++++++++- binary/package.json | 1 + .../.run/Start Core Dev Server (CE).run.xml | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/binary/package-lock.json b/binary/package-lock.json index 5e864aaf7..05198ec05 100644 --- a/binary/package-lock.json +++ b/binary/package-lock.json @@ -31,6 +31,7 @@ "@types/jest": "^29.5.12", "@types/uuid": "^9.0.8", "@vercel/ncc": "^0.38.1", + "cross-env": "^7.0.3", "esbuild": "0.19.11", "jest": "^29.7.0", "pkg": "^5.8.1", @@ -49,7 +50,7 @@ "@aws-sdk/credential-providers": "^3.778.0", "@continuedev/config-types": "^1.0.13", "@continuedev/config-yaml": "file:../packages/config-yaml", - "@continuedev/fetch": "^1.0.4", + "@continuedev/fetch": "^1.0.6", "@continuedev/llm-info": "^1.0.8", "@continuedev/openai-adapters": "^1.0.19", "@modelcontextprotocol/sdk": "^1.5.0", @@ -3173,6 +3174,25 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", diff --git a/binary/package.json b/binary/package.json index 19dff8a6b..a2abcf3bb 100644 --- a/binary/package.json +++ b/binary/package.json @@ -33,6 +33,7 @@ "@types/jest": "^29.5.12", "@types/uuid": "^9.0.8", "@vercel/ncc": "^0.38.1", + "cross-env": "^7.0.3", "esbuild": "0.19.11", "jest": "^29.7.0", "pkg": "^5.8.1", diff --git a/extensions/intellij/.run/Start Core Dev Server (CE).run.xml b/extensions/intellij/.run/Start Core Dev Server (CE).run.xml index d6c646ef9..53c668ab2 100644 --- a/extensions/intellij/.run/Start Core Dev Server (CE).run.xml +++ b/extensions/intellij/.run/Start Core Dev Server (CE).run.xml @@ -1,6 +1,6 @@ -