Add Linux scripts for calling into custom Node/NPM versions

This commit is contained in:
2024-02-05 13:38:19 +11:00
parent 2862df08d8
commit 8326e730fb
7 changed files with 79 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
desired_dir=${script_dir}/../NodeJS/12.22.12/bin
desired_exe=${desired_dir}/node
PATH=${desired_dir}:${PATH}
curr_script=$(realpath "${BASH_SOURCE[0]}")
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
${desired_exe} $@
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
desired_dir=${script_dir}/../NodeJS/16.19.0/bin
desired_exe=${desired_dir}/node
PATH=${desired_dir}:${PATH}
curr_script=$(realpath "${BASH_SOURCE[0]}")
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
${desired_exe} $@
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
desired_dir=${script_dir}/../NodeJS/18.15.0/bin
desired_exe=${desired_dir}/node
PATH=${desired_dir}:${PATH}
curr_script=$(realpath "${BASH_SOURCE[0]}")
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
${desired_exe} $@
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
desired_dir=${script_dir}/../NodeJS/12.22.12/bin
desired_exe=${desired_dir}/npm
PATH=${desired_dir}:${PATH}
curr_script=$(realpath "${BASH_SOURCE[0]}")
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
${desired_exe} $@
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
desired_dir=${script_dir}/../NodeJS/16.19.0/bin
desired_exe=${desired_dir}/npm
PATH=${desired_dir}:${PATH}
curr_script=$(realpath "${BASH_SOURCE[0]}")
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
${desired_exe} $@
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
desired_dir=${script_dir}/../NodeJS/18.15.0/bin
desired_exe=${desired_dir}/npm
PATH=${desired_dir}:${PATH}
curr_script=$(realpath "${BASH_SOURCE[0]}")
echo [DEVENVER] Executing script \"${curr_script}\" with \"${desired_exe}\"
${desired_exe} $@