From bd27362955758c07cc4fe8d1f5bcd693a5e8b3db Mon Sep 17 00:00:00 2001 From: jwaisner Date: Mon, 27 Jan 2025 21:11:29 -0600 Subject: [PATCH 1/2] Add Node.js version 23.6.1 with configuration and launch scripts --- bin/nodejs23.6.1/bearsampp.conf | 8 ++++++++ bin/nodejs23.6.1/etc/.npmignore | 1 + bin/nodejs23.6.1/etc/npmrc | 5 +++++ bin/nodejs23.6.1/etc/npmrc.ber | 5 +++++ bin/nodejs23.6.1/launch.bat | 12 ++++++++++++ bin/nodejs23.6.1/node_modules/npm/npmrc | 1 + bin/nodejs23.6.1/node_modules/npm/npmrc.ber | 1 + build.properties | 2 +- 8 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 bin/nodejs23.6.1/bearsampp.conf create mode 100644 bin/nodejs23.6.1/etc/.npmignore create mode 100644 bin/nodejs23.6.1/etc/npmrc create mode 100644 bin/nodejs23.6.1/etc/npmrc.ber create mode 100644 bin/nodejs23.6.1/launch.bat create mode 100644 bin/nodejs23.6.1/node_modules/npm/npmrc create mode 100644 bin/nodejs23.6.1/node_modules/npm/npmrc.ber diff --git a/bin/nodejs23.6.1/bearsampp.conf b/bin/nodejs23.6.1/bearsampp.conf new file mode 100644 index 00000000..c03d18c1 --- /dev/null +++ b/bin/nodejs23.6.1/bearsampp.conf @@ -0,0 +1,8 @@ +nodejsVersion = "23.6.1" +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.6.1/etc/.npmignore b/bin/nodejs23.6.1/etc/.npmignore new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/bin/nodejs23.6.1/etc/.npmignore @@ -0,0 +1 @@ + diff --git a/bin/nodejs23.6.1/etc/npmrc b/bin/nodejs23.6.1/etc/npmrc new file mode 100644 index 00000000..2b1e4a32 --- /dev/null +++ b/bin/nodejs23.6.1/etc/npmrc @@ -0,0 +1,5 @@ +cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache +globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.6.1\etc\npmrc +globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.6.1\etc\.npmignore +init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.6.1\etc\.npm-init.js +userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.6.1\etc\npmrc diff --git a/bin/nodejs23.6.1/etc/npmrc.ber b/bin/nodejs23.6.1/etc/npmrc.ber new file mode 100644 index 00000000..2b1e4a32 --- /dev/null +++ b/bin/nodejs23.6.1/etc/npmrc.ber @@ -0,0 +1,5 @@ +cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache +globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.6.1\etc\npmrc +globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.6.1\etc\.npmignore +init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.6.1\etc\.npm-init.js +userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.6.1\etc\npmrc diff --git a/bin/nodejs23.6.1/launch.bat b/bin/nodejs23.6.1/launch.bat new file mode 100644 index 00000000..1df6c8f2 --- /dev/null +++ b/bin/nodejs23.6.1/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.6.1/node_modules/npm/npmrc b/bin/nodejs23.6.1/node_modules/npm/npmrc new file mode 100644 index 00000000..12041d8c --- /dev/null +++ b/bin/nodejs23.6.1/node_modules/npm/npmrc @@ -0,0 +1 @@ +prefix = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.6.1\ diff --git a/bin/nodejs23.6.1/node_modules/npm/npmrc.ber b/bin/nodejs23.6.1/node_modules/npm/npmrc.ber new file mode 100644 index 00000000..12041d8c --- /dev/null +++ b/bin/nodejs23.6.1/node_modules/npm/npmrc.ber @@ -0,0 +1 @@ +prefix = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.6.1\ diff --git a/build.properties b/build.properties index a602cd0b..185d0c80 100644 --- a/build.properties +++ b/build.properties @@ -1,5 +1,5 @@ bundle.name = nodejs -bundle.release = 2024.12.1 +bundle.release = 2025.1.23 bundle.type = bins bundle.format = 7z From 969606e1f2221330321fb063c6e88e984ae53c37 Mon Sep 17 00:00:00 2001 From: jwaisner Date: Mon, 27 Jan 2025 21:13:58 -0600 Subject: [PATCH 2/2] Update releases.properties with Node.js 23.6.1 download URL --- releases.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/releases.properties b/releases.properties index a261eff6..4ced8624 100644 --- a/releases.properties +++ b/releases.properties @@ -20,3 +20,4 @@ 22.11.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2024.11.1/bearsampp-nodejs-22.11.0-2024.11.1.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