react-router-hono-server 2.1.0 → 2.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 +4 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ It presets a default Hono server config that you can [customize](#options)
|
|
|
32
32
|
>
|
|
33
33
|
> Only works with **Vite**
|
|
34
34
|
>
|
|
35
|
-
> Only **Node**, **Bun** and **Cloudflare Workers** are
|
|
35
|
+
> Only **Node**, **Bun** and **Cloudflare Workers** are supported
|
|
36
36
|
|
|
37
37
|
> [!TIP]
|
|
38
38
|
> 👨🏫 There is some examples in the [examples](./examples) folder. I hope they will help you.
|
|
@@ -48,6 +48,9 @@ Install the following npm package.
|
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
50
|
npm install react-router-hono-server
|
|
51
|
+
|
|
52
|
+
# For Cloudflare Workers, add the following
|
|
53
|
+
npm install -D miniflare wrangler
|
|
51
54
|
```
|
|
52
55
|
|
|
53
56
|
> [!TIP]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-router-hono-server",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.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
|
"exports": {
|
|
6
6
|
"./node": {
|
|
@@ -73,13 +73,16 @@
|
|
|
73
73
|
"@hono/vite-dev-server": "^0.17.0",
|
|
74
74
|
"hono": "^4.6.11"
|
|
75
75
|
},
|
|
76
|
+
"optionalDependencies": {
|
|
77
|
+
"miniflare": "^3.20241106.1",
|
|
78
|
+
"wrangler": "^3.91.0"
|
|
79
|
+
},
|
|
76
80
|
"devDependencies": {
|
|
77
81
|
"@biomejs/biome": "^1.9.4",
|
|
78
82
|
"@types/bun": "^1.1.14",
|
|
79
83
|
"@types/node": "^22.9.3",
|
|
80
84
|
"@vitest/coverage-v8": "^2.1.5",
|
|
81
85
|
"lefthook": "^1.8.4",
|
|
82
|
-
"miniflare": "^3.20241106.1",
|
|
83
86
|
"npm-run-all": "^4.1.5",
|
|
84
87
|
"tsup": "^8.3.5",
|
|
85
88
|
"typescript": "^5.7.2",
|