react-router-hono-server 3.0.0 → 4.0.1
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 +569 -977
- package/dist/adapters/aws-lambda.d.ts +2 -3
- package/dist/adapters/aws-lambda.js +5 -3
- package/dist/adapters/bun.d.ts +1 -2
- package/dist/adapters/bun.js +26 -22
- package/dist/adapters/cloudflare.d.ts +8 -4
- package/dist/adapters/cloudflare.js +19 -13
- package/dist/adapters/deno.d.ts +4 -3
- package/dist/adapters/deno.js +34 -18
- package/dist/adapters/node.d.ts +15 -3
- package/dist/adapters/node.js +21 -17
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +24 -20
- package/dist/dev.d.ts +1 -13
- package/dist/dev.js +75 -61
- package/dist/{helpers-DpeZU9Bf.js → helpers-D9Y2AQRk.js} +60 -11
- package/dist/{helpers-CvvzWAWX.d.ts → helpers-VHYCCAPs.d.ts} +13 -25
- package/dist/http.d.ts +0 -1
- package/dist/http.js +2 -2
- package/dist/react-router-build-request-_jlIVza5.js +7 -0
- package/dist/vite-public-path-Aqd7hZ0d.js +59 -0
- package/package.json +80 -59
package/package.json
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-router-hono-server",
|
|
3
|
-
"version": "
|
|
4
|
-
"type": "module",
|
|
3
|
+
"version": "4.0.1",
|
|
5
4
|
"description": "The Vite plugin you need to create a Hono server for your React Router app in less than 10 seconds.",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
"
|
|
5
|
+
"homepage": "https://github.com/rphlmr/react-router-hono-server#readme",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/rphlmr/react-router-hono-server/issues"
|
|
9
8
|
},
|
|
9
|
+
"license": "ISC",
|
|
10
|
+
"author": "",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/rphlmr/react-router-hono-server.git"
|
|
14
|
+
},
|
|
15
|
+
"bin": {
|
|
16
|
+
"react-router-hono-server": "dist/cli.js"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"type": "module",
|
|
10
22
|
"exports": {
|
|
11
23
|
"./node": {
|
|
12
24
|
"import": {
|
|
@@ -65,57 +77,53 @@
|
|
|
65
77
|
}
|
|
66
78
|
}
|
|
67
79
|
},
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"type": "git",
|
|
72
|
-
"url": "git+https://github.com/rphlmr/react-router-hono-server.git"
|
|
73
|
-
},
|
|
74
|
-
"bugs": {
|
|
75
|
-
"url": "https://github.com/rphlmr/react-router-hono-server/issues"
|
|
76
|
-
},
|
|
77
|
-
"bin": {
|
|
78
|
-
"react-router-hono-server": "dist/cli.js"
|
|
80
|
+
"publishConfig": {
|
|
81
|
+
"access": "public",
|
|
82
|
+
"provenance": true
|
|
79
83
|
},
|
|
80
|
-
"files": [
|
|
81
|
-
"dist"
|
|
82
|
-
],
|
|
83
|
-
"homepage": "https://github.com/rphlmr/react-router-hono-server#readme",
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"@drizzle-team/brocli": "0.12.0",
|
|
86
|
-
"@hono/node-server": "2.
|
|
87
|
-
"@hono/
|
|
88
|
-
"@hono/vite-dev-server": "0.26.0"
|
|
86
|
+
"@hono/node-server": "2.1.1",
|
|
87
|
+
"@hono/vite-dev-server": "0.26.1"
|
|
89
88
|
},
|
|
90
89
|
"devDependencies": {
|
|
91
|
-
"@
|
|
92
|
-
"@changesets/changelog-github": "
|
|
93
|
-
"@changesets/cli": "
|
|
94
|
-
"@cloudflare/workers-types": "
|
|
95
|
-
"@
|
|
96
|
-
"@types/
|
|
97
|
-
"@types/
|
|
98
|
-
"@
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
90
|
+
"@arethetypeswrong/cli": "0.18.5",
|
|
91
|
+
"@changesets/changelog-github": "1.0.0",
|
|
92
|
+
"@changesets/cli": "3.0.0",
|
|
93
|
+
"@cloudflare/workers-types": "5.20260814.1",
|
|
94
|
+
"@playwright/test": "1.62.1",
|
|
95
|
+
"@types/bun": "1.3.14",
|
|
96
|
+
"@types/deno": "2.7.0",
|
|
97
|
+
"@types/node": "24.13.3",
|
|
98
|
+
"@types/react-dom": "19.2.4",
|
|
99
|
+
"@types/ws": "8.18.1",
|
|
100
|
+
"@vitest/coverage-v8": "4.1.10",
|
|
101
|
+
"hono": "4.13.2",
|
|
102
|
+
"npm-run-all": "4.1.5",
|
|
103
|
+
"publint": "0.3.23",
|
|
104
|
+
"react": "19.2.8",
|
|
105
|
+
"react-dom": "19.2.8",
|
|
106
|
+
"typescript": "6.0.3",
|
|
107
|
+
"vite-plus": "0.2.9",
|
|
108
|
+
"ws": "8.21.3"
|
|
104
109
|
},
|
|
105
110
|
"peerDependencies": {
|
|
106
|
-
"@cloudflare/workers-types": "^
|
|
107
|
-
"@
|
|
108
|
-
"@react-router/dev": "^8.0.1",
|
|
111
|
+
"@cloudflare/workers-types": "^5.20260814.1",
|
|
112
|
+
"@react-router/dev": "^8.3.0",
|
|
109
113
|
"@types/react": "^19.2.17",
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
114
|
+
"@types/ws": "^8.18.1",
|
|
115
|
+
"hono": "^4.13.2",
|
|
116
|
+
"miniflare": "^4.20260730.0",
|
|
117
|
+
"react": "^19.2.8",
|
|
118
|
+
"react-dom": "^19.2.8",
|
|
119
|
+
"react-router": "^8.3.0",
|
|
120
|
+
"vite": ">=8.2.1",
|
|
121
|
+
"wrangler": "^4.123.0",
|
|
122
|
+
"ws": "^8.21.3"
|
|
115
123
|
},
|
|
116
124
|
"peerDependenciesMeta": {
|
|
117
|
-
"@
|
|
118
|
-
"optional":
|
|
125
|
+
"@types/ws": {
|
|
126
|
+
"optional": true
|
|
119
127
|
},
|
|
120
128
|
"@cloudflare/workers-types": {
|
|
121
129
|
"optional": true
|
|
@@ -123,28 +131,41 @@
|
|
|
123
131
|
"miniflare": {
|
|
124
132
|
"optional": true
|
|
125
133
|
},
|
|
134
|
+
"ws": {
|
|
135
|
+
"optional": true
|
|
136
|
+
},
|
|
126
137
|
"wrangler": {
|
|
127
138
|
"optional": true
|
|
128
139
|
}
|
|
129
140
|
},
|
|
130
141
|
"engines": {
|
|
131
|
-
"node": ">=24.
|
|
142
|
+
"node": ">=24.19.0"
|
|
132
143
|
},
|
|
133
144
|
"scripts": {
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"build": "tsdown",
|
|
145
|
+
"build": "vp pack",
|
|
146
|
+
"build:pack": "pnpm test:prepare",
|
|
137
147
|
"build:watch": "pnpm run build -- --watch",
|
|
138
|
-
"build:pack": "pnpm pack --pack-destination --out out/react-router-hono-server.tgz",
|
|
139
|
-
"check": "biome check .",
|
|
140
|
-
"check:fix": "biome check --fix .",
|
|
141
|
-
"typecheck": "tsc",
|
|
142
|
-
"validate": "pnpm run check && pnpm run typecheck",
|
|
143
|
-
"clear-all": "rm -rf node_modules pnpm-lock.yaml && find ./examples -type d -name 'node_modules' -exec rm -rf {} + && find ./examples -name 'pnpm-lock.yaml' -exec rm -f {} +",
|
|
144
148
|
"changeset": "changeset",
|
|
145
|
-
"version": "changeset version && biome format --write package.json",
|
|
146
|
-
"release": "changeset publish",
|
|
147
149
|
"changeset:next": "changeset pre enter next",
|
|
148
|
-
"changeset:next:exit": "changeset pre exit"
|
|
150
|
+
"changeset:next:exit": "changeset pre exit",
|
|
151
|
+
"check": "vp check",
|
|
152
|
+
"check:fix": "vp check --fix",
|
|
153
|
+
"clear-all": "rm -rf node_modules pnpm-lock.yaml",
|
|
154
|
+
"release": "changeset publish",
|
|
155
|
+
"test": "vp test run",
|
|
156
|
+
"test:aws": "pnpm test:prepare && vp test run --project runtime tests/integration/aws",
|
|
157
|
+
"test:bun": "pnpm test:prepare && vp test run --project runtime tests/integration/bun",
|
|
158
|
+
"test:cloudflare": "pnpm test:prepare && vp test run --project runtime tests/integration/cloudflare",
|
|
159
|
+
"test:cov": "vp test run --coverage",
|
|
160
|
+
"test:deno": "pnpm test:prepare && vp test run --project runtime tests/integration/deno",
|
|
161
|
+
"test:node": "pnpm test:prepare && vp test run --project runtime tests/integration/node",
|
|
162
|
+
"test:package": "pnpm test:prepare && pnpm test:package:prepared && vp test run --project package",
|
|
163
|
+
"test:package:prepared": "publint out/test-artifacts/*.tgz && attw out/test-artifacts/*.tgz --profile esm-only",
|
|
164
|
+
"test:prepare": "node tests/prepare.ts",
|
|
165
|
+
"test:suite": "pnpm test:prepare && pnpm test:package:prepared && vp test run",
|
|
166
|
+
"test:unit": "vp test run --project unit",
|
|
167
|
+
"typecheck": "tsc",
|
|
168
|
+
"validate": "vp check",
|
|
169
|
+
"version": "changeset version && vp fmt package.json CHANGELOG.md"
|
|
149
170
|
}
|
|
150
171
|
}
|