pkg(bun-1.1.20): Added bun 1.1.20

This commit is contained in:
Apteryx 2024-07-23 09:35:33 +12:00
parent 59338eee33
commit e58a42cc97
5 changed files with 37 additions and 0 deletions

10
packages/bun/1.1.20/build.sh vendored Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
curl -L "https://github.com/oven-sh/bun/releases/download/bun-v1.1.20/bun-linux-x64.zip" -o bun.zip
unzip bun.zip
rm bun.zip
cp -r bun-linux-x64/* .
rm -rf bun-linux-x64
chmod +x bun

3
packages/bun/1.1.20/environment vendored Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
export PATH=$PWD:$PATH

20
packages/bun/1.1.20/metadata.json vendored Normal file
View File

@ -0,0 +1,20 @@
{
"language": "bun",
"version": "1.1.20",
"dependencies": {},
"provides": [
{
"language": "typescript",
"aliases": [
"bun",
"bun-ts"
]
},
{
"language": "javascript",
"aliases": [
"bun-js"
]
}
]
}

3
packages/bun/1.1.20/run vendored Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
bun "$@"

1
packages/bun/1.1.20/test.bun.ts vendored Normal file
View File

@ -0,0 +1 @@
console.log("OK")