From bda0740f1a746cb0b5628b029348a95378770812 Mon Sep 17 00:00:00 2001 From: Igor Octaviano Date: Fri, 10 Apr 2026 12:33:16 -0300 Subject: [PATCH 1/3] Use yarn --- idc-deploy-shell/install-deps.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/idc-deploy-shell/install-deps.sh b/idc-deploy-shell/install-deps.sh index b7fb66e9a82..ba770913249 100644 --- a/idc-deploy-shell/install-deps.sh +++ b/idc-deploy-shell/install-deps.sh @@ -26,8 +26,8 @@ apt-get update -qq apt-get upgrade -y apt-get install -y git -apt-get install -y make # needed by bun install... -apt-get install -y g++ # needed by bun install... +apt-get install -y make # native builds (bun / node-gyp) +apt-get install -y g++ # # Following instructions at https://github.com/nodesource/distributions/blob/master/README.md#deb @@ -36,9 +36,10 @@ apt-get install -y g++ # needed by bun install... curl -sL https://deb.nodesource.com/setup_18.x | bash - apt-get install -y nodejs -# Install yarn and bun using npm (more reliable than curl) -echo "Installing Yarn via npm..." -npm install -g yarn +# Yarn via Corepack — matches package.json "packageManager" (yarn@1.22.22) +echo "Enabling Corepack and Yarn..." +corepack enable +corepack prepare yarn@1.22.22 --activate echo "Installing Bun via npm..." npm install -g bun From 13f035b127da99e7594950afa4588c46bf3d3872 Mon Sep 17 00:00:00 2001 From: Igor Octaviano Date: Fri, 10 Apr 2026 12:34:09 -0300 Subject: [PATCH 2/3] Use yarn --- idc-deploy-shell/install-deps.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/idc-deploy-shell/install-deps.sh b/idc-deploy-shell/install-deps.sh index ba770913249..377a304bd5b 100644 --- a/idc-deploy-shell/install-deps.sh +++ b/idc-deploy-shell/install-deps.sh @@ -41,8 +41,13 @@ echo "Enabling Corepack and Yarn..." corepack enable corepack prepare yarn@1.22.22 --activate -echo "Installing Bun via npm..." -npm install -g bun +echo "Installing Bun (yarn global add)..." +yarn global add bun +YARN_GLOBAL_BIN="$(yarn global bin)" +export PATH="${YARN_GLOBAL_BIN}:${PATH}" +if [ -n "${BASH_ENV:-}" ]; then + echo "export PATH=\"${YARN_GLOBAL_BIN}:\$PATH\"" >> "$BASH_ENV" +fi # Verify installations echo "Installation complete!" From d41cde6db50dbecec2b24d058f959f3eec48fcc4 Mon Sep 17 00:00:00 2001 From: Igor Octaviano Date: Fri, 10 Apr 2026 12:35:16 -0300 Subject: [PATCH 3/3] Use yarn --- idc-deploy-shell/install-deps.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/idc-deploy-shell/install-deps.sh b/idc-deploy-shell/install-deps.sh index 377a304bd5b..a9b973018ea 100644 --- a/idc-deploy-shell/install-deps.sh +++ b/idc-deploy-shell/install-deps.sh @@ -26,7 +26,7 @@ apt-get update -qq apt-get upgrade -y apt-get install -y git -apt-get install -y make # native builds (bun / node-gyp) +apt-get install -y make # native builds (node-gyp) apt-get install -y g++ # @@ -41,19 +41,9 @@ echo "Enabling Corepack and Yarn..." corepack enable corepack prepare yarn@1.22.22 --activate -echo "Installing Bun (yarn global add)..." -yarn global add bun -YARN_GLOBAL_BIN="$(yarn global bin)" -export PATH="${YARN_GLOBAL_BIN}:${PATH}" -if [ -n "${BASH_ENV:-}" ]; then - echo "export PATH=\"${YARN_GLOBAL_BIN}:\$PATH\"" >> "$BASH_ENV" -fi - # Verify installations echo "Installation complete!" echo "Yarn location: $(which yarn)" echo "Yarn version: $(yarn --version)" -echo "Bun location: $(which bun)" -echo "Bun version: $(bun --version)" echo "Libraries Installed"