Skip to content

Commit 6c536ad

Browse files
committed
chore: update deps, use official parseResponse from hono
1 parent ad30b2f commit 6c536ad

7 files changed

Lines changed: 2026 additions & 2048 deletions

File tree

apps/backend-convex/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"@hono/zod-validator": "^0.7.2",
2727
"@openrouter/ai-sdk-provider": "^0.7.3",
2828
"ai": "^4.3.19",
29-
"convex-helpers": "^0.1.100",
29+
"convex-helpers": "^0.1.101",
3030
"destr": "^2.0.5",
31-
"hono": "^4.8.9",
31+
"hono": "^4.9.0",
3232
"zod": "^3.25.76"
3333
},
3434
"devDependencies": {

apps/backend/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"deploy": "dotenvx run -f .env.prod.local -f .env.prod -f .env -- sh scripts/deploy.sh"
1818
},
1919
"dependencies": {
20-
"srvx": "^0.8.2"
20+
"srvx": "^0.8.6"
2121
},
2222
"devDependencies": {
2323
"@hono/arktype-validator": "^2.0.1",
@@ -26,18 +26,18 @@
2626
"@local/locales": "workspace:*",
2727
"@local/tsconfig": "workspace:*",
2828
"@namesmt/utils": "^0.5.16",
29-
"@scalar/hono-api-reference": "^0.9.12",
29+
"@scalar/hono-api-reference": "^0.9.13",
3030
"@vitest/coverage-v8": "^3.2.4",
3131
"arktype": "^2.1.20",
3232
"backend-convex": "workspace:*",
3333
"convex": "^1.25.4",
34-
"hono": "^4.8.9",
34+
"hono": "^4.9.0",
3535
"hono-adapter-aws-lambda": "^1.3.3",
3636
"hono-openapi": "^0.4.8",
3737
"hono-sessions": "^0.8.0",
3838
"petite-vue-i18n": "^11.1.11",
3939
"std-env": "^3.9.0",
40-
"tsdown": "^0.13.0",
40+
"tsdown": "^0.13.3",
4141
"vitest": "^3.2.4"
4242
}
4343
}

apps/frontend/app/utils/hono.ts

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1 @@
1-
import type { Awaitable } from '@vueuse/core'
2-
import type { ClientResponse } from 'hono/client'
3-
import { fetchRP } from 'fetch-result-please'
4-
5-
/**
6-
* Shortcut for (await api()).text(), with types inference.
7-
*/
8-
export async function hcText<T extends ClientResponse<any>>(fetchRes: Awaitable<T>): Promise<Awaited<ReturnType<T['text']>>> {
9-
const res = await fetchRes
10-
const data = await res.text()
11-
12-
return data as Awaited<ReturnType<T['text']>>
13-
}
14-
15-
/**
16-
* Shortcut for (await api()).json(), with types inference.
17-
*/
18-
export async function hcJson<T extends ClientResponse<any>>(fetchRes: Awaitable<T>): Promise<Awaited<ReturnType<T['json']>>> {
19-
const res = await fetchRes
20-
const data = await res.json()
21-
22-
return data as Awaited<ReturnType<T['json']>>
23-
}
24-
25-
/**
26-
* Shortcut for fetchRP(api()), with types inference.
27-
*
28-
* Smartly parse the response data, and automatically throw an error if the response is not ok.
29-
*/
30-
export async function hcParse<T extends ClientResponse<any>>(fetchRes: Awaitable<T>): Promise<T extends ClientResponse<infer RT> ? RT : never> {
31-
return fetchRP(fetchRes)
32-
}
1+
export { parseResponse as hcParse } from 'hono/client'

