Unverified Commit 3cd4b975 authored by Jake Boone's avatar Jake Boone Committed by GitHub

`create-next-app` templates: Change `bun run dev` commands to `bun dev` (#55603)

[As of Bun v1.0.0](https://bun.sh/blog/bun-v1.0#changelog-since-v0-8), `bun dev` runs the "dev" script from package.json. Therefore, as with Yarn and pnpm, the "run" command is not necessary.

This PR changes the `create-next-app` README templates to show `bun dev` instead of `bun run dev`.
parent 1afc3893
...@@ -7,7 +7,7 @@ This documentation explains how you can handle development, server-side, and cli ...@@ -7,7 +7,7 @@ This documentation explains how you can handle development, server-side, and cli
## Handling Errors in Development ## Handling Errors in Development
When there is a runtime error during the development phase of your Next.js application, you will encounter an **overlay**. It is a modal that covers the webpage. It is **only** visible when the development server runs using `next dev` via `pnpm dev`, `npm run dev`, `yarn dev`, or `bun run dev` and will not be shown in production. Fixing the error will automatically dismiss the overlay. When there is a runtime error during the development phase of your Next.js application, you will encounter an **overlay**. It is a modal that covers the webpage. It is **only** visible when the development server runs using `next dev` via `pnpm dev`, `npm run dev`, `yarn dev`, or `bun dev` and will not be shown in production. Fixing the error will automatically dismiss the overlay.
Here is an example of an overlay: Here is an example of an overlay:
......
...@@ -11,7 +11,7 @@ yarn dev ...@@ -11,7 +11,7 @@ yarn dev
# or # or
pnpm dev pnpm dev
# or # or
bun run dev bun dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
......
...@@ -11,7 +11,7 @@ yarn dev ...@@ -11,7 +11,7 @@ yarn dev
# or # or
pnpm dev pnpm dev
# or # or
bun run dev bun dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
......
...@@ -11,7 +11,7 @@ yarn dev ...@@ -11,7 +11,7 @@ yarn dev
# or # or
pnpm dev pnpm dev
# or # or
bun run dev bun dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
......
...@@ -11,7 +11,7 @@ yarn dev ...@@ -11,7 +11,7 @@ yarn dev
# or # or
pnpm dev pnpm dev
# or # or
bun run dev bun dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
......
...@@ -11,7 +11,7 @@ yarn dev ...@@ -11,7 +11,7 @@ yarn dev
# or # or
pnpm dev pnpm dev
# or # or
bun run dev bun dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
......
...@@ -11,7 +11,7 @@ yarn dev ...@@ -11,7 +11,7 @@ yarn dev
# or # or
pnpm dev pnpm dev
# or # or
bun run dev bun dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
......
...@@ -11,7 +11,7 @@ yarn dev ...@@ -11,7 +11,7 @@ yarn dev
# or # or
pnpm dev pnpm dev
# or # or
bun run dev bun dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
......
...@@ -11,7 +11,7 @@ yarn dev ...@@ -11,7 +11,7 @@ yarn dev
# or # or
pnpm dev pnpm dev
# or # or
bun run dev bun dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment