react-router-hono-server 4.1.1 → 4.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/package.json +16 -6
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# React Router Hono Server
|
|
2
2
|
|
|
3
|
+
[](https://github.com/rphlmr/react-router-hono-server/actions/workflows/nightly.yaml)
|
|
4
|
+
|
|
3
5
|
Run a React Router framework-mode application on Hono—without giving up the runtime you want.
|
|
4
6
|
|
|
5
7
|
`react-router-hono-server` provides a Vite plugin and production adapters for Node.js, Bun, Deno, Cloudflare Workers, and AWS Lambda.
|
|
@@ -290,8 +292,8 @@ export default await createHonoServer();
|
|
|
290
292
|
```json
|
|
291
293
|
{
|
|
292
294
|
"scripts": {
|
|
293
|
-
"build": "
|
|
294
|
-
"dev": "
|
|
295
|
+
"build": "bun x --bun react-router build",
|
|
296
|
+
"dev": "bun x --bun vite",
|
|
295
297
|
"start": "bun ./build/server/index.js",
|
|
296
298
|
"typecheck": "react-router typegen && tsc --noEmit"
|
|
297
299
|
}
|
|
@@ -311,8 +313,8 @@ bun run start
|
|
|
311
313
|
|
|
312
314
|
#### Bun runtime notes
|
|
313
315
|
|
|
314
|
-
- `
|
|
315
|
-
- `
|
|
316
|
+
- `bun x --bun react-router build` runs React Router and prerendering under Bun instead of following the CLI's Node.js shebang.
|
|
317
|
+
- `bun x --bun vite` forces Vite and its child processes to run with Bun.
|
|
316
318
|
- React Router automatically uses its Web Streams server entry.
|
|
317
319
|
- `customBunServer` forwards options to `Bun.serve`.
|
|
318
320
|
- Graceful shutdown, static-file customization, and WebSockets are supported.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-router-hono-server",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "The Vite plugin you need to create a Hono server for your React Router app in less than 10 seconds.",
|
|
5
5
|
"homepage": "https://github.com/rphlmr/react-router-hono-server#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -90,21 +90,21 @@
|
|
|
90
90
|
"@arethetypeswrong/cli": "0.18.5",
|
|
91
91
|
"@changesets/changelog-github": "1.0.0",
|
|
92
92
|
"@changesets/cli": "3.0.1",
|
|
93
|
-
"@cloudflare/workers-types": "5.
|
|
93
|
+
"@cloudflare/workers-types": "5.20260826.1",
|
|
94
94
|
"@playwright/test": "1.62.1",
|
|
95
|
-
"@types/bun": "1.
|
|
95
|
+
"@types/bun": "1.4.0",
|
|
96
96
|
"@types/deno": "2.7.0",
|
|
97
97
|
"@types/node": "24.13.3",
|
|
98
|
-
"@types/react-dom": "19.2.
|
|
98
|
+
"@types/react-dom": "19.2.5",
|
|
99
99
|
"@types/ws": "8.18.1",
|
|
100
100
|
"@vitest/coverage-v8": "4.1.11",
|
|
101
|
-
"hono": "4.13.
|
|
101
|
+
"hono": "4.13.5",
|
|
102
102
|
"npm-run-all": "4.1.5",
|
|
103
103
|
"publint": "0.3.24",
|
|
104
104
|
"react": "19.2.8",
|
|
105
105
|
"react-dom": "19.2.8",
|
|
106
106
|
"typescript": "6.0.3",
|
|
107
|
-
"vite-plus": "0.
|
|
107
|
+
"vite-plus": "0.3.0",
|
|
108
108
|
"ws": "8.21.3"
|
|
109
109
|
},
|
|
110
110
|
"peerDependencies": {
|
|
@@ -143,11 +143,21 @@
|
|
|
143
143
|
"release": "changeset publish",
|
|
144
144
|
"test": "vp test run",
|
|
145
145
|
"test:aws": "pnpm test:prepare && vp test run --project runtime tests/integration/aws",
|
|
146
|
+
"test:aws:nightly": "RRHS_LATEST_COMPATIBLE=1 vp run test:aws",
|
|
147
|
+
"test:aws:nightly:docker": "docker build --file tests/nightly/aws/Dockerfile --tag react-router-hono-server-nightly-aws tests/nightly && docker run --rm --network=host --mount \"type=bind,source=$PWD,target=/source,readonly\" react-router-hono-server-nightly-aws",
|
|
146
148
|
"test:bun": "pnpm test:prepare && vp test run --project runtime tests/integration/bun --no-file-parallelism",
|
|
149
|
+
"test:bun:nightly": "RRHS_LATEST_COMPATIBLE=1 vp run test:bun",
|
|
150
|
+
"test:bun:nightly:docker": "docker build --file tests/nightly/bun/Dockerfile --tag react-router-hono-server-nightly-bun tests/nightly && docker run --rm --ipc=host --network=host --mount \"type=bind,source=$PWD,target=/source,readonly\" react-router-hono-server-nightly-bun",
|
|
147
151
|
"test:cloudflare": "pnpm test:prepare && vp test run --project runtime tests/integration/cloudflare",
|
|
152
|
+
"test:cloudflare:nightly": "RRHS_LATEST_COMPATIBLE=1 vp run test:cloudflare",
|
|
153
|
+
"test:cloudflare:nightly:docker": "docker build --file tests/nightly/cloudflare/Dockerfile --tag react-router-hono-server-nightly-cloudflare tests/nightly && docker run --rm --ipc=host --network=host --mount \"type=bind,source=$PWD,target=/source,readonly\" react-router-hono-server-nightly-cloudflare",
|
|
148
154
|
"test:cov": "vp test run --coverage",
|
|
149
155
|
"test:deno": "pnpm test:prepare && vp test run --project runtime tests/integration/deno",
|
|
156
|
+
"test:deno:nightly": "RRHS_LATEST_COMPATIBLE=1 vp run test:deno",
|
|
157
|
+
"test:deno:nightly:docker": "docker build --file tests/nightly/deno/Dockerfile --tag react-router-hono-server-nightly-deno tests/nightly && docker run --rm --ipc=host --network=host --mount \"type=bind,source=$PWD,target=/source,readonly\" react-router-hono-server-nightly-deno",
|
|
150
158
|
"test:node": "pnpm test:prepare && vp test run --project runtime tests/integration/node",
|
|
159
|
+
"test:node:nightly": "RRHS_LATEST_COMPATIBLE=1 vp run test:node",
|
|
160
|
+
"test:node:nightly:docker": "docker build --file tests/nightly/node/Dockerfile --tag react-router-hono-server-nightly-node tests/nightly && docker run --rm --ipc=host --network=host --mount \"type=bind,source=$PWD,target=/source,readonly\" react-router-hono-server-nightly-node",
|
|
151
161
|
"test:package": "pnpm test:prepare && pnpm test:package:prepared && vp test run --project package",
|
|
152
162
|
"test:package:prepared": "publint out/test-artifacts/*.tgz && attw out/test-artifacts/*.tgz --profile esm-only",
|
|
153
163
|
"test:prepare": "node tests/prepare.ts",
|