apps/frontend/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"embla-carousel": "^8.6.0",
2020
"embla-carousel-vue": "^8.6.0",
2121
"lenis": "^1.3.8",
22-
"lucide-vue-next": "^0.532.0",
23-
"reka-ui": "^2.4.0"
22+
"lucide-vue-next": "^0.537.0",
23+
"reka-ui": "^2.4.1"
2424
},
2525
"devDependencies": {
2626
"@ai-sdk/vue": "^1.2.12",
@@ -29,15 +29,15 @@
2929
"@local/locales": "workspace:*",
3030
"@local/tsconfig": "workspace:*",
3131
"@namesmt/vue-query-nuxt": "^0.3.7",
32-
"@nuxt/eslint": "^1.7.1",
33-
"@nuxt/image": "^1.10.0",
32+
"@nuxt/eslint": "^1.8.0",
33+
"@nuxt/image": "^1.11.0",
3434
"@nuxtjs/color-mode": "^3.5.2",
3535
"@nuxtjs/i18n": "^10.0.3",
3636
"@nuxtjs/mdc": "0.17.0",
3737
"@nuxtjs/seo": "^3.1.0",
38-
"@tanstack/query-persist-client-core": "^5.83.0",
39-
"@tanstack/vue-query": "^5.83.0",
40-
"@unocss/nuxt": "^66.3.3",
38+
"@tanstack/query-persist-client-core": "^5.83.1",
39+
"@tanstack/vue-query": "^5.83.1",
40+
"@unocss/nuxt": "^66.4.1",
4141
"@vueuse/core": "^13.6.0",
4242
"@vueuse/integrations": "^13.6.0",
4343
"@vueuse/motion": "^3.0.3",
@@ -53,19 +53,19 @@
5353
"destr": "^2.0.5",
5454
"fetch-result-please": "^0.2.0",
5555
"h3-proxy": "^1.13.0",
56-
"hono": "^4.8.9",
56+
"hono": "^4.9.0",
5757
"idb-keyval": "^6.2.2",
5858
"kontroll": "^1.1.1",
59-
"nuxt": "^4.0.2",
60-
"nuxt-booster": "^3.2.9",
59+
"nuxt": "^4.0.3",
60+
"nuxt-booster": "^3.2.11",
6161
"nuxt-llms": "^0.1.3",
6262
"nuxt-svgo": "4.2.2",
6363
"ohash": "^2.0.11",
64-
"sass": "^1.89.2",
64+
"sass": "^1.90.0",
6565
"shadcn-nuxt": "^1.0.3",
6666
"tailwind-merge": "^2.6.0",
6767
"ufo": "^1.6.1",
68-
"unocss": "^66.3.3",
68+
"unocss": "^66.4.1",
6969
"unocss-preset-animations": "^1.2.1",
7070
"unocss-preset-shadcn": "^0.5.0",
7171
"vite-plugin-optimize-exclude": "^0.0.1",

locals/common-vue/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"quickcheck": "pnpm run lint && pnpm run test:types"
1010
},
1111
"dependencies": {
12-
"unocss": "^66.3.3",
12+
"unocss": "^66.4.1",
1313
"vue": "^3.5.18"
1414
},
1515
"devDependencies": {
1616
"@local/tsconfig": "workspace:*",
17-
"vue-tsc": "^3.0.4"
17+
"vue-tsc": "^3.0.5"
1818
}
1919
}

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"version": "3.1.0",
55
"private": true,
6-
"packageManager": "pnpm@10.13.1",
6+
"packageManager": "pnpm@10.14.0",
77
"engines": {
88
"node": ">=20.13.1"
99
},
@@ -26,19 +26,19 @@
2626
"std-env": "^3.9.0"
2727
},
2828
"devDependencies": {
29-
"@antfu/eslint-config": "^5.0.0",
29+
"@antfu/eslint-config": "^5.2.0",
3030
"@dotenvx/dotenvx": "1.11.4",
3131
"@namesmt/utils": "^0.5.16",
3232
"@types/aws-lambda": "^8.10.152",
33-
"@types/node": "^22.16.5",
34-
"@unocss/eslint-plugin": "^66.3.3",
33+
"@types/node": "^22.17.0",
34+
"@unocss/eslint-plugin": "^66.4.1",
3535
"eslint": "^9.32.0",
3636
"frontend": "workspace:*",
37-
"lint-staged": "^16.1.2",
38-
"simple-git-hooks": "^2.13.0",
37+
"lint-staged": "^16.1.4",
38+
"simple-git-hooks": "^2.13.1",
3939
"tsx": "^4.20.3",
4040
"turbo": "^2.5.5",
41-
"typescript": "^5.8.3"
41+
"typescript": "^5.9.2"
4242
},
4343
"pnpm": {
4444
"overrides": {

0 commit comments

Comments
 (0)