Skip to content

Commit

Permalink
Merge pull request #256 from amplifying-fsharp/bun-bun-bun-bun-bun-bun
Browse files Browse the repository at this point in the history
Go all in on Bun
  • Loading branch information
nojaf authored Apr 5, 2024
2 parents 5796e1c + 26cea7f commit 3132df0
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 17,013 deletions.
7 changes: 0 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,3 @@ updates:
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: npm
directory: "/"
schedule:
interval: "weekly"
time: "11:00"
open-pull-requests-limit: 10
11 changes: 4 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@ jobs:
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npm run lint
- run: npm run build
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run lint
- run: bun run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ jobs:
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npm run lint
- run: npm run build
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run lint
- run: bun run build
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ We have an [Open Collective](https://opencollective.com/amplifying-fsharp#catego

![Mickael Metesreau](https://www.gravatar.com/avatar/733ee99f3e519fec98ab11d2a517a13e?default=404&s=50) [Mickael Metesreau, Softcraft](https://opencollective.com/mmetesreau)

[Nicholas Hirschey](https://opencollective.com/nicholas-hirschey)

[Kuba](https://opencollective.com/guest-a58751ea)

#### Generate backers

Run `bun run backers.js` to generate the list of backers above.

### Blue hair

```shell
Expand All @@ -103,16 +111,16 @@ dotnet fsi blue-hair.fsx

### Requirements

You need Node.JS 20 LTS or equivalent (like Bun) to run this project.
You need [Bun](https://bun.sh/docs/installation) 1.1.1 to run this project.

### 🧞 Commands

All commands are run from the root of the project, from a terminal:

| Command | Action |
| :---------------- | :------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:3000` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run format` | Formats the code using prettier |
| `bun install` | Installs dependencies |
| `bun run dev` | Starts local dev server at `localhost:3000` |
| `bun run build` | Build your production site to `./dist/` |
| `bun run preview` | Preview your build locally, before deploying |
| `bun run format` | Formats the code using prettier |
Binary file modified bun.lockb
100755 → 100644
Binary file not shown.
Loading

0 comments on commit 3132df0

Please sign in to comment.