Skip to content

Commit 05cc1ec

Browse files
committed
Revert "chore: use Bun as package manager (#63)"
This reverts commit 172f367.
1 parent 71d6549 commit 05cc1ec

File tree

21 files changed

+15748
-2616
lines changed

21 files changed

+15748
-2616
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
defaults:
1313
run:
14-
working-directory: ./packages/hono-react-router-adapter
14+
working-directory: ./
1515
strategy:
1616
matrix:
1717
node: [20, 22]
@@ -20,20 +20,17 @@ jobs:
2020
- uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node }}
23-
- uses: oven-sh/setup-bun@v2
24-
with:
25-
bun-version: '1.2.5'
26-
- run: bun install
27-
- run: bunx playwright install --with-deps
28-
- run: bun run build
29-
- run: bun run test:e2e:vite
23+
- run: npm install
24+
- run: npx playwright install --with-deps
25+
- run: npm run build
26+
- run: npm run test:e2e:vite
3027

3128
cloudflare-pages:
3229
name: 'Cloudflare Pages'
3330
runs-on: ubuntu-latest
3431
defaults:
3532
run:
36-
working-directory: ./packages/hono-react-router-adapter
33+
working-directory: ./
3734
strategy:
3835
matrix:
3936
node: [20, 22]
@@ -42,20 +39,17 @@ jobs:
4239
- uses: actions/setup-node@v4
4340
with:
4441
node-version: ${{ matrix.node }}
45-
- uses: oven-sh/setup-bun@v2
46-
with:
47-
bun-version: '1.2.5'
48-
- run: bun install
49-
- run: bunx playwright install --with-deps
50-
- run: bun run build
51-
- run: bun run test:e2e:cloudflare-pages
42+
- run: npm install
43+
- run: npx playwright install --with-deps
44+
- run: npm run build
45+
- run: npm run test:e2e:cloudflare-pages
5246

5347
cloudflare-workers:
5448
name: 'Cloudflare Workers'
5549
runs-on: ubuntu-latest
5650
defaults:
5751
run:
58-
working-directory: ./packages/hono-react-router-adapter
52+
working-directory: ./
5953
strategy:
6054
matrix:
6155
node: [20, 22]
@@ -64,20 +58,17 @@ jobs:
6458
- uses: actions/setup-node@v4
6559
with:
6660
node-version: ${{ matrix.node }}
67-
- uses: oven-sh/setup-bun@v2
68-
with:
69-
bun-version: '1.2.5'
70-
- run: bun install
71-
- run: bunx playwright install --with-deps
72-
- run: bun run build
73-
- run: bun run test:e2e:cloudflare-workers
61+
- run: npm install
62+
- run: npx playwright install --with-deps
63+
- run: npm run build
64+
- run: npm run test:e2e:cloudflare-workers
7465

7566
node:
7667
name: 'Node.js'
7768
runs-on: ubuntu-latest
7869
defaults:
7970
run:
80-
working-directory: ./packages/hono-react-router-adapter
71+
working-directory: ./
8172
strategy:
8273
matrix:
8374
node: [20, 22]
@@ -86,10 +77,7 @@ jobs:
8677
- uses: actions/setup-node@v4
8778
with:
8879
node-version: ${{ matrix.node }}
89-
- uses: oven-sh/setup-bun@v2
90-
with:
91-
bun-version: '1.2.5'
92-
- run: bun install
93-
- run: bunx playwright install --with-deps
94-
- run: bun run build
95-
- run: bun run test:e2e:node
80+
- run: npm install
81+
- run: npx playwright install --with-deps
82+
- run: npm run build
83+
- run: npm run test:e2e:node

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ node_modules
44
*.tgz
55
dist
66
.DS_Store
7-
package-lock.json

bun.lock

Lines changed: 0 additions & 2495 deletions
This file was deleted.

examples/cloudflare-pages/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"@react-router/cloudflare": "^7.0.1",
1919
"@react-router/fs-routes": "^7.0.1",
2020
"hono": "^4.5.11",
21-
"hono-react-router-adapter": "workspace:*",
2221
"isbot": "^4.1.0",
2322
"react": "^18.3.1",
2423
"react-dom": "^18.3.1",

examples/cloudflare-workers/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"@react-router/cloudflare": "^7.0.1",
1919
"@react-router/fs-routes": "^7.0.1",
2020
"hono": "^4.6.9",
21-
"hono-react-router-adapter": "workspace:*",
2221
"isbot": "^4.1.0",
2322
"react": "^18.2.0",
2423
"react-dom": "^18.2.0",

examples/node/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"@react-router/node": "^7.0.1",
2020
"@react-router/serve": "^7.0.0",
2121
"hono": "^4.6.11",
22-
"hono-react-router-adapter": "workspace:*",
2322
"isbot": "^4.1.0",
2423
"react": "^18.2.0",
2524
"react-dom": "^18.2.0",
@@ -40,4 +39,4 @@
4039
"engines": {
4140
"node": ">=20.0.0"
4241
}
43-
}
42+
}

0 commit comments

Comments
 (0)