@effectstream/db-emulator 0.100.15 → 0.100.17

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 +9 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -2,9 +2,14 @@
2
2
 
3
3
  A standalone migration runner for EffectStream's database. Apply the
4
4
  EffectStream system schema plus your migrations to a Postgres or PgLite
5
- instance without booting the full runtime — handy for unit tests and CI
5
+ instance without booting the full runtime - handy for unit tests and CI
6
6
  fixtures.
7
7
 
8
+ - Standalone migration runner: apply Effectstream's system schema + your migrations to a fresh DB.
9
+ - For tests and CI fixtures; do not point at a production database.
10
+ - Exists separately from `@effectstream/db` to break a circular dep with `@effectstream/sm`.
11
+ - Single export: `standAloneApplyMigrations`.
12
+
8
13
  ## Install
9
14
 
10
15
  ```bash
@@ -14,7 +19,7 @@ npm install @effectstream/db-emulator
14
19
  ```
15
20
 
16
21
  This package exists separately from `@effectstream/db` to break the
17
- circular dependency between `@effectstream/db` and `@effectstream/sm` —
22
+ circular dependency between `@effectstream/db` and `@effectstream/sm` -
18
23
  both of which `standAloneApplyMigrations` needs.
19
24
 
20
25
  ## Standalone usage
@@ -50,7 +55,7 @@ write.
50
55
 
51
56
  ## Key exports
52
57
 
53
- - `standAloneApplyMigrations(db, migrationTable, config, userPrimitives?)` — apply the EffectStream system migrations plus your own, against the given pg client.
58
+ - `standAloneApplyMigrations(db, migrationTable, config, userPrimitives?)` - apply the EffectStream system migrations plus your own, against the given pg client.
54
59
 
55
60
  ## Examples
56
61
 
@@ -62,4 +67,4 @@ For the broader migration pattern, see
62
67
  ## Links
63
68
 
64
69
  - Docs: https://effectstream.github.io/docs/packages/node/db-emulator
65
- - Source: https://github.com/PaimaStudios/paima-engine/tree/main/packages/node-sdk/db-emulator
70
+ - Source: https://github.com/effectstream/effectstream/tree/main/packages/node-sdk/db-emulator
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@effectstream/db-emulator",
3
- "version": "0.100.15",
3
+ "version": "0.100.17",
4
4
  "license": "MIT",
5
5
  "homepage": "https://effectstream.github.io/docs/",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/PaimaStudios/paima-engine",
8
+ "url": "https://github.com/effectstream/effectstream",
9
9
  "directory": "packages/node-sdk/db-emulator"
10
10
  },
11
11
  "bugs": {
12
- "url": "https://github.com/PaimaStudios/paima-engine/issues"
12
+ "url": "https://github.com/effectstream/effectstream/issues"
13
13
  },
14
14
  "exports": {
15
15
  ".": "./mod.ts"