Skip to content

Commit f7f88df

Browse files
committed
✨ upgrade stoker / zod v4 dependencies
1 parent d261eee commit f7f88df

File tree

10 files changed

+779
-719
lines changed

10 files changed

+779
-719
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
A starter template for building fully documented type-safe JSON APIs with Hono and Open API.
44

5-
> A new version of drizzle was released since the video showing this starter was made. See the [drizzle-v0.35 branch](https://github.com/w3cj/hono-open-api-starter/tree/drizzle-v0.35) and [this commit](https://github.com/w3cj/hono-open-api-starter/commit/92525ff84fb2a247c8245cc889b2320d7b3b6e2c) for the changes required to use drizzle v0.35
5+
> A new version of drizzle was released since the video showing this starter was made. See [this commit](https://github.com/w3cj/hono-open-api-starter/commit/92525ff84fb2a247c8245cc889b2320d7b3b6e2c) for the changes required to use drizzle v0.35+
66
7-
> For a cloudflare specific template, see the [cloudflare branch](https://github.com/w3cj/hono-open-api-starter/tree/cloudflare) on this repo and the [cloudflare-drizzle-v0.35 branch](https://github.com/w3cj/hono-open-api-starter/tree/cloudflare-drizzle-v0.35)
7+
> For a cloudflare specific template, see the [cloudflare branch](https://github.com/w3cj/hono-open-api-starter/tree/cloudflare) on this repo
88
99
> For other deployment examples see the [hono-node-deployment-examples](https://github.com/w3cj/hono-node-deployment-examples) repo
1010

drizzle.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import env from "@/env";
55
export default defineConfig({
66
schema: "./src/db/schema.ts",
77
out: "./src/db/migrations",
8-
dialect: "sqlite",
9-
driver: "turso",
8+
dialect: "turso",
9+
casing: "snake_case",
1010
dbCredentials: {
1111
url: env.DATABASE_URL,
1212
authToken: env.DATABASE_AUTH_TOKEN,

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@
1313
"build": "tsc && tsc-alias"
1414
},
1515
"dependencies": {
16-
"@hono/node-server": "^1.14.3",
17-
"@hono/zod-openapi": "^0.19.8",
18-
"@libsql/client": "^0.15.8",
19-
"@scalar/hono-api-reference": "^0.9.2",
20-
"dotenv": "^17.0.1",
16+
"@hono/node-server": "^1.18.1",
17+
"@hono/zod-openapi": "^1.0.2",
18+
"@libsql/client": "^0.15.10",
19+
"@scalar/hono-api-reference": "^0.9.13",
20+
"dotenv": "^17.2.1",
2121
"dotenv-expand": "^12.0.2",
22-
"drizzle-orm": "^0.33.0",
23-
"drizzle-zod": "^0.5.1",
24-
"hono": "^4.7.11",
25-
"hono-pino": "^0.9.1",
22+
"drizzle-orm": "^0.44.4",
23+
"drizzle-zod": "^0.8.2",
24+
"hono": "^4.8.12",
25+
"hono-pino": "^0.10.1",
2626
"pino": "^9.7.0",
27-
"pino-pretty": "^13.0.0",
28-
"stoker": "1.4.3",
29-
"zod": "^3.25.51"
27+
"pino-pretty": "^13.1.1",
28+
"stoker": "2.0.0",
29+
"zod": "^4.0.14"
3030
},
3131
"devDependencies": {
32-
"@antfu/eslint-config": "^4.13.3",
33-
"@types/node": "^24.0.10",
34-
"cross-env": "^7.0.3",
35-
"drizzle-kit": "^0.24.2",
36-
"eslint": "^9.28.0",
32+
"@antfu/eslint-config": "^5.1.0",
33+
"@types/node": "^24.2.0",
34+
"cross-env": "^10.0.0",
35+
"drizzle-kit": "^0.31.4",
36+
"eslint": "^9.32.0",
3737
"eslint-plugin-format": "^1.0.1",
3838
"tsc-alias": "^1.8.16",
3939
"tsx": "^4.19.4",

0 commit comments

Comments
 (0)