From 6352aa02375da80fa001d6efcb4b1809600aef1c Mon Sep 17 00:00:00 2001 From: thednp Date: Tue, 25 Jun 2024 23:08:59 +0300 Subject: [PATCH] Update drizzle dependencies and config (#1558) * Update deps * Update drizzle.config.ts --------- Co-authored-by: Ryan Carniato --- examples/with-drizzle/drizzle.config.ts | 5 ++--- examples/with-drizzle/package.json | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/examples/with-drizzle/drizzle.config.ts b/examples/with-drizzle/drizzle.config.ts index 60ac3fd2d..36c2f3bc1 100644 --- a/examples/with-drizzle/drizzle.config.ts +++ b/examples/with-drizzle/drizzle.config.ts @@ -1,9 +1,8 @@ -// import { type Config } from "drizzle-kit"; - export default { + dialect: "sqlite", schema: "./drizzle/schema.ts", out: "./drizzle/migrations/", - driver: "better-sqlite", + // driver: "better-sqlite", dbCredentials: { url: './drizzle/db.sqlite', }, diff --git a/examples/with-drizzle/package.json b/examples/with-drizzle/package.json index ed6cbbca5..bb1ebf33d 100644 --- a/examples/with-drizzle/package.json +++ b/examples/with-drizzle/package.json @@ -8,14 +8,14 @@ }, "devDependencies": { "@types/better-sqlite3": "^7.6.10", - "@types/node": "^20.12.12", - "drizzle-kit": "^0.21.4" + "@types/node": "^20.14.8", + "drizzle-kit": "^0.22.7" }, "dependencies": { "@solidjs/router": "^0.13.6", - "@solidjs/start": "^1.0.0", - "better-sqlite3": "^10.0.0", - "drizzle-orm": "^0.30.10", + "@solidjs/start": "^1.0.2", + "better-sqlite3": "^11.0.0", + "drizzle-orm": "^0.31.2", "solid-js": "^1.8.17", "vinxi": "0.3.12" },