diff --git a/bin/nodejs23.11.0/bearsampp.conf b/bin/nodejs23.11.0/bearsampp.conf new file mode 100644 index 00000000..eeb7e18b --- /dev/null +++ b/bin/nodejs23.11.0/bearsampp.conf @@ -0,0 +1,8 @@ +nodejsVersion = "23.11.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.11.0/etc/.npmignore b/bin/nodejs23.11.0/etc/.npmignore new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/bin/nodejs23.11.0/etc/.npmignore @@ -0,0 +1 @@ + diff --git a/bin/nodejs23.11.0/etc/npmrc b/bin/nodejs23.11.0/etc/npmrc new file mode 100644 index 00000000..a74fcbca --- /dev/null +++ b/bin/nodejs23.11.0/etc/npmrc @@ -0,0 +1,5 @@ +cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache +globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.11.0\etc\npmrc +globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.11.0\etc\.npmignore +init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.11.0\etc\.npm-init.js +userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.11.0\etc\npmrc diff --git a/bin/nodejs23.11.0/etc/npmrc.ber b/bin/nodejs23.11.0/etc/npmrc.ber new file mode 100644 index 00000000..a74fcbca --- /dev/null +++ b/bin/nodejs23.11.0/etc/npmrc.ber @@ -0,0 +1,5 @@ +cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache +globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.11.0\etc\npmrc +globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.11.0\etc\.npmignore +init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.11.0\etc\.npm-init.js +userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.11.0\etc\npmrc diff --git a/bin/nodejs23.11.0/launch.bat b/bin/nodejs23.11.0/launch.bat new file mode 100644 index 00000000..1df6c8f2 --- /dev/null +++ b/bin/nodejs23.11.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/build.properties b/build.properties index 3f27b624..a388ee5c 100644 --- a/build.properties +++ b/build.properties @@ -1,5 +1,5 @@ bundle.name = nodejs -bundle.release = 2025.3.2 +bundle.release = 2025.4.19 bundle.type = bins bundle.format = 7z diff --git a/releases.properties b/releases.properties index 24cb0e6f..ecc29d42 100644 --- a/releases.properties +++ b/releases.properties @@ -24,3 +24,4 @@ 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 +23.11.0 = https://github.com/Bearsampp/module-nodejs/releases/download/2025.4.19/bearsampp-nodejs-23.11.0-2025.3.2.7z