@ngocsangairvds/vsaf 5.1.11 → 5.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/scripts/win-vm-prereqs.ps1 +0 -40
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngocsangairvds/vsaf",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.12",
|
|
4
4
|
"description": "logging step",
|
|
5
5
|
"main": "packages/core/dist/index.js",
|
|
6
6
|
"types": "packages/core/dist/index.d.ts",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"postinstall": "node scripts/postinstall.js",
|
|
34
34
|
"prepack": "node -e \"require('fs').copyFileSync('package.json','package.json.bak');const f='package.json',j=JSON.parse(require('fs').readFileSync(f));delete j.workspaces;require('fs').writeFileSync(f,JSON.stringify(j,null,2)+'\\n')\"",
|
|
35
35
|
"postpack": "node -e \"require('fs').renameSync('package.json.bak','package.json')\"",
|
|
36
|
-
"test": "bun test tests",
|
|
37
|
-
"test:watch": "bun test --watch tests",
|
|
36
|
+
"test": "bun test --timeout 60000 tests",
|
|
37
|
+
"test:watch": "bun test --timeout 60000 --watch tests",
|
|
38
38
|
"lint": "tsc --noEmit",
|
|
39
39
|
"prepublishOnly": "npm run build && npm test"
|
|
40
40
|
},
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# VSAF Windows VM - Prerequisites Only (NO VC++ to test auto-install)
|
|
2
|
-
# Run: PowerShell (Admin) - Set-ExecutionPolicy Bypass -Scope Process; .\win-vm-prereqs.ps1
|
|
3
|
-
|
|
4
|
-
Write-Host ""
|
|
5
|
-
Write-Host "=== VSAF Prerequisites Setup (no VC++) ===" -ForegroundColor Cyan
|
|
6
|
-
|
|
7
|
-
Write-Host ""
|
|
8
|
-
Write-Host "[1/4] Installing Git..." -ForegroundColor Yellow
|
|
9
|
-
winget install Git.Git --accept-package-agreements --accept-source-agreements -e
|
|
10
|
-
|
|
11
|
-
Write-Host ""
|
|
12
|
-
Write-Host "[2/4] Installing Node.js 22 LTS..." -ForegroundColor Yellow
|
|
13
|
-
winget install OpenJS.NodeJS.LTS --accept-package-agreements --accept-source-agreements -e
|
|
14
|
-
|
|
15
|
-
Write-Host ""
|
|
16
|
-
Write-Host "[3/4] Installing Python 3.12..." -ForegroundColor Yellow
|
|
17
|
-
winget install Python.Python.3.12 --accept-package-agreements --accept-source-agreements -e
|
|
18
|
-
|
|
19
|
-
Write-Host ""
|
|
20
|
-
Write-Host "[4/4] Installing GitHub CLI..." -ForegroundColor Yellow
|
|
21
|
-
winget install GitHub.cli --accept-package-agreements --accept-source-agreements -e
|
|
22
|
-
|
|
23
|
-
# Refresh PATH
|
|
24
|
-
$env:PATH = [System.Environment]::GetEnvironmentVariable("PATH","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("PATH","User")
|
|
25
|
-
|
|
26
|
-
Write-Host ""
|
|
27
|
-
Write-Host "=== Verify ===" -ForegroundColor Cyan
|
|
28
|
-
git --version
|
|
29
|
-
node --version
|
|
30
|
-
npm --version
|
|
31
|
-
python --version
|
|
32
|
-
gh --version
|
|
33
|
-
|
|
34
|
-
Write-Host ""
|
|
35
|
-
Write-Host "=== VC++ NOT installed (intentional - for testing) ===" -ForegroundColor Yellow
|
|
36
|
-
Write-Host ""
|
|
37
|
-
Write-Host "Next: close this terminal, open new one, then:" -ForegroundColor Cyan
|
|
38
|
-
Write-Host " npm i -g @ngocsangairvds/vsaf"
|
|
39
|
-
Write-Host " vsaf doctor"
|
|
40
|
-
Write-Host ""
|