Skip to content

Commit d95e381

Browse files
jwaisnerN6REJqodo-code-review[bot]
authored
Node.js 25.2.1, 24.11.1, 22.21.1, and 20.19.5 (#27)
* Add Node.js versions 25.2.1, 24.11.1, 22.21.1, and 20.19.5 with configuration and launch scripts * Update bin/nodejs20.19.5/launch.bat Co-authored-by: qodo-code-review[bot] <151058649+qodo-code-review[bot]@users.noreply.github.com> --------- Co-authored-by: Bear <programming@hallhome.us> Co-authored-by: qodo-code-review[bot] <151058649+qodo-code-review[bot]@users.noreply.github.com>
1 parent c600e7e commit d95e381

17 files changed

Lines changed: 113 additions & 1 deletion

File tree

bin/nodejs20.19.5/bearsampp.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
nodejsVersion = "20.19.5"
2+
nodejsExe = "node.exe"
3+
nodejsVars = "nodevars.bat"
4+
nodejsNpm = "npm.cmd"
5+
nodejsLaunch = "launch.bat"
6+
nodejsConf = "node_modules/npm/npmrc"
7+
8+
bundleRelease = "@RELEASE_VERSION@"

bin/nodejs20.19.5/etc/npmrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache
2+
globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs20.19.5\etc\npmrc
3+
init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs20.19.5\etc\.npm-init.js
4+
userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs20.19.5\etc\npmrc

bin/nodejs20.19.5/etc/npmrc.ber

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache
2+
globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs20.19.5\etc\npmrc
3+
init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs20.19.5\etc\.npm-init.js
4+
userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs20.19.5\etc\npmrc

bin/nodejs20.19.5/launch.bat

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@ECHO OFF
2+
SETLOCAL EnableDelayedExpansion
3+
4+
SET BEARSAMPP_NODEJS_PATH=%~dp0
5+
SET BEARSAMPP_NODEJS_PATH=!BEARSAMPP_NODEJS_PATH:~0,-1!
6+
SET BEARSAMPP_NODEJS_NPM_PATH=%BEARSAMPP_NODEJS_PATH%\node_modules\npm
7+
SET BEARSAMPP_NODEJS_CONFIG_PATH=%BEARSAMPP_NODEJS_NPM_PATH%\npmrc
8+
(ECHO prefix = %BEARSAMPP_NODEJS_PATH%) > "%BEARSAMPP_NODEJS_CONFIG_PATH%"
9+
10+
"%BEARSAMPP_NODEJS_PATH%\nodevars.bat" & "%BEARSAMPP_NODEJS_PATH%\npm" config set globalconfig "%BEARSAMPP_NODEJS_CONFIG_PATH%" --global
11+
12+
ENDLOCAL

bin/nodejs22.21.1/bearsampp.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
nodejsVersion = "22.21.1"
2+
nodejsExe = "node.exe"
3+
nodejsVars = "nodevars.bat"
4+
nodejsNpm = "npm.cmd"
5+
nodejsLaunch = "launch.bat"
6+
nodejsConf = "node_modules/npm/npmrc"
7+
8+
bundleRelease = "@RELEASE_VERSION@"

bin/nodejs22.21.1/etc/npmrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache
2+
globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.21.1\etc\npmrc
3+
init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.21.1\etc\.npm-init.js
4+
userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.21.1\etc\npmrc

bin/nodejs22.21.1/etc/npmrc.ber

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache
2+
globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.21.1\etc\npmrc
3+
init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.21.1\etc\.npm-init.js
4+
userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.21.1\etc\npmrc

bin/nodejs22.21.1/launch.bat

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@ECHO OFF
2+
SETLOCAL EnableDelayedExpansion
3+
4+
SET BEARSAMPP_NODEJS_PATH=%~dp0
5+
SET BEARSAMPP_NODEJS_PATH=!BEARSAMPP_NODEJS_PATH:~0,-1!
6+
SET BEARSAMPP_NODEJS_NPM_PATH=%BEARSAMPP_NODEJS_PATH%\node_modules\npm
7+
SET BEARSAMPP_NODEJS_CONFIG_PATH=%BEARSAMPP_NODEJS_NPM_PATH%\npmrc
8+
ECHO prefix = %BEARSAMPP_NODEJS_PATH%>%BEARSAMPP_NODEJS_CONFIG_PATH%
9+
10+
"%BEARSAMPP_NODEJS_PATH%\nodevars.bat" & "%BEARSAMPP_NODEJS_PATH%\npm" config set globalconfig "%BEARSAMPP_NODEJS_CONFIG_PATH%" --global
11+
12+
ENDLOCAL

bin/nodejs24.11.1/bearsampp.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
nodejsVersion = "24.11.1"
2+
nodejsExe = "node.exe"
3+
nodejsVars = "nodevars.bat"
4+
nodejsNpm = "npm.cmd"
5+
nodejsLaunch = "launch.bat"
6+
nodejsConf = "node_modules/npm/npmrc"
7+
8+
bundleRelease = "@RELEASE_VERSION@"

bin/nodejs24.11.1/etc/npmrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cache = ~BEARSAMPP_WIN_PATH~\tmp\npm-cache
2+
globalconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs24.11.1\etc\npmrc
3+
init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs24.11.1\etc\.npm-init.js
4+
userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs24.11.1\etc\npmrc

0 commit comments

Comments
 (0)