Skip to content

Commit

Permalink
docs: add instructions for bun (#1672)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks authored Sep 7, 2023
1 parent 62584ab commit 70ebac1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/content/1.guide/0.getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ npx giget@latest nitro nitro-app
pnpm dlx giget@latest nitro nitro-app
```

```bash [bun]
bunx giget@latest nitro nitro-app
```

::

```sh
Expand All @@ -56,6 +60,10 @@ yarn install
pnpm install
```

```bash [bun]
bun install
```

::


Expand Down Expand Up @@ -115,6 +123,4 @@ You can opt-in to the edge release channel by updating your `package.json`:
If you are using Nuxt, [use the Nuxt edge channel](https://nuxt.com/docs/guide/going-further/edge-channel#opting-into-the-edge-channel) as it already includes `nitropack-edge`.
::

Remove any lockfile (`package-lock.json`, `yarn.lock`, or `pnpm-lock.yaml`) and reinstall the dependencies.


Remove the lockfile (`package-lock.json`, `yarn.lock`, `pnpm-lock.yaml`, or `bun.lockb`) and reinstall the dependencies.
3 changes: 3 additions & 0 deletions docs/content/2.deploy/providers/firebase.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ yarn add --dev firebase-admin firebase-functions firebase-functions-test
```bash [pnpm]
pnpm install -D firebase-admin firebase-functions firebase-functions-test
```
```bash [bun]
bun add -D firebase-admin firebase-functions firebase-functions-test
```
::

#### 3. Log Into the Firebase CLI
Expand Down

0 comments on commit 70ebac1

Please sign in to comment.