Skip to content

Commit

Permalink
feat: fix code style (#4)
Browse files Browse the repository at this point in the history
* add language for code blocks

* fix code style issues
  • Loading branch information
Morgy93 committed Apr 11, 2024
1 parent a32b8dc commit 0f47254
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 20 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: tests
on:
pull_request:
push:
branches: [ main ]
branches: [main]

schedule:
- cron: '25 08 * * *'
- cron: "25 08 * * *"

workflow_dispatch:
inputs:
Expand All @@ -15,9 +15,9 @@ on:
required: false
default: false

# This is required for "gautamkrishnar/keepalive-workflow"
# This is required for "gautamkrishnar/keepalive-workflow", see "ddev/github-action-add-on-test"
permissions:
contents: write
actions: write

jobs:
tests:
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: ddev/github-action-add-on-test@v1
- uses: ddev/github-action-add-on-test@v2
with:
ddev_version: ${{ matrix.ddev_version }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
29 changes: 18 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,47 @@
<img src="https://raw.githubusercontent.com/ddev/ddev/master/images/ddev-logo.svg" alt="DDEV logo" height="80">
</a>
<a href="https://bun.sh">
<img src="https://user-images.githubusercontent.com/709451/182802334-d9c42afe-f35d-4a7b-86ea-9985f73f20c3.png" alt="Bun Logo" height="80">
<img src="https://user-images.githubusercontent.com/709451/182802334-d9c42afe-f35d-4a7b-86ea-9985f73f20c3.png"
alt="Bun Logo"
height="80"
>
</a>
<h1 align="center">ddev-bun</h1>
</div>

[![tests](https://github.com/Morgy93/ddev-bun/actions/workflows/tests.yml/badge.svg)](https://github.com/Morgy93/ddev-bun/actions/workflows/tests.yml) ![project is maintained](https://img.shields.io/maintenance/yes/2024.svg)
[![tests](https://github.com/Morgy93/ddev-bun/actions/workflows/tests.yml/badge.svg)](https://github.com/Morgy93/ddev-bun/actions/workflows/tests.yml)
![project is maintained](https://img.shields.io/maintenance/yes/2024.svg)

## What is Bun?

> Bun is an all-in-one JavaScript runtime & toolkit designed for speed, complete with a bundler, test runner, and Node.js-compatible package manager.
> Bun is an all-in-one JavaScript runtime & toolkit designed for speed,
> complete with a bundler, test runner, and Node.js-compatible package manager.
For more information, see [What is Bun?](https://github.com/oven-sh/bun#what-is-bun) or visit <https://bun.sh/>.
For more information,
see [What is Bun?](https://github.com/oven-sh/bun#what-is-bun)
or visit <https://bun.sh/>.

YouTube: [Bun 1.0 is here](https://www.youtube.com/watch?v=BsnCpESUEqM)

## Installation

```
```shell
ddev get Morgy93/ddev-bun
ddev restart
```

## Usage

```
```shell
ddev bun
```

Please refer to the documentation at <https://bun.sh/docs>.

Quick links:

- [RUNTIME](https://bun.sh/docs/cli/run)
- [PACKAGE MANAGER](https://bun.sh/docs/cli/install)
- [BUNDLER](https://bun.sh/docs/bundler)
- [TEST RUNNER](https://bun.sh/docs/cli/test)
- [PACKAGE RUNNER](https://bun.sh/docs/cli/bunx)
- [RUNTIME](https://bun.sh/docs/cli/run)
- [PACKAGE MANAGER](https://bun.sh/docs/cli/install)
- [BUNDLER](https://bun.sh/docs/bundler)
- [TEST RUNNER](https://bun.sh/docs/cli/test)
- [PACKAGE RUNNER](https://bun.sh/docs/cli/bunx)
4 changes: 2 additions & 2 deletions install.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: bun

project_files:
- commands/web/bun
- web-build/Dockerfile.bun
- commands/web/bun
- web-build/Dockerfile.bun
1 change: 0 additions & 1 deletion tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ teardown() {
ddev restart >/dev/null
health_checks
}

2 changes: 1 addition & 1 deletion web-build/Dockerfile.bun
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#ddev-generated
RUN npm install -g bun
RUN npm install -g bun@latest

0 comments on commit 0f47254

Please sign in to comment.