From e58a42cc97b9711aa9aae31fdc0b24885afc722b Mon Sep 17 00:00:00 2001 From: Apteryx Date: Tue, 23 Jul 2024 09:35:33 +1200 Subject: [PATCH] pkg(bun-1.1.20): Added bun 1.1.20 --- packages/bun/1.1.20/build.sh | 10 ++++++++++ packages/bun/1.1.20/environment | 3 +++ packages/bun/1.1.20/metadata.json | 20 ++++++++++++++++++++ packages/bun/1.1.20/run | 3 +++ packages/bun/1.1.20/test.bun.ts | 1 + 5 files changed, 37 insertions(+) create mode 100644 packages/bun/1.1.20/build.sh create mode 100644 packages/bun/1.1.20/environment create mode 100644 packages/bun/1.1.20/metadata.json create mode 100644 packages/bun/1.1.20/run create mode 100644 packages/bun/1.1.20/test.bun.ts diff --git a/packages/bun/1.1.20/build.sh b/packages/bun/1.1.20/build.sh new file mode 100644 index 0000000..4529423 --- /dev/null +++ b/packages/bun/1.1.20/build.sh @@ -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 \ No newline at end of file diff --git a/packages/bun/1.1.20/environment b/packages/bun/1.1.20/environment new file mode 100644 index 0000000..d5a7803 --- /dev/null +++ b/packages/bun/1.1.20/environment @@ -0,0 +1,3 @@ +#!/bin/bash + +export PATH=$PWD:$PATH diff --git a/packages/bun/1.1.20/metadata.json b/packages/bun/1.1.20/metadata.json new file mode 100644 index 0000000..41a4f1a --- /dev/null +++ b/packages/bun/1.1.20/metadata.json @@ -0,0 +1,20 @@ +{ + "language": "bun", + "version": "1.1.20", + "dependencies": {}, + "provides": [ + { + "language": "typescript", + "aliases": [ + "bun", + "bun-ts" + ] + }, + { + "language": "javascript", + "aliases": [ + "bun-js" + ] + } + ] +} diff --git a/packages/bun/1.1.20/run b/packages/bun/1.1.20/run new file mode 100644 index 0000000..c68aaf6 --- /dev/null +++ b/packages/bun/1.1.20/run @@ -0,0 +1,3 @@ +#!/bin/bash + +bun "$@" diff --git a/packages/bun/1.1.20/test.bun.ts b/packages/bun/1.1.20/test.bun.ts new file mode 100644 index 0000000..0b555b7 --- /dev/null +++ b/packages/bun/1.1.20/test.bun.ts @@ -0,0 +1 @@ +console.log("OK")