Skip to content

Commit

Permalink
Merge pull request #1014 from BrowserBox/fixes-v10
Browse files Browse the repository at this point in the history
Move to v22
  • Loading branch information
o0101 authored Nov 8, 2024
2 parents 189648d + be4ef75 commit 30ca699
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions deploy-scripts/global_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ install_nvm() {
echo "Installing nvm..."
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.nvm/nvm.sh
nvm install v20
nvm install v22
else
nvm install v20
nvm install v22
fi
}

Expand Down
4 changes: 2 additions & 2 deletions scripts/parcel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -x
. /etc/os-release
if [[ $ID != *"bsd" ]]; then
source $HOME/.nvm/nvm.sh
if ! nvm use v20; then
nvm install v20 && nvm use v20
if ! nvm use v22; then
nvm install v22 && nvm use v22
npm remove -g parcel
npm i -g parcel@latest
fi
Expand Down
4 changes: 2 additions & 2 deletions scripts/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ initialize_package_manager() {
initialize_package_manager

if [[ $PLAT == win* ]]; then
winpty nvm install v20
winpty nvm install v22
winpty nvm use latest
else
source ~/.nvm/nvm.sh;
nvm install v20
nvm install v22
fi

if ! command -v pm2 &>/dev/null; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function run_heredoc_script() {
source \$HOME/.nvm/nvm.sh
command -v nvm || (curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash)
source \$HOME/.nvm/nvm.sh
nvm install v20 # we need v20 for the azure libraries
nvm install v22 # we need v22 for the azure libraries
# Create and navigate to the application directory
mkdir test-app
Expand Down
2 changes: 1 addition & 1 deletion spread-channels/azure/dosyago/browserbox/notifier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ cd $HOME
touch $HOME/.bashrc
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source $HOME/.nvm/nvm.sh
nvm install v20 # we need v20 for the azure libraries
nvm install v22 # we need v22 for the azure libraries
# Create and navigate to the application directory
mkdir test-app
Expand Down
2 changes: 1 addition & 1 deletion src/services/pool/deploy/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if command -v node; then
else
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | $SUDO -E bash -
$SUDO bash -c "source ~/.nvm/nvm.sh; nvm install v20"
$SUDO bash -c "source ~/.nvm/nvm.sh; nvm install v22"
fi

if ! command -v pm2; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ $Outer = {
InstallFmedia
InstallAndLoadNvm

nvm install v20
nvm install v22
nvm use latest

Write-Host "Setting up certificate..."
Expand Down

0 comments on commit 30ca699

Please sign in to comment.