@@ -19,7 +19,7 @@ defaults:
1919 shell : bash
2020
2121env :
22- VITE_PLUS_VERSION : latest
22+ VITE_PLUS_VERSION : alpha
2323
2424jobs :
2525 test-install-sh :
@@ -131,7 +131,7 @@ jobs:
131131 run : |
132132 docker run --rm --platform linux/arm64 \
133133 -v "${{ github.workspace }}:/workspace" \
134- -e VITE_PLUS_VERSION=latest \
134+ -e VITE_PLUS_VERSION=alpha \
135135 ubuntu:20.04 bash -c "
136136 ls -al ~/
137137 apt-get update && apt-get install -y curl ca-certificates
@@ -233,7 +233,7 @@ jobs:
233233 exit 1
234234 }
235235
236- $expectedShims = @("node.cmd ", "npm.cmd ", "npx.cmd ")
236+ $expectedShims = @("node.exe ", "npm.exe ", "npx.exe ")
237237 foreach ($shim in $expectedShims) {
238238 $shimFile = Join-Path $binPath $shim
239239 if (-not (Test-Path $shimFile)) {
@@ -300,7 +300,7 @@ jobs:
300300 exit 1
301301 }
302302
303- $expectedShims = @("node.cmd ", "npm.cmd ", "npx.cmd ")
303+ $expectedShims = @("node.exe ", "npm.exe ", "npx.exe ")
304304 foreach ($shim in $expectedShims) {
305305 $shimFile = Join-Path $binPath $shim
306306 if (-not (Test-Path $shimFile)) {
@@ -380,8 +380,8 @@ jobs:
380380 exit 1
381381 }
382382
383- # Verify shim executables exist (all use .cmd wrappers on Windows)
384- $expectedShims = @("node.cmd ", "npm.cmd ", "npx.cmd ")
383+ # Verify shim executables exist (trampoline .exe files on Windows)
384+ $expectedShims = @("node.exe ", "npm.exe ", "npx.exe ")
385385 foreach ($shim in $expectedShims) {
386386 $shimFile = Join-Path $binPath $shim
387387 if (-not (Test-Path $shimFile)) {
@@ -419,8 +419,8 @@ jobs:
419419 set "BIN_PATH=%USERPROFILE%\.vite-plus\bin"
420420 dir "%BIN_PATH%"
421421
422- REM Verify shim executables exist (Windows uses .cmd wrappers )
423- for %%s in (node.cmd npm.cmd npx.cmd vp.cmd ) do (
422+ REM Verify shim executables exist (Windows uses trampoline .exe files )
423+ for %%s in (node.exe npm.exe npx.exe vp.exe ) do (
424424 if not exist "%BIN_PATH%\%%s" (
425425 echo Error: Shim not found: %BIN_PATH%\%%s
426426 exit /b 1
@@ -462,22 +462,13 @@ jobs:
462462 exit 1
463463 fi
464464
465- # Verify .cmd wrappers exist (for cmd.exe/PowerShell)
466- for shim in node.cmd npm.cmd npx.cmd vp.cmd ; do
465+ # Verify trampoline .exe files exist
466+ for shim in node.exe npm.exe npx.exe vp.exe ; do
467467 if [ ! -f "$BIN_PATH/$shim" ]; then
468- echo "Error: .cmd wrapper not found: $BIN_PATH/$shim"
468+ echo "Error: Trampoline shim not found: $BIN_PATH/$shim"
469469 exit 1
470470 fi
471- echo "Found .cmd wrapper: $BIN_PATH/$shim"
472- done
473-
474- # Verify shell scripts exist (for Git Bash)
475- for shim in node npm npx vp; do
476- if [ ! -f "$BIN_PATH/$shim" ]; then
477- echo "Error: Shell script not found: $BIN_PATH/$shim"
478- exit 1
479- fi
480- echo "Found shell script: $BIN_PATH/$shim"
471+ echo "Found trampoline shim: $BIN_PATH/$shim"
481472 done
482473
483474 # Verify vp env doctor works
0 commit comments