diff --git a/features/bun/README.md b/features/bun/README.md new file mode 100644 index 0000000..7c879a3 --- /dev/null +++ b/features/bun/README.md @@ -0,0 +1,21 @@ +# Bun + +Installs needed dependencies for Rails apps using Bun. + +## Example Usage + +```json +"features": { + "ghcr.io/rails/devcontainer/features/bun": {} +} +``` + +## Options + +## Customizations + +## OS Support + +This Feature should work on recent versions of Debian/Ubuntu-based distributions with `curl` installed. + +`bash` is required to execute the `install.sh` script. diff --git a/features/bun/devcontainer-feature.json b/features/bun/devcontainer-feature.json new file mode 100644 index 0000000..7530c50 --- /dev/null +++ b/features/bun/devcontainer-feature.json @@ -0,0 +1,6 @@ +{ + "id": "bun", + "version": "1.0.0", + "name": "Bun", + "description": "Installs needed client-side dependencies for Rails apps using Bun" +} diff --git a/features/bun/install.sh b/features/bun/install.sh new file mode 100755 index 0000000..e3765d5 --- /dev/null +++ b/features/bun/install.sh @@ -0,0 +1,4 @@ +#!/bin/sh +set -e + +curl -fsSL https://bun.sh/install | bash