Skip to content

Commit b18f243

Browse files
chore(dev-deps): upgrade to hono v4 (#1092)
* chore(dev-deps): upgrade to hono v4 * chore(zod-openapi): build workspace dependencies * chore(trpc-server): ignore null body type
1 parent 9a536e6 commit b18f243

File tree

43 files changed

+16
-221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+16
-221
lines changed

.github/workflows/ci-zod-openapi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version: 20.x
2020
- run: yarn workspaces focus hono-middleware @hono/zod-openapi
21-
- run: yarn workspace @hono/zod-openapi build
21+
- run: yarn workspaces foreach --topological --recursive --from @hono/zod-openapi run build
2222
- run: yarn workspace @hono/zod-openapi publint
2323
- run: yarn eslint packages/zod-openapi
2424
- run: yarn test --coverage --project @hono/zod-openapi

package.json

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,41 +8,6 @@
88
]
99
},
1010
"scripts": {
11-
"build:hello": "yarn workspace @hono/hello build",
12-
"build:zod-validator": "yarn workspace @hono/zod-validator build",
13-
"build:class-validator": "yarn workspace @hono/class-validator build",
14-
"build:arktype-validator": "yarn workspace @hono/arktype-validator build",
15-
"build:qwik-city": "yarn workspace @hono/qwik-city build",
16-
"build:graphql-server": "yarn workspace @hono/graphql-server build",
17-
"build:sentry": "yarn workspace @hono/sentry build",
18-
"build:firebase-auth": "yarn workspace @hono/firebase-auth build",
19-
"build:trpc-server": "yarn workspace @hono/trpc-server build",
20-
"build:clerk-auth": "yarn workspace @hono/clerk-auth build",
21-
"build:typebox-validator": "yarn workspace @hono/typebox-validator build",
22-
"build:medley-router": "yarn workspace @hono/medley-router build",
23-
"build:valibot-validator": "yarn workspace @hono/valibot-validator build",
24-
"build:zod-openapi": "yarn workspace @hono/zod-openapi install && yarn workspace @hono/zod-openapi build",
25-
"build:typia-validator": "yarn workspace @hono/typia-validator build",
26-
"build:swagger-ui": "yarn workspace @hono/swagger-ui build",
27-
"build:swagger-editor": "yarn workspace @hono/swagger-editor build",
28-
"build:esbuild-transpiler": "yarn workspace @hono/esbuild-transpiler build",
29-
"build:event-emitter": "yarn workspace @hono/event-emitter build",
30-
"build:oauth-providers": "yarn workspace @hono/oauth-providers build",
31-
"build:react-renderer": "yarn workspace @hono/react-renderer build",
32-
"build:auth-js": "yarn workspace @hono/auth-js build",
33-
"build:bun-transpiler": "yarn workspace @hono/bun-transpiler build",
34-
"build:prometheus": "yarn workspace @hono/prometheus build",
35-
"build:oidc-auth": "yarn workspace @hono/oidc-auth build",
36-
"build:node-ws": "yarn workspace @hono/node-ws build",
37-
"build:react-compat": "yarn workspace @hono/react-compat build",
38-
"build:effect-validator": "yarn workspace @hono/effect-validator build",
39-
"build:conform-validator": "yarn workspace @hono/conform-validator build",
40-
"build:casbin": "yarn workspace @hono/casbin build",
41-
"build:ajv-validator": "yarn workspace @hono/ajv-validator build",
42-
"build:tsyringe": "yarn workspace @hono/tsyringe build",
43-
"build:cloudflare-access": "yarn workspace @hono/cloudflare-access build",
44-
"build:standard-validator": "yarn workspace @hono/standard-validator build",
45-
"build:otel": "yarn workspace @hono/otel build",
4611
"build": "yarn workspaces foreach --all --parallel --topological --verbose run build",
4712
"publint": "yarn workspaces foreach --all --parallel --topological --verbose run publint",
4813
"test": "vitest",
@@ -69,6 +34,7 @@
6934
"@typescript-eslint/parser": "^8.7.0",
7035
"@vitest/coverage-istanbul": "^3.0.8",
7136
"eslint": "^9.17.0",
37+
"hono": "^4.7.5",
7238
"npm-run-all2": "^6.2.2",
7339
"prettier": "^2.7.1",
7440
"tsup": "^8.4.0",

packages/ajv-validator/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"devDependencies": {
4545
"@arethetypeswrong/cli": "^0.17.4",
4646
"ajv": ">=8.12.0",
47-
"hono": "^4.4.12",
4847
"publint": "^0.3.9",
4948
"tsup": "^8.4.0",
5049
"vitest": "^3.0.8"

packages/arktype-validator/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"devDependencies": {
4646
"@arethetypeswrong/cli": "^0.17.4",
4747
"arktype": "^2.0.0-dev.14",
48-
"hono": "^3.11.7",
4948
"publint": "^0.3.9",
5049
"tsup": "^8.4.0",
5150
"vitest": "^3.0.8"

packages/arktype-validator/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export const arktypeValidator = <
2929
schema: T,
3030
hook?: Hook<T['infer'], E, P>
3131
): MiddlewareHandler<E, P, V> =>
32+
// @ts-expect-error not typed well
3233
validator(target, (value, c) => {
3334
const out = schema(value)
3435

packages/auth-js/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
"@arethetypeswrong/cli": "^0.17.4",
6363
"@auth/core": "^0.35.3",
6464
"@types/react": "^18",
65-
"hono": "^3.11.7",
6665
"publint": "^0.3.9",
6766
"react": "^18.2.0",
6867
"tsup": "^8.4.0",

packages/bun-transpiler/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"devDependencies": {
4545
"@arethetypeswrong/cli": "^0.17.4",
4646
"@types/bun": "^1.0.0",
47-
"hono": "^3.11.7",
4847
"publint": "^0.3.9",
4948
"tsup": "^8.4.0",
5049
"vitest": "^3.0.8"

packages/casbin/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
"devDependencies": {
5656
"@arethetypeswrong/cli": "^0.17.4",
5757
"casbin": "^5.30.0",
58-
"hono": "^4.5.11",
5958
"publint": "^0.3.9",
6059
"tsup": "^8.4.0",
6160
"vitest": "^3.0.8"

packages/class-validator/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
},
4545
"devDependencies": {
4646
"@arethetypeswrong/cli": "^0.17.4",
47-
"hono": "^4.0.10",
4847
"publint": "^0.3.9",
4948
"tsup": "^8.4.0",
5049
"vitest": "^3.0.8"

packages/clerk-auth/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"@arethetypeswrong/cli": "^0.17.4",
4747
"@clerk/backend": "^1.0.0",
4848
"@types/react": "^18",
49-
"hono": "^3.11.7",
5049
"publint": "^0.3.9",
5150
"react": "^18.2.0",
5251
"tsup": "^8.4.0",

0 commit comments

Comments
 (0)