@effectstream/db-emulator 0.100.16 → 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.
- package/README.md +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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
|
|
5
|
+
instance without booting the full runtime - handy for unit tests and CI
|
|
6
6
|
fixtures.
|
|
7
7
|
|
|
8
8
|
- Standalone migration runner: apply Effectstream's system schema + your migrations to a fresh DB.
|
|
@@ -19,7 +19,7 @@ npm install @effectstream/db-emulator
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
This package exists separately from `@effectstream/db` to break the
|
|
22
|
-
circular dependency between `@effectstream/db` and `@effectstream/sm`
|
|
22
|
+
circular dependency between `@effectstream/db` and `@effectstream/sm` -
|
|
23
23
|
both of which `standAloneApplyMigrations` needs.
|
|
24
24
|
|
|
25
25
|
## Standalone usage
|
|
@@ -55,7 +55,7 @@ write.
|
|
|
55
55
|
|
|
56
56
|
## Key exports
|
|
57
57
|
|
|
58
|
-
- `standAloneApplyMigrations(db, migrationTable, config, userPrimitives?)`
|
|
58
|
+
- `standAloneApplyMigrations(db, migrationTable, config, userPrimitives?)` - apply the EffectStream system migrations plus your own, against the given pg client.
|
|
59
59
|
|
|
60
60
|
## Examples
|
|
61
61
|
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effectstream/db-emulator",
|
|
3
|
-
"version": "0.100.
|
|
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/
|
|
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/
|
|
12
|
+
"url": "https://github.com/effectstream/effectstream/issues"
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|
|
15
15
|
".": "./mod.ts"
|