@forthtilliath/expo-test-kit 0.4.0 → 0.4.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 -2
  2. package/package.json +9 -1
package/README.md CHANGED
@@ -5,7 +5,9 @@ Test helpers for Expo/Drizzle apps: a real in-memory SQLite database (via libsql
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- npm install --save-dev @forthtilliath/expo-test-kit drizzle-orm @libsql/client
8
+ npm install --save-dev @forthtilliath/expo-test-kit
9
+ # only for the sqlite/ helpers:
10
+ npm install --save-dev drizzle-orm @libsql/client
9
11
  ```
10
12
 
11
13
  Or, from within this monorepo, as a workspace dependency:
@@ -18,7 +20,7 @@ Or, from within this monorepo, as a workspace dependency:
18
20
  }
19
21
  ```
20
22
 
21
- `drizzle-orm` and `@libsql/client` are peer dependencies — install them if not already present. Both are dev-only: `expo-test-kit` doesn't touch your app's production `expo-sqlite` driver, it's a separate in-memory database used only while testing.
23
+ `drizzle-orm` and `@libsql/client` are **optional** peer dependencies: only the `sqlite/` modules need them, so an app that only takes `router/createRenderApp` or the file-system fake doesn't install them. Both are dev-only: `expo-test-kit` doesn't touch your app's production `expo-sqlite` driver, it's a separate in-memory database used only while testing.
22
24
 
23
25
  ## Usage
24
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forthtilliath/expo-test-kit",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -23,6 +23,14 @@
23
23
  "@libsql/client": ">=0.14.0",
24
24
  "drizzle-orm": ">=0.44.0"
25
25
  },
26
+ "peerDependenciesMeta": {
27
+ "@libsql/client": {
28
+ "optional": true
29
+ },
30
+ "drizzle-orm": {
31
+ "optional": true
32
+ }
33
+ },
26
34
  "devDependencies": {
27
35
  "@libsql/client": "^0.17.4",
28
36
  "@types/node": "^26.2.0",