@pikku/kysely-sqlite 0.12.5 → 0.12.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @pikku/kysely-sqlite
2
2
 
3
+ ## 0.12.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 41ce2cb: Upgrade to TypeScript 6 and raise the minimum Node.js version to 22.
8
+
9
+ All packages now build against `typescript@^6.0.3` and declare `engines.node >= 22`. Internal tooling (`ts-json-schema-generator`, `zod-to-ts`) was bumped to TypeScript 6-compatible releases.
10
+
11
+ - Updated dependencies [241e6cf]
12
+ - Updated dependencies [41ce2cb]
13
+ - @pikku/kysely@0.13.0
14
+ - @pikku/core@0.12.44
15
+
16
+ ## 0.12.6
17
+
18
+ ### Patch Changes
19
+
20
+ - 34f254e: Bump the `kysely` dependency range to `^0.29.0` so it dedupes onto a single
21
+ copy alongside Better Auth (which bundles kysely 0.29.x), avoiding two
22
+ incompatible `Kysely` classes (the `#private` brand mismatch) when both pikku's
23
+ adapters and Better Auth share a database connection.
24
+
25
+ kysely 0.29 is ESM-only, which the unmaintained `kysely-plugin-serialize`
26
+ (no `exports` map, CommonJS build) cannot import. Its `SerializePlugin` is now
27
+ maintained directly in `@pikku/kysely` and re-exported, and the external
28
+ dependency is dropped from `@pikku/kysely`, `@pikku/kysely-sqlite`, and
29
+ `@pikku/cloudflare`.
30
+
31
+ - Updated dependencies [6565b97]
32
+ - Updated dependencies [34f254e]
33
+ - @pikku/kysely@0.12.16
34
+
3
35
  ## 0.12.5
4
36
 
5
37
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import { Kysely, SqliteDialect } from 'kysely';
2
- import { SerializePlugin } from 'kysely-plugin-serialize';
2
+ import { SerializePlugin } from '@pikku/kysely';
3
3
  export function createSQLiteKysely(database) {
4
4
  return new Kysely({
5
5
  dialect: new SqliteDialect({ database }),
@@ -1 +1 @@
1
- {"root":["../src/create-sqlite-kysely.ts","../src/index.ts","../src/libsql-web-dialect.ts","../src/sqlite-kysely-agent-run-service.ts","../src/sqlite-kysely-ai-storage-service.ts","../src/sqlite-kysely-channel-store.ts","../src/sqlite-kysely-deployment-service.ts","../src/sqlite-kysely-eventhub-store.ts","../src/sqlite-kysely-secret-service.ts","../src/sqlite-kysely-workflow-run-service.ts","../src/sqlite-kysely-workflow-service.ts"],"version":"5.9.3"}
1
+ {"root":["../src/create-sqlite-kysely.ts","../src/index.ts","../src/libsql-web-dialect.ts","../src/sqlite-kysely-agent-run-service.ts","../src/sqlite-kysely-ai-storage-service.ts","../src/sqlite-kysely-channel-store.ts","../src/sqlite-kysely-deployment-service.ts","../src/sqlite-kysely-eventhub-store.ts","../src/sqlite-kysely-secret-service.ts","../src/sqlite-kysely-workflow-run-service.ts","../src/sqlite-kysely-workflow-service.ts"],"version":"6.0.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikku/kysely-sqlite",
3
- "version": "0.12.5",
3
+ "version": "0.12.7",
4
4
  "author": "yasser.fadl@gmail.com",
5
5
  "license": "MIT",
6
6
  "module": "dist/src/index.js",
@@ -13,12 +13,14 @@
13
13
  "prepublishOnly": "yarn build"
14
14
  },
15
15
  "dependencies": {
16
- "@pikku/core": "^0.12.21",
17
- "@pikku/kysely": "^0.12.0",
18
- "kysely": "^0.28.12",
19
- "kysely-plugin-serialize": "^0.8.2"
16
+ "@pikku/core": "^0.12.44",
17
+ "@pikku/kysely": "^0.13.0",
18
+ "kysely": "^0.29.0"
20
19
  },
21
20
  "devDependencies": {
22
- "typescript": "^5.9"
21
+ "typescript": "^6.0.3"
22
+ },
23
+ "exports": {
24
+ ".": "./dist/src/index.js"
23
25
  }
24
26
  }
@@ -1,5 +1,5 @@
1
1
  import { Kysely, SqliteDialect, type SqliteDatabase } from 'kysely'
2
- import { SerializePlugin } from 'kysely-plugin-serialize'
2
+ import { SerializePlugin } from '@pikku/kysely'
3
3
  import type { KyselyPikkuDB } from '@pikku/kysely'
4
4
 
5
5
  export function createSQLiteKysely(