From ed7dc465bf03efb9077f413b4611bb85c0e294e5 Mon Sep 17 00:00:00 2001 From: Josh Holmer Date: Wed, 2 Jul 2025 23:05:16 -0400 Subject: [PATCH] Fix install-all-dependencies script Because the script was missing the step to build `openai-adapters`, the build would fail, leading to the inability to run tests or the local copy of the extension. --- scripts/install-dependencies.ps1 | 6 ++++++ scripts/install-dependencies.sh | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/scripts/install-dependencies.ps1 b/scripts/install-dependencies.ps1 index 5556e58f5..e783f94b4 100644 --- a/scripts/install-dependencies.ps1 +++ b/scripts/install-dependencies.ps1 @@ -76,6 +76,12 @@ 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 +npm install +npm run build +Pop-Location + Write-Host "`nBuilding config-yaml..." -ForegroundColor White Push-Location packages/config-yaml npm install diff --git a/scripts/install-dependencies.sh b/scripts/install-dependencies.sh index 092028b37..503aabbcd 100755 --- a/scripts/install-dependencies.sh +++ b/scripts/install-dependencies.sh @@ -30,6 +30,12 @@ fi echo "Installing root-level dependencies..." npm install +echo "Building openai-adapters..." +pushd packages/openai-adapters +npm install +npm run build +popd + echo "Building config-yaml..." pushd packages/config-yaml npm install