Comparing version 1.0.0-alpha.2 to 1.0.0-alpha.3
{ | ||
"name": "bun-vercel", | ||
"version": "1.0.0-alpha.2", | ||
"version": "1.0.0-alpha.3", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -11,5 +11,28 @@ # bun-vercel | ||
1. Install the Vercel CLI and run `vercel link` | ||
2. Install [OrbStack](https://orbstack.dev) or [Docker Desktop](https://www.docker.com/products/docker-desktop/) | ||
3. Run `make build` which builds a Lambda executable on docker | ||
4. Run `vercel deploy --prebuilt` | ||
#### 1. Update your package.json with `bun-vercel`: | ||
```json | ||
{ | ||
"devDependencies": { | ||
"bun-vercel": "^1.0.0-alpha.3", | ||
} | ||
} | ||
``` | ||
#### 2. Update the `build` script run bun-vercel: | ||
```json | ||
{ | ||
"scripts": { | ||
"build": "bun-vercel ./src/main.ts" | ||
} | ||
} | ||
``` | ||
#### 3. Add a `vercel.json` with your build command: | ||
```json | ||
{ | ||
"buildCommand": "bun run build" | ||
} | ||
``` |
38
15582
10
446