From 4c2a5c33c764178bee5b3e5b60e0102dd1119ca8 Mon Sep 17 00:00:00 2001 From: Christiaan Landman Date: Thu, 14 Nov 2024 17:46:08 +0200 Subject: [PATCH 1/2] chore: added PowerSyncSQLiteDatabase type as part of exported members (#407) --- .changeset/wild-melons-camp.md | 5 +++++ packages/drizzle-driver/src/index.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/wild-melons-camp.md diff --git a/.changeset/wild-melons-camp.md b/.changeset/wild-melons-camp.md new file mode 100644 index 00000000..6705ef79 --- /dev/null +++ b/.changeset/wild-melons-camp.md @@ -0,0 +1,5 @@ +--- +'@powersync/drizzle-driver': patch +--- + +Added PowerSyncSQLiteDatabase type as part of exported members. diff --git a/packages/drizzle-driver/src/index.ts b/packages/drizzle-driver/src/index.ts index f2eed732..6f5c1537 100644 --- a/packages/drizzle-driver/src/index.ts +++ b/packages/drizzle-driver/src/index.ts @@ -1,4 +1,4 @@ -import { wrapPowerSyncWithDrizzle } from './sqlite/db'; +import { wrapPowerSyncWithDrizzle, type PowerSyncSQLiteDatabase } from './sqlite/db'; import { toCompilableQuery } from './utils/compilableQuery'; -export { wrapPowerSyncWithDrizzle, toCompilableQuery }; +export { wrapPowerSyncWithDrizzle, toCompilableQuery, PowerSyncSQLiteDatabase }; From d72ac11b808d46feb1d7070d4560a920c0074170 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 08:20:35 +0200 Subject: [PATCH 2/2] Version Packages (#405) Co-authored-by: github-actions[bot] --- .changeset/hip-mugs-beam.md | 5 ----- .changeset/sixty-penguins-unite.md | 5 ----- .changeset/wild-melons-camp.md | 5 ----- packages/drizzle-driver/CHANGELOG.md | 11 +++++++++++ packages/drizzle-driver/package.json | 2 +- 5 files changed, 12 insertions(+), 16 deletions(-) delete mode 100644 .changeset/hip-mugs-beam.md delete mode 100644 .changeset/sixty-penguins-unite.md delete mode 100644 .changeset/wild-melons-camp.md diff --git a/.changeset/hip-mugs-beam.md b/.changeset/hip-mugs-beam.md deleted file mode 100644 index 80aeea1f..00000000 --- a/.changeset/hip-mugs-beam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@powersync/drizzle-driver': minor ---- - -Added support for casing option. diff --git a/.changeset/sixty-penguins-unite.md b/.changeset/sixty-penguins-unite.md deleted file mode 100644 index a764fc21..00000000 --- a/.changeset/sixty-penguins-unite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@powersync/drizzle-driver': minor ---- - -Changed drizzle-orm to a peer dependency, supporting a wider set of versions in downstream projects. diff --git a/.changeset/wild-melons-camp.md b/.changeset/wild-melons-camp.md deleted file mode 100644 index 6705ef79..00000000 --- a/.changeset/wild-melons-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@powersync/drizzle-driver': patch ---- - -Added PowerSyncSQLiteDatabase type as part of exported members. diff --git a/packages/drizzle-driver/CHANGELOG.md b/packages/drizzle-driver/CHANGELOG.md index cb50cd9b..251651c1 100644 --- a/packages/drizzle-driver/CHANGELOG.md +++ b/packages/drizzle-driver/CHANGELOG.md @@ -1,5 +1,16 @@ # @powersync/drizzle-driver +## 0.1.0 + +### Minor Changes + +- 9c19e4c: Added support for casing option. +- 9d66bdc: Changed drizzle-orm to a peer dependency, supporting a wider set of versions in downstream projects. + +### Patch Changes + +- 4c2a5c3: Added PowerSyncSQLiteDatabase type as part of exported members. + ## 0.0.1 ### Patch Changes diff --git a/packages/drizzle-driver/package.json b/packages/drizzle-driver/package.json index fbd24bea..756bee78 100644 --- a/packages/drizzle-driver/package.json +++ b/packages/drizzle-driver/package.json @@ -1,6 +1,6 @@ { "name": "@powersync/drizzle-driver", - "version": "0.0.1", + "version": "0.1.0", "description": "Drizzle driver for PowerSync", "main": "lib/src/index.js", "types": "lib/src/index.d.ts",