Skip to content

Commit aa0ffb2

Browse files
authored
Add Node.js versions 25.8.0, 24.14.0, and 22.22.1 with launch scripts and npmrc configuration (#34)
1 parent 3df8911 commit aa0ffb2

25 files changed

Lines changed: 97 additions & 1 deletion

File tree

bin/nodejs20.19.5/node_modules/npm/npmrc

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/nodejs20.19.5/node_modules/npm/npmrc.ber

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/nodejs22.21.1/node_modules/npm/npmrc

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/nodejs22.21.1/node_modules/npm/npmrc.ber

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/nodejs22.22.1/bearsampp.conf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
nodejsVersion = "22.22.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.22.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.22.1\etc\npmrc
3+
init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.22.1\etc\.npm-init.js
4+
userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.22.1\etc\npmrc

bin/nodejs22.22.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.22.1\etc\npmrc
3+
init-module = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.22.1\etc\.npm-init.js
4+
userconfig = ~BEARSAMPP_WIN_PATH~\bin\nodejs\nodejs22.22.1\etc\npmrc

bin/nodejs22.22.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/nodejs22.22.1/node_modules/npm/npmrc

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/nodejs22.22.1/node_modules/npm/npmrc.ber

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)