diff --git a/bin/nodejs24.4.1/bearsampp.conf b/bin/nodejs24.4.1/bearsampp.conf new file mode 100644 index 00000000..80640e27 --- /dev/null +++ b/bin/nodejs24.4.1/bearsampp.conf @@ -0,0 +1,8 @@ +nodejsVersion = "24.4.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/nodejs24.4.1/etc/npmrc b/bin/nodejs24.4.1/etc/npmrc new file mode 100644 index 00000000..3c3b1925 --- /dev/null +++ b/bin/nodejs24.4.1/etc/npmrc @@ -0,0 +1,4 @@ +cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache +globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs24.4.1\etc\npmrc +init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs24.4.1\etc\.npm-init.js +userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs24.4.1\etc\npmrc diff --git a/bin/nodejs24.4.1/etc/npmrc.ber b/bin/nodejs24.4.1/etc/npmrc.ber new file mode 100644 index 00000000..3c3b1925 --- /dev/null +++ b/bin/nodejs24.4.1/etc/npmrc.ber @@ -0,0 +1,4 @@ +cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache +globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs24.4.1\etc\npmrc +init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs24.4.1\etc\.npm-init.js +userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs24.4.1\etc\npmrc diff --git a/bin/nodejs24.4.1/launch.bat b/bin/nodejs24.4.1/launch.bat new file mode 100644 index 00000000..1df6c8f2 --- /dev/null +++ b/bin/nodejs24.4.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/nodejs24.4.1/node_modules/npm/npmrc b/bin/nodejs24.4.1/node_modules/npm/npmrc new file mode 100644 index 00000000..a3ce7932 --- /dev/null +++ b/bin/nodejs24.4.1/node_modules/npm/npmrc @@ -0,0 +1 @@ +prefix = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs24.3.0\ diff --git a/bin/nodejs24.4.1/node_modules/npm/npmrc.ber b/bin/nodejs24.4.1/node_modules/npm/npmrc.ber new file mode 100644 index 00000000..a3ce7932 --- /dev/null +++ b/bin/nodejs24.4.1/node_modules/npm/npmrc.ber @@ -0,0 +1 @@ +prefix = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs24.3.0\ diff --git a/build.properties b/build.properties index 3c1d3082..5b9ed49e 100644 --- a/build.properties +++ b/build.properties @@ -1,5 +1,5 @@ bundle.name = nodejs -bundle.release = 2025.7.2 +bundle.release = 2025.7.31 bundle.type = bins bundle.format = 7z diff --git a/releases.properties b/releases.properties index d96ea96a..12ca8a3e 100644 --- a/releases.properties +++ b/releases.properties @@ -27,3 +27,4 @@ 23.9.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2025.3.2/bearsampp-nodejs-23.9.0-2025.3.2.7z 23.11.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2025.4.19/bearsampp-nodejs-23.11.0-2025.3.2.7z 24.3.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2025.7.2/bearsampp-nodejs-24.3.0-2025.7.2.7z +24.4.1 = https://github.com/Bearsampp/module-nodejs/releases/download/2025.7.31/bearsampp-nodejs-24.4.1-2025.7.31.7z