@zmdb/migrations 1.0.0-beta.1 → 1.0.0-beta.2

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 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -4,15 +4,15 @@ Schema snapshots, deterministic migration plans, ledger runners, embedded execut
4
4
 
5
5
  Part of **[zmdb](https://github.com/ambasta/zmdb)**.
6
6
 
7
- Applications that install the product package can import the curated lifecycle surface from `zmdb/migrations`. Direct package consumers and advanced tooling use the entry points below.
7
+ Applications that install the product package can import the curated lifecycle surface from `@zmdb/core/migrations`. Direct package consumers and advanced tooling use the entry points below.
8
8
 
9
9
  ## Install
10
10
 
11
11
  ```bash
12
- yarn add @zmdb/migrations@1.0.0-beta.1
12
+ yarn add @zmdb/migrations@1.0.0-beta.2
13
13
  ```
14
14
 
15
- Install the selected database package separately when planning dialect-specific SQL or connecting to a database, for example `@zmdb/sqlite@1.0.0-beta.1`. The application supplies the driver or
15
+ Install the selected database package separately when planning dialect-specific SQL or connecting to a database, for example `@zmdb/sqlite@1.0.0-beta.2`. The application supplies the driver or
16
16
  connection.
17
17
 
18
18
  ## Library and command workflows
@@ -20,7 +20,7 @@ connection.
20
20
  The root's `snapshot`, `diff` and `planMigration` APIs operate on schema data. A migration plan receives the selected dialect and its `emitUp` and `emitDown` functions. `@zmdb/migrations/runner`
21
21
  applies or rolls back migrations through a caller-supplied connection and records them in the ledger. Introspection and declaration emission have their own entries below.
22
22
 
23
- For a command workflow, install `@zmdb/cli@1.0.0-beta.1` with `typescript@^7.0.2` and use its `zmdb generate`, `migrate`, `rollback`, `status`, `pull` and `embed` commands. The CLI loads project
23
+ For a command workflow, install `@zmdb/cli@1.0.0-beta.2` with `typescript@^7.0.2` and use its `zmdb generate`, `migrate`, `rollback`, `status`, `pull` and `embed` commands. The CLI loads project
24
24
  configuration through `@zmdb/compiler/config`; the migrations library does not load a TypeScript project or depend on the CLI or compiler.
25
25
 
26
26
  `@zmdb/migrations/embedded` exports `runEmbedded(connection, migrations)` for bundle-resident SQLite migrations. It consumes precomputed migration records and the connection's `exec`, `run` and `rows`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zmdb/migrations",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0-beta.2",
4
4
  "description": "Schema snapshots, deterministic migration plans, ledger runners, embedded execution, catalog introspection, and declaration emission for zmdb.",
5
5
  "keywords": [
6
6
  "database",
@@ -70,8 +70,8 @@
70
70
  "oxfmt": "0.66.0"
71
71
  },
72
72
  "peerDependencies": {
73
- "@zmdb/schema": "1.0.0-beta.1",
74
- "@zmdb/sql": "1.0.0-beta.1"
73
+ "@zmdb/schema": "1.0.0-beta.2",
74
+ "@zmdb/sql": "1.0.0-beta.2"
75
75
  },
76
76
  "engines": {
77
77
  "node": ">=26"