@syncular/server-dialect-sqlite 0.0.1-98 → 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.
Files changed (2) hide show
  1. package/README.md +33 -0
  2. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # @syncular/server-dialect-sqlite
2
+
3
+ SQLite dialect for the Syncular server sync schema and query patterns (commit log, change log, scopes, snapshot chunks, console tables).
4
+
5
+ Commonly used for dev/test setups and for edge deployments that use a SQLite-compatible backend.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @syncular/server-dialect-sqlite
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import { ensureSyncSchema } from '@syncular/server';
17
+ import { createSqliteServerDialect } from '@syncular/server-dialect-sqlite';
18
+
19
+ const dialect = createSqliteServerDialect();
20
+ await ensureSyncSchema(db, dialect);
21
+ ```
22
+
23
+ ## Documentation
24
+
25
+ - Dialects: https://syncular.dev/docs/server/dialects
26
+ - Server setup: https://syncular.dev/docs/build/server-setup
27
+
28
+ ## Links
29
+
30
+ - GitHub: https://github.com/syncular/syncular
31
+ - Issues: https://github.com/syncular/syncular/issues
32
+
33
+ > Status: Alpha. APIs and storage layouts may change between releases.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncular/server-dialect-sqlite",
3
- "version": "0.0.1-98",
3
+ "version": "0.0.2-126",
4
4
  "description": "SQLite dialect for the Syncular server",
5
5
  "license": "MIT",
6
6
  "author": "Benjamin Kniffler",
@@ -40,8 +40,8 @@
40
40
  "release": "bunx syncular-publish"
41
41
  },
42
42
  "dependencies": {
43
- "@syncular/core": "0.0.1",
44
- "@syncular/server": "0.0.1"
43
+ "@syncular/core": "0.0.2-126",
44
+ "@syncular/server": "0.0.2-126"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "kysely": "^0.28.0"