Skip to content

Commit

Permalink
Create a feature for Bun dependencies (#66)
Browse files Browse the repository at this point in the history
* Create a feature for Bun dependencies
  • Loading branch information
justdan6 authored Nov 22, 2024
1 parent 8152d58 commit ed91a46
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
21 changes: 21 additions & 0 deletions features/bun/README.md
Original file line number Diff line number Diff line change
@@ -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.
6 changes: 6 additions & 0 deletions features/bun/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"id": "bun",
"version": "1.0.0",
"name": "Bun",
"description": "Installs needed client-side dependencies for Rails apps using Bun"
}
4 changes: 4 additions & 0 deletions features/bun/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
set -e

curl -fsSL https://bun.sh/install | bash

0 comments on commit ed91a46

Please sign in to comment.