chore: build all packages in install scripts

This commit is contained in:
Patrick Erichsen 2025-07-07 15:13:38 -07:00
parent fbcc5a46b9
commit 318910df16
7 changed files with 79 additions and 10 deletions

View File

@ -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",

View File

@ -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",

2
gui/package-lock.json generated
View File

@ -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",

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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",
];