@cavulsqa/reactive-db 0.1.0 → 0.1.1

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 +4 -0
  2. package/package.json +10 -11
package/README.md CHANGED
@@ -13,6 +13,10 @@ Framework-agnostic primitives for keeping a UI in step with a local SQLite datab
13
13
  - `ReactiveQueryOptions`, `calcRetryDelay`, `noopMetrics` — the option contract and retry policy a
14
14
  framework binding builds on.
15
15
 
16
+ `kysely` is an **optional** peer: it is imported for types only. Marking it optional keeps npm
17
+ from auto-installing a kysely major that `@cavulsqa/mobile-db` cannot use - which otherwise
18
+ resolves the whole tree onto an older mobile-db.
19
+
16
20
  **No framework dependency.** There is no `vue` import; `isVisible?: { value: boolean }` is a
17
21
  structural stand-in for a ref, so any framework (or none) can drive it. Vue bindings live in
18
22
  [`@cavulsqa/reactive-vue`](../reactive-vue).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cavulsqa/reactive-db",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Framework-agnostic reactive query primitives: table-change bus, result cache, visibility gate, mutation proxy, query metrics.",
5
5
  "keywords": [
6
6
  "cache",
@@ -30,20 +30,13 @@
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  },
33
- "scripts": {
34
- "build": "vp pack",
35
- "dev": "vp pack --watch",
36
- "test": "vp test",
37
- "check": "vp check",
38
- "prepublishOnly": "vp run build"
39
- },
40
33
  "devDependencies": {
41
34
  "@types/node": "^26.1.1",
42
35
  "bumpp": "^11.1.0",
43
36
  "kysely": "^0.28.9",
44
37
  "typescript": "^7.0.2",
45
- "vite": "catalog:",
46
- "vite-plus": "catalog:"
38
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.3.0",
39
+ "vite-plus": "0.3.0"
47
40
  },
48
41
  "peerDependencies": {
49
42
  "kysely": ">=0.28"
@@ -52,5 +45,11 @@
52
45
  "kysely": {
53
46
  "optional": true
54
47
  }
48
+ },
49
+ "scripts": {
50
+ "build": "vp pack",
51
+ "dev": "vp pack --watch",
52
+ "test": "vp test",
53
+ "check": "vp check"
55
54
  }
56
- }
55
+ }