Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit e331079

Browse files
committed
fix: make @hono/zod-openapi & zod required (#1101)
1 parent 94014d7 commit e331079

File tree

3 files changed

+57
-29
lines changed

3 files changed

+57
-29
lines changed

packages/core/package.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@
151151
"invariant": "^2.2.4",
152152
"on-change": "^5.0.1",
153153
"p-retry": "^6.2.1",
154-
"zod": "^3.25.76"
154+
"zod": "^3.25.76",
155+
"@hono/zod-openapi": "^0.19.10",
156+
"hono": "^4.7.0"
155157
},
156158
"devDependencies": {
157159
"@hono/node-server": "^1.14.0",
@@ -167,9 +169,7 @@
167169
"tsx": "^4.19.4",
168170
"typescript": "^5.7.3",
169171
"vitest": "^3.1.1",
170-
"ws": "^8.18.1",
171-
"@hono/zod-openapi": "^0.19.10",
172-
"hono": "^4.7.0"
172+
"ws": "^8.18.1"
173173
},
174174
"peerDependencies": {
175175
"@hono/node-server": "^1.14.0",
@@ -184,15 +184,9 @@
184184
"@hono/node-ws": {
185185
"optional": true
186186
},
187-
"@hono/zod-openapi": {
188-
"optional": true
189-
},
190187
"eventsource": {
191188
"optional": true
192189
},
193-
"hono": {
194-
"optional": true
195-
},
196190
"ws": {
197191
"optional": true
198192
}

packages/drivers/cloudflare-workers/package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,20 @@
3434
"check-types": "tsc --noEmit",
3535
"test": "vitest run tests"
3636
},
37-
"peerDependencies": {
38-
"@rivetkit/core": "*",
39-
"hono": "4.8.3"
40-
},
4137
"devDependencies": {
4238
"@cloudflare/workers-types": "^4.20250129.0",
43-
"@rivetkit/core": "workspace:*",
4439
"@types/invariant": "^2",
4540
"@types/node": "^24.0.3",
46-
"hono": "4.8.3",
4741
"tsup": "^8.4.0",
4842
"typescript": "^5.5.2",
4943
"vitest": "^3.1.1",
5044
"wrangler": "^4.22.0"
5145
},
5246
"dependencies": {
5347
"invariant": "^2.2.4",
54-
"zod": "^3.25.76"
48+
"zod": "^3.25.76",
49+
"hono": "4.8.3",
50+
"@rivetkit/core": "*"
5551
},
5652
"stableVersion": "0.8.0"
5753
}

pnpm-lock.yaml

Lines changed: 50 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)