@flowscripter/template-bun-executable 1.1.24 → 1.1.26

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/bun.lock CHANGED
@@ -11,7 +11,7 @@
11
11
  "@types/bun": "^1.2.8",
12
12
  },
13
13
  "peerDependencies": {
14
- "typescript": "^5.8.2",
14
+ "typescript": "^5.8.3",
15
15
  },
16
16
  },
17
17
  },
@@ -28,7 +28,7 @@
28
28
 
29
29
  "bun-types": ["bun-types@1.2.7", "", { "dependencies": { "@types/node": "*", "@types/ws": "*" } }, "sha512-P4hHhk7kjF99acXqKvltyuMQ2kf/rzIw3ylEDpCxDS9Xa0X0Yp/gJu/vDCucmWpiur5qJ0lwB2bWzOXa2GlHqA=="],
30
30
 
31
- "typescript": ["typescript@5.8.2", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ=="],
31
+ "typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
32
32
 
33
33
  "undici-types": ["undici-types@6.20.0", "", {}, "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="],
34
34
  }
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  ],
18
18
  "module": "index.ts",
19
19
  "type": "module",
20
- "version": "1.1.24",
20
+ "version": "1.1.26",
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
@@ -25,7 +25,7 @@
25
25
  "@types/bun": "^1.2.8"
26
26
  },
27
27
  "peerDependencies": {
28
- "typescript": "^5.8.2"
28
+ "typescript": "^5.8.3"
29
29
  },
30
30
  "dependencies": {
31
31
  "@flowscripter/template-bun-library": "1.0.19",
@@ -1,31 +0,0 @@
1
- # Set exit on error
2
- $ErrorActionPreference = "Stop"
3
-
4
- # URL of the ZIP file containing the executable
5
- $zipUrl = "https://github.com/flowscripter/template-bun-executable/releases/latest/download/template-bun-executable_Windows_x86_64.zip"
6
- $installDir = "$env:ProgramFiles\template-bun-executable"
7
-
8
- # Create a temporary directory to download the ZIP
9
- $tempDir = [System.IO.Path]::Combine($env:TEMP, "flowscripter_install")
10
- New-Item -ItemType Directory -Force -Path $tempDir
11
-
12
- # Download the ZIP file
13
- Write-Host "Downloading template-bun-executable..."
14
- Invoke-WebRequest -Uri $zipUrl -OutFile "$tempDir\executable.zip"
15
-
16
- # Extract the ZIP file
17
- Write-Host "Extracting the ZIP file..."
18
- Expand-Archive -Path "$tempDir\executable.zip" -DestinationPath $tempDir -Force
19
-
20
- # Install the executable
21
- Write-Host "Installing the executable..."
22
- Move-Item -Path "$tempDir\template-bun-executable.exe" -Destination $installDir -Force
23
-
24
- # Add the executable to the system PATH (for all users)
25
- $env:Path += ";$installDir"
26
- [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)
27
-
28
- # Clean up temporary files
29
- Remove-Item -Recurse -Force $tempDir
30
-
31
- Write-Host "✅ Installation complete! You can now run 'template-bun-executable' from any command prompt."