Skip to content

Commit

Permalink
ADD bun
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Feb 3, 2024
1 parent 8ac7278 commit 31870f5
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions bun@canary.json
@@ -0,0 +1,45 @@
{
"version": "1.1.0-canary.130+3a6318b67",
"description": "Incredibly fast JavaScript runtime, bundler, transpiler and package manager - all in one.",
"homepage": "https://bun.sh/",
"license": "MIT",
"suggest": {
"vcredist": "extras/vcredist2022"
},
"architecture": {
"64bit": {
"url": "https://github.com/oven-sh/bun/releases/download/canary/bun-windows-x64.zip",
"hash": "79f298b527ba1dd202ea97c39fd5700b87f250b34a569582577c537c77514079"
}
},
"extract_dir": "bun-windows-x64",
"bin": [
"bun.exe",
[
"bun.exe",
"bunx",
"x"
]
],
"checkver": {
"script": [
"$dl_url = 'https://github.com/oven-sh/bun/releases/download/canary/bun-windows-x64.zip'",
"$dl = cache_path 'bun-canary' 'unknown' $dl_url",
"$dl_dir = strip_ext $dl",
"Invoke-WebRequest $dl_url -OutFile $dl",
"Expand-Archive $dl $dl_dir",
"$ver = & \"$dl_dir\\bun-windows-x64\\bun.exe\" --revision",
"Move-Item -Force $dl (cache_path 'bun-canary' $ver $dl_url)",
"Remove-Item $dl_dir -Recurse",
"$ver"
],
"regex": "(\\S+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/oven-sh/bun/releases/download/canary/bun-windows-x64.zip"
}
}
}
}

0 comments on commit 31870f5

Please sign in to comment.