From 01f1985d2d2eb6f58259a3684de3c9d0e625faef Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 27 Oct 2025 12:35:04 -0700 Subject: [PATCH] Add typescript and esbuild to browserless setup (#8666) Updated both the update and install scripts to include installation of typescript and esbuild for browserless. This ensures required build dependencies are present before running build commands. --- ct/reactive-resume.sh | 2 ++ install/reactive-resume-install.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ct/reactive-resume.sh b/ct/reactive-resume.sh index 521b8de021..2bb8b43164 100644 --- a/ct/reactive-resume.sh +++ b/ct/reactive-resume.sh @@ -66,6 +66,8 @@ function update_script() { $STD unzip "$brwsr_tmp" mv browserless-"$TAG"/ /opt/browserless cd /opt/browserless + $STD npm install typescript + $STD npm install esbuild $STD npm install rm -rf src/routes/{chrome,edge,firefox,webkit} $STD node_modules/playwright-core/cli.js install --with-deps chromium diff --git a/install/reactive-resume-install.sh b/install/reactive-resume-install.sh index f1585e55a3..fa1579dadd 100644 --- a/install/reactive-resume-install.sh +++ b/install/reactive-resume-install.sh @@ -61,6 +61,8 @@ cd /opt/browserless $STD npm install rm -rf src/routes/{chrome,edge,firefox,webkit} $STD node_modules/playwright-core/cli.js install --with-deps chromium +$STD npm install typescript --save-dev +$STD npm install esbuild --save-dev $STD npm run build $STD npm run build:function $STD npm prune production