Update bun-framework-next for Next 12.2

This commit is contained in:
Jarred Sumner
2022-07-29 22:06:57 -07:00
parent b765619ad6
commit d61ef19ecf
2 changed files with 10 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
# bun-framework-next
This package lets you use Next.js 12 with bun. This readme assumes you already installed bun.
This package lets you use Next.js 12.2 with bun. This readme assumes you already installed bun.
To start a new project:
@@ -11,8 +11,9 @@ bun create next --open
To use Next.js 12 with an existing project:
```bash
npm install bun-framework-next
bun bun --use next
bun add bun-framework-next
echo "framework = 'next'" > bunfig.toml
bun bun
```
Launch the development server:
@@ -21,4 +22,4 @@ Launch the development server:
bun dev
```
Open http://localhost:3000 with your browser to see the result.
Open http://localhost:3000 with your browser to see the result.

View File

@@ -2,12 +2,16 @@
"name": "bun-framework-next",
"version": "12.2.3",
"main": "empty.js",
"repository": "https://github.com/oven-sh/bun",
"module": "empty.js",
"description": "bun compatibility layer for Next.js >= v12.2.3",
"homepage": "https://bun.sh",
"bugs": {
"url": "https://github.com/oven-sh/bun/issues"
},
"scripts": {
"check": "tsc --noEmit"
},
"author": "",
"license": "MIT",
"dependencies": {
"react-is": "^17.0.2"