@syncular/dialect-bun-sqlite 0.0.1 → 0.0.2-126
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/README.md +28 -0
- package/package.json +26 -4
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# @syncular/dialect-bun-sqlite
|
|
2
|
+
|
|
3
|
+
Bun SQLite Kysely dialect for Syncular clients and scripts. Includes JSON serialization support via `SerializePlugin`.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @syncular/dialect-bun-sqlite
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { createBunSqliteDb } from '@syncular/dialect-bun-sqlite';
|
|
15
|
+
|
|
16
|
+
const db = createBunSqliteDb<MyDb>({ path: './app.sqlite' });
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Documentation
|
|
20
|
+
|
|
21
|
+
- Dialect selection: https://syncular.dev/docs/introduction/installation#client-database-dialects
|
|
22
|
+
|
|
23
|
+
## Links
|
|
24
|
+
|
|
25
|
+
- GitHub: https://github.com/syncular/syncular
|
|
26
|
+
- Issues: https://github.com/syncular/syncular/issues
|
|
27
|
+
|
|
28
|
+
> Status: Alpha. APIs may change between releases.
|
package/package.json
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncular/dialect-bun-sqlite",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2-126",
|
|
4
|
+
"description": "Bun SQLite dialect for the Syncular client",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Benjamin Kniffler",
|
|
7
|
+
"homepage": "https://syncular.dev",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/syncular/syncular.git",
|
|
11
|
+
"directory": "packages/dialect-bun-sqlite"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/syncular/syncular/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"sync",
|
|
18
|
+
"offline-first",
|
|
19
|
+
"realtime",
|
|
20
|
+
"database",
|
|
21
|
+
"typescript",
|
|
22
|
+
"bun",
|
|
23
|
+
"sqlite"
|
|
24
|
+
],
|
|
4
25
|
"private": false,
|
|
5
26
|
"publishConfig": {
|
|
6
27
|
"access": "public"
|
|
@@ -17,17 +38,18 @@
|
|
|
17
38
|
},
|
|
18
39
|
"scripts": {
|
|
19
40
|
"tsgo": "tsgo --noEmit",
|
|
20
|
-
"build": "
|
|
41
|
+
"build": "tsgo",
|
|
42
|
+
"release": "bunx syncular-publish"
|
|
21
43
|
},
|
|
22
44
|
"dependencies": {
|
|
23
|
-
"@syncular/core": "
|
|
45
|
+
"@syncular/core": "0.0.2-126",
|
|
24
46
|
"kysely-bun-sqlite": "^0.4.0"
|
|
25
47
|
},
|
|
26
48
|
"peerDependencies": {
|
|
27
49
|
"kysely": "^0.28.0"
|
|
28
50
|
},
|
|
29
51
|
"devDependencies": {
|
|
30
|
-
"@syncular/config": "
|
|
52
|
+
"@syncular/config": "0.0.0",
|
|
31
53
|
"kysely": "*"
|
|
32
54
|
},
|
|
33
55
|
"files": [
|