From 318910df162917d5d19ac0abe5e1ca5ca2d9c497 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Mon, 7 Jul 2025 15:13:38 -0700 Subject: [PATCH] chore: build all packages in install scripts --- binary/package-lock.json | 2 ++ extensions/vscode/package-lock.json | 6 ++++-- gui/package-lock.json | 2 ++ packages/hub/package-lock.json | 4 ++-- scripts/install-dependencies.ps1 | 30 ++++++++++++++++++++++++++--- scripts/install-dependencies.sh | 30 ++++++++++++++++++++++++++--- scripts/uninstall.js | 15 +++++++++++++++ 7 files changed, 79 insertions(+), 10 deletions(-) diff --git a/binary/package-lock.json b/binary/package-lock.json index 51e6f5cf9..11dd6505b 100644 --- a/binary/package-lock.json +++ b/binary/package-lock.json @@ -121,6 +121,8 @@ "@babel/preset-env": "^7.24.7", "@biomejs/biome": "1.6.4", "@google/generative-ai": "^0.11.4", + "@shikijs/colorized-brackets": "^3.7.0", + "@shikijs/transformers": "^3.7.0", "@types/diff": "^7.0.1", "@types/follow-redirects": "^1.14.4", "@types/jest": "^29.5.12", diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index 0f87e013c..b1f582aac 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "continue", - "version": "1.1.55", + "version": "1.1.57", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "continue", - "version": "1.1.55", + "version": "1.1.57", "license": "Apache-2.0", "dependencies": { "@continuedev/config-types": "^1.0.14", @@ -173,6 +173,8 @@ "@babel/preset-env": "^7.24.7", "@biomejs/biome": "1.6.4", "@google/generative-ai": "^0.11.4", + "@shikijs/colorized-brackets": "^3.7.0", + "@shikijs/transformers": "^3.7.0", "@types/diff": "^7.0.1", "@types/follow-redirects": "^1.14.4", "@types/jest": "^29.5.12", diff --git a/gui/package-lock.json b/gui/package-lock.json index 8c53ca7ce..eb948d185 100644 --- a/gui/package-lock.json +++ b/gui/package-lock.json @@ -182,6 +182,8 @@ "@babel/preset-env": "^7.24.7", "@biomejs/biome": "1.6.4", "@google/generative-ai": "^0.11.4", + "@shikijs/colorized-brackets": "^3.7.0", + "@shikijs/transformers": "^3.7.0", "@types/diff": "^7.0.1", "@types/follow-redirects": "^1.14.4", "@types/jest": "^29.5.12", diff --git a/packages/hub/package-lock.json b/packages/hub/package-lock.json index bfc2041d5..ec4bd43df 100644 --- a/packages/hub/package-lock.json +++ b/packages/hub/package-lock.json @@ -1,12 +1,12 @@ { "name": "@continuedev/hub", - "version": "0.0.1", + "version": "0.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@continuedev/hub", - "version": "0.0.1", + "version": "0.0.4", "license": "Apache-2.0", "dependencies": { "@continuedev/config-yaml": "^1.0.70" diff --git a/scripts/install-dependencies.ps1 b/scripts/install-dependencies.ps1 index e783f94b4..1e258f9fd 100644 --- a/scripts/install-dependencies.ps1 +++ b/scripts/install-dependencies.ps1 @@ -76,8 +76,20 @@ if (($null -eq $node)) { Write-Host "`nInstalling root-level dependencies..." -ForegroundColor White npm install -Write-Host "`nBuilding openai-adapters..." -ForegroundColor White -Push-Location packages/openai-adapters +Write-Host "`nBuilding config-types..." -ForegroundColor White +Push-Location packages/config-types +npm install +npm run build +Pop-Location + +Write-Host "`nBuilding fetch..." -ForegroundColor White +Push-Location packages/fetch +npm install +npm run build +Pop-Location + +Write-Host "`nBuilding llm-info..." -ForegroundColor White +Push-Location packages/llm-info npm install npm run build Pop-Location @@ -88,6 +100,18 @@ npm install npm run build Pop-Location +Write-Host "`nBuilding openai-adapters..." -ForegroundColor White +Push-Location packages/openai-adapters +npm install +npm run build +Pop-Location + +Write-Host "`nBuilding hub..." -ForegroundColor White +Push-Location packages/hub +npm install +npm run build +Pop-Location + Write-Host "`nInstalling Core extension dependencies..." -ForegroundColor White Push-Location core npm install @@ -127,4 +151,4 @@ Push-Location docs npm install -Pop-Location +Pop-Location \ No newline at end of file diff --git a/scripts/install-dependencies.sh b/scripts/install-dependencies.sh index 503aabbcd..3f3e54f7b 100755 --- a/scripts/install-dependencies.sh +++ b/scripts/install-dependencies.sh @@ -30,8 +30,20 @@ fi echo "Installing root-level dependencies..." npm install -echo "Building openai-adapters..." -pushd packages/openai-adapters +echo "Building config-types..." +pushd packages/config-types +npm install +npm run build +popd + +echo "Building fetch..." +pushd packages/fetch +npm install +npm run build +popd + +echo "Building llm-info..." +pushd packages/llm-info npm install npm run build popd @@ -42,6 +54,18 @@ npm install npm run build popd +echo "Building openai-adapters..." +pushd packages/openai-adapters +npm install +npm run build +popd + +echo "Building hub..." +pushd packages/hub +npm install +npm run build +popd + echo "Installing Core extension dependencies..." pushd core ## This flag is set because we pull down Chromium at runtime @@ -76,4 +100,4 @@ popd echo "Installing docs dependencies..." pushd docs npm install -popd +popd \ No newline at end of file diff --git a/scripts/uninstall.js b/scripts/uninstall.js index 8754e5188..15c1edf73 100644 --- a/scripts/uninstall.js +++ b/scripts/uninstall.js @@ -18,6 +18,21 @@ const directories = [ "./binary/bin", "./binary/dist", "./binary/out", + // packages + "./packages/config-types/node_modules", + "./packages/config-types/dist", + "./packages/fetch/node_modules", + "./packages/fetch/dist", + "./packages/llm-info/node_modules", + "./packages/llm-info/dist", + "./packages/config-yaml/node_modules", + "./packages/config-yaml/dist", + "./packages/openai-adapters/node_modules", + "./packages/openai-adapters/dist", + "./packages/hub/node_modules", + "./packages/hub/dist", + // docs + "./docs/node_modules", // root "./node_modules", ];