From d38f703e9d26e0133e13c3ed779702c9069f1737 Mon Sep 17 00:00:00 2001 From: jwaisner Date: Sun, 2 Mar 2025 19:37:35 -0600 Subject: [PATCH 1/2] Add Node.js versions 23.9.0 and 22.14.0 with configuration and launch scripts --- bin/nodejs22.14.0/bearsampp.conf | 8 ++++++++ bin/nodejs22.14.0/etc/.npmignore | 1 + bin/nodejs22.14.0/etc/npmrc | 5 +++++ bin/nodejs22.14.0/etc/npmrc.ber | 5 +++++ bin/nodejs22.14.0/launch.bat | 12 ++++++++++++ bin/nodejs22.14.0/node_modules/npm/npmrc | 1 + bin/nodejs22.14.0/node_modules/npm/npmrc.ber | 1 + bin/nodejs23.9.0/bearsampp.conf | 8 ++++++++ bin/nodejs23.9.0/etc/.npmignore | 1 + bin/nodejs23.9.0/etc/npmrc | 5 +++++ bin/nodejs23.9.0/etc/npmrc.ber | 5 +++++ bin/nodejs23.9.0/launch.bat | 12 ++++++++++++ bin/nodejs23.9.0/node_modules/npm/npmrc | 1 + bin/nodejs23.9.0/node_modules/npm/npmrc.ber | 1 + build.properties | 2 +- 15 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 bin/nodejs22.14.0/bearsampp.conf create mode 100644 bin/nodejs22.14.0/etc/.npmignore create mode 100644 bin/nodejs22.14.0/etc/npmrc create mode 100644 bin/nodejs22.14.0/etc/npmrc.ber create mode 100644 bin/nodejs22.14.0/launch.bat create mode 100644 bin/nodejs22.14.0/node_modules/npm/npmrc create mode 100644 bin/nodejs22.14.0/node_modules/npm/npmrc.ber create mode 100644 bin/nodejs23.9.0/bearsampp.conf create mode 100644 bin/nodejs23.9.0/etc/.npmignore create mode 100644 bin/nodejs23.9.0/etc/npmrc create mode 100644 bin/nodejs23.9.0/etc/npmrc.ber create mode 100644 bin/nodejs23.9.0/launch.bat create mode 100644 bin/nodejs23.9.0/node_modules/npm/npmrc create mode 100644 bin/nodejs23.9.0/node_modules/npm/npmrc.ber diff --git a/bin/nodejs22.14.0/bearsampp.conf b/bin/nodejs22.14.0/bearsampp.conf new file mode 100644 index 00000000..244c1e6a --- /dev/null +++ b/bin/nodejs22.14.0/bearsampp.conf @@ -0,0 +1,8 @@ +nodejsVersion = "22.14.0" +nodejsExe = "node.exe" +nodejsVars = "nodevars.bat" +nodejsNpm = "npm.cmd" +nodejsLaunch = "launch.bat" +nodejsConf = "node_modules/npm/npmrc" + +bundleRelease = "@RELEASE_VERSION@" diff --git a/bin/nodejs22.14.0/etc/.npmignore b/bin/nodejs22.14.0/etc/.npmignore new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/bin/nodejs22.14.0/etc/.npmignore @@ -0,0 +1 @@ + diff --git a/bin/nodejs22.14.0/etc/npmrc b/bin/nodejs22.14.0/etc/npmrc new file mode 100644 index 00000000..4d82479b --- /dev/null +++ b/bin/nodejs22.14.0/etc/npmrc @@ -0,0 +1,5 @@ +cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache +globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.14.0\etc\npmrc +globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.14.0\etc\.npmignore +init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.14.0\etc\.npm-init.js +userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.14.0\etc\npmrc diff --git a/bin/nodejs22.14.0/etc/npmrc.ber b/bin/nodejs22.14.0/etc/npmrc.ber new file mode 100644 index 00000000..4d82479b --- /dev/null +++ b/bin/nodejs22.14.0/etc/npmrc.ber @@ -0,0 +1,5 @@ +cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache +globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.14.0\etc\npmrc +globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.14.0\etc\.npmignore +init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.14.0\etc\.npm-init.js +userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.14.0\etc\npmrc diff --git a/bin/nodejs22.14.0/launch.bat b/bin/nodejs22.14.0/launch.bat new file mode 100644 index 00000000..1df6c8f2 --- /dev/null +++ b/bin/nodejs22.14.0/launch.bat @@ -0,0 +1,12 @@ +@ECHO OFF +SETLOCAL EnableDelayedExpansion + +SET BEARSAMPP_NODEJS_PATH=%~dp0 +SET BEARSAMPP_NODEJS_PATH=!BEARSAMPP_NODEJS_PATH:~0,-1! +SET BEARSAMPP_NODEJS_NPM_PATH=%BEARSAMPP_NODEJS_PATH%\node_modules\npm +SET BEARSAMPP_NODEJS_CONFIG_PATH=%BEARSAMPP_NODEJS_NPM_PATH%\npmrc +ECHO prefix = %BEARSAMPP_NODEJS_PATH%>%BEARSAMPP_NODEJS_CONFIG_PATH% + +"%BEARSAMPP_NODEJS_PATH%\nodevars.bat" & "%BEARSAMPP_NODEJS_PATH%\npm" config set globalconfig "%BEARSAMPP_NODEJS_CONFIG_PATH%" --global + +ENDLOCAL diff --git a/bin/nodejs22.14.0/node_modules/npm/npmrc b/bin/nodejs22.14.0/node_modules/npm/npmrc new file mode 100644 index 00000000..114a6c1f --- /dev/null +++ b/bin/nodejs22.14.0/node_modules/npm/npmrc @@ -0,0 +1 @@ +prefix = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.14.0\ diff --git a/bin/nodejs22.14.0/node_modules/npm/npmrc.ber b/bin/nodejs22.14.0/node_modules/npm/npmrc.ber new file mode 100644 index 00000000..114a6c1f --- /dev/null +++ b/bin/nodejs22.14.0/node_modules/npm/npmrc.ber @@ -0,0 +1 @@ +prefix = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.14.0\ diff --git a/bin/nodejs23.9.0/bearsampp.conf b/bin/nodejs23.9.0/bearsampp.conf new file mode 100644 index 00000000..9989efa0 --- /dev/null +++ b/bin/nodejs23.9.0/bearsampp.conf @@ -0,0 +1,8 @@ +nodejsVersion = "23.9.0" +nodejsExe = "node.exe" +nodejsVars = "nodevars.bat" +nodejsNpm = "npm.cmd" +nodejsLaunch = "launch.bat" +nodejsConf = "node_modules/npm/npmrc" + +bundleRelease = "@RELEASE_VERSION@" diff --git a/bin/nodejs23.9.0/etc/.npmignore b/bin/nodejs23.9.0/etc/.npmignore new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/bin/nodejs23.9.0/etc/.npmignore @@ -0,0 +1 @@ + diff --git a/bin/nodejs23.9.0/etc/npmrc b/bin/nodejs23.9.0/etc/npmrc new file mode 100644 index 00000000..08018b55 --- /dev/null +++ b/bin/nodejs23.9.0/etc/npmrc @@ -0,0 +1,5 @@ +cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache +globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.9.0\etc\npmrc +globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.9.0\etc\.npmignore +init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.9.0\etc\.npm-init.js +userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.9.0\etc\npmrc diff --git a/bin/nodejs23.9.0/etc/npmrc.ber b/bin/nodejs23.9.0/etc/npmrc.ber new file mode 100644 index 00000000..08018b55 --- /dev/null +++ b/bin/nodejs23.9.0/etc/npmrc.ber @@ -0,0 +1,5 @@ +cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache +globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.9.0\etc\npmrc +globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.9.0\etc\.npmignore +init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.9.0\etc\.npm-init.js +userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.9.0\etc\npmrc diff --git a/bin/nodejs23.9.0/launch.bat b/bin/nodejs23.9.0/launch.bat new file mode 100644 index 00000000..1df6c8f2 --- /dev/null +++ b/bin/nodejs23.9.0/launch.bat @@ -0,0 +1,12 @@ +@ECHO OFF +SETLOCAL EnableDelayedExpansion + +SET BEARSAMPP_NODEJS_PATH=%~dp0 +SET BEARSAMPP_NODEJS_PATH=!BEARSAMPP_NODEJS_PATH:~0,-1! +SET BEARSAMPP_NODEJS_NPM_PATH=%BEARSAMPP_NODEJS_PATH%\node_modules\npm +SET BEARSAMPP_NODEJS_CONFIG_PATH=%BEARSAMPP_NODEJS_NPM_PATH%\npmrc +ECHO prefix = %BEARSAMPP_NODEJS_PATH%>%BEARSAMPP_NODEJS_CONFIG_PATH% + +"%BEARSAMPP_NODEJS_PATH%\nodevars.bat" & "%BEARSAMPP_NODEJS_PATH%\npm" config set globalconfig "%BEARSAMPP_NODEJS_CONFIG_PATH%" --global + +ENDLOCAL diff --git a/bin/nodejs23.9.0/node_modules/npm/npmrc b/bin/nodejs23.9.0/node_modules/npm/npmrc new file mode 100644 index 00000000..0898fa48 --- /dev/null +++ b/bin/nodejs23.9.0/node_modules/npm/npmrc @@ -0,0 +1 @@ +prefix = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.9.0\ diff --git a/bin/nodejs23.9.0/node_modules/npm/npmrc.ber b/bin/nodejs23.9.0/node_modules/npm/npmrc.ber new file mode 100644 index 00000000..0898fa48 --- /dev/null +++ b/bin/nodejs23.9.0/node_modules/npm/npmrc.ber @@ -0,0 +1 @@ +prefix = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.9.0\ diff --git a/build.properties b/build.properties index 545f8b69..3f27b624 100644 --- a/build.properties +++ b/build.properties @@ -1,5 +1,5 @@ bundle.name = nodejs -bundle.release = 2025.2.11 +bundle.release = 2025.3.2 bundle.type = bins bundle.format = 7z From b52d699541b0e47e2ba797feeffada9ffe88b68b Mon Sep 17 00:00:00 2001 From: jwaisner Date: Sun, 2 Mar 2025 19:50:02 -0600 Subject: [PATCH 2/2] Update releases.properties with Node.js 22.14.0 and 23.9.0 download URLs --- releases.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/releases.properties b/releases.properties index 758effb5..24cb0e6f 100644 --- a/releases.properties +++ b/releases.properties @@ -18,7 +18,9 @@ 22.5.1 = https://github.com/Bearsampp/module-nodejs/releases/download/2024.7.28/bearsampp-nodejs-22.5.1-2024.7.28.7z 22.8.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2024.9.13/bearsampp-nodejs-22.8.0-2024.9.13.7z 22.11.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2024.11.1/bearsampp-nodejs-22.11.0-2024.11.1.7z +22.14.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2025.3.2/bearsampp-nodejs-22.14.0-2025.3.2.7z 23.1.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2024.11.1/bearsampp-nodejs-23.1.0-2024.11.1.7z 23.3.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2024.12.1/bearsampp-nodejs-23.3.0-2024.12.1.7z 23.6.1 = https://github.com/Bearsampp/module-nodejs/releases/download/2025.1.23/bearsampp-nodejs-23.6.1-2025.1.23.7z 23.7.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2025.2.11/bearsampp-nodejs-23.7.0-2025.2.11.7z +23.9.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2025.3.2/bearsampp-nodejs-23.9.0-2025.3.2.7z