Skip to content

Commit

Permalink
Add Node.js versions 21.2.0 and 23.3.0 with configuration and launch …
Browse files Browse the repository at this point in the history
…scripts
  • Loading branch information
N6REJ committed Dec 2, 2024
1 parent 755ff86 commit efcc3cf
Show file tree
Hide file tree
Showing 16 changed files with 68 additions and 1 deletion.
8 changes: 8 additions & 0 deletions bin/nodejs21.2.0/bearsampp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
nodejsVersion = "21.2.0"
nodejsExe = "node.exe"
nodejsVars = "nodevars.bat"
nodejsNpm = "npm.cmd"
nodejsLaunch = "launch.bat"
nodejsConf = "node_modules/npm/npmrc"

bundleRelease = "@RELEASE_VERSION@"
1 change: 1 addition & 0 deletions bin/nodejs21.2.0/etc/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 5 additions & 0 deletions bin/nodejs21.2.0/etc/npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache
globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs21.2.0\etc\npmrc
globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs21.2.0\etc\.npmignore
init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs21.2.0\etc\.npm-init.js
userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs21.2.0\etc\npmrc
5 changes: 5 additions & 0 deletions bin/nodejs21.2.0/etc/npmrc.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache
globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs21.2.0\etc\npmrc
globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs21.2.0\etc\.npmignore
init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs21.2.0\etc\.npm-init.js
userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs21.2.0\etc\npmrc
12 changes: 12 additions & 0 deletions bin/nodejs21.2.0/launch.bat
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions bin/nodejs21.2.0/node_modules/npm/npmrc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bin/nodejs21.2.0/node_modules/npm/npmrc.ber

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions bin/nodejs23.3.0/bearsampp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
nodejsVersion = "23.3.0"
nodejsExe = "node.exe"
nodejsVars = "nodevars.bat"
nodejsNpm = "npm.cmd"
nodejsLaunch = "launch.bat"
nodejsConf = "node_modules/npm/npmrc"

bundleRelease = "@RELEASE_VERSION@"
1 change: 1 addition & 0 deletions bin/nodejs23.3.0/etc/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 5 additions & 0 deletions bin/nodejs23.3.0/etc/npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache
globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.3.0\etc\npmrc
globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.3.0\etc\.npmignore
init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.3.0\etc\.npm-init.js
userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.3.0\etc\npmrc
5 changes: 5 additions & 0 deletions bin/nodejs23.3.0/etc/npmrc.ber
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache
globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.3.0\etc\npmrc
globalignorefile = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.3.0\etc\.npmignore
init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.3.0\etc\.npm-init.js
userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs23.3.0\etc\npmrc
12 changes: 12 additions & 0 deletions bin/nodejs23.3.0/launch.bat
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions bin/nodejs23.3.0/node_modules/npm/npmrc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bin/nodejs23.3.0/node_modules/npm/npmrc.ber

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bundle.name = nodejs
bundle.release = 2024.11.1
bundle.release = 2024.12.1
bundle.type = bins
bundle.format = 7z

Expand Down
1 change: 1 addition & 0 deletions releases.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
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
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

0 comments on commit efcc3cf

Please sign in to comment.