Skip to content

Commit 524a027

Browse files
committed
chore: migrate package manager from pnpm to bun
- add packageManager bun@1.3.5 to root and worker package.json - replace pnpm-lock.yaml with bun.lock (root + worker) - remove pnpm-workspace.yaml (bun blocks postinstall by default, matching previous ignoredBuiltDependencies behavior) - ci: switch deploy workflow to oven-sh/setup-bun - docs: simplify README install commands
1 parent 4c9abde commit 524a027

9 files changed

Lines changed: 1968 additions & 9902 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,13 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23-
- uses: pnpm/action-setup@v4
23+
- uses: oven-sh/setup-bun@v2
2424
with:
25-
version: 10
25+
bun-version: 1.3.5
2626

27-
- uses: actions/setup-node@v4
28-
with:
29-
node-version: 22
30-
cache: pnpm
31-
32-
- run: pnpm install --frozen-lockfile
27+
- run: bun install --frozen-lockfile
3328

34-
- run: pnpm build
29+
- run: bun run build
3530
env:
3631
NEXT_TELEMETRY_DISABLED: "1"
3732
NEXT_PUBLIC_CONTACT_API_URL: ${{ vars.NEXT_PUBLIC_CONTACT_API_URL }}

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@ This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-
22

33
## Getting Started
44

5-
First, run the development server:
5+
First, install dependencies and run the development server:
66

77
```bash
8-
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
# or
8+
bun install
149
bun dev
1510
```
1611

bun.lock

Lines changed: 1574 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "web",
33
"version": "0.1.0",
44
"private": true,
5+
"packageManager": "bun@1.3.5",
56
"scripts": {
67
"dev": "next dev",
78
"build": "next build",

0 commit comments

Comments
 (0)