Skip to content

Commit 0aae2e7

Browse files
nearestnaborsclaude
andcommitted
Merge setup/bun-migration: migrate from pnpm to Bun
- Replace pnpm with Bun as package manager - Add bun.lock, remove pnpm-lock.yaml - Apply lint fixes to non-conflicting files - Keep main's feature changes for conflicting files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2 parents ac97714 + c3d4728 commit 0aae2e7

14 files changed

Lines changed: 842 additions & 2447 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,19 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v4
1717

18-
- name: Setup pnpm
19-
uses: pnpm/action-setup@v4
18+
- name: Setup Bun
19+
uses: oven-sh/setup-bun@v2
2020
with:
21-
version: 10
22-
23-
- name: Setup Node.js
24-
uses: actions/setup-node@v4
25-
with:
26-
node-version: "20"
27-
cache: "pnpm"
21+
bun-version: latest
2822

2923
- name: Install dependencies
30-
run: pnpm install --frozen-lockfile
24+
run: bun install --frozen-lockfile
3125

3226
- name: Type check
33-
run: pnpm typecheck
27+
run: bun typecheck
3428

3529
- name: Lint check
36-
run: pnpm check
30+
run: bun check
3731

3832
- name: Build
39-
run: pnpm build
33+
run: bun run build

bun.lock

Lines changed: 494 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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dev": "tsx watch src/index.ts",
1414
"build:ui": "rm -rf dist/ui && mkdir -p dist/ui && VITE_INPUT=auth-button.html vite build && VITE_INPUT=tweet-preview.html vite build && VITE_INPUT=conversation-list.html vite build",
1515
"build:server": "tsc",
16-
"build": "pnpm run build:ui && pnpm run build:server",
16+
"build": "bun run build:ui && bun run build:server",
1717
"start": "node dist/index.js",
1818
"typecheck": "tsc --noEmit",
1919
"check": "biome check .",
@@ -37,7 +37,8 @@
3737
"vite-plugin-singlefile": "^2.0.3"
3838
},
3939
"engines": {
40-
"node": ">=20.0.0"
40+
"node": ">=20.0.0",
41+
"bun": ">=1.0.0"
4142
},
4243
"keywords": [
4344
"mcp",

0 commit comments

Comments
 (0)