@akal/supaforge 0.0.48 → 0.0.49
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 +33 -8
- package/dist/base-command.js +2 -2
- package/dist/{chunk-HZ2FKMY3.js → chunk-4EEDB7Q3.js} +4 -3
- package/dist/{chunk-AMG4PVQS.js → chunk-56U2BYRZ.js} +2 -2
- package/dist/{chunk-FKL3TQB7.js → chunk-56UP3KK3.js} +17 -10
- package/dist/{chunk-S2GQI7ZO.js → chunk-EI7EP5IU.js} +4 -4
- package/dist/{chunk-VEXHBRNW.js → chunk-EJBEEWGI.js} +7 -7
- package/dist/{chunk-NCMERJNX.js → chunk-EJMRK6LG.js} +2 -2
- package/dist/{chunk-W42J6U7R.js → chunk-GKYJA56H.js} +15 -4
- package/dist/{chunk-PSSMJRMM.js → chunk-JLY4IG73.js} +53 -8
- package/dist/{chunk-Z3SB66RS.js → chunk-JPZZL3KJ.js} +5 -5
- package/dist/{chunk-HKG4KGDV.js → chunk-OZW36QCK.js} +2 -2
- package/dist/{chunk-D3JEYV4M.js → chunk-P66NJJ6I.js} +6 -6
- package/dist/{chunk-EPGKCP3K.js → chunk-SQHEF5NQ.js} +2 -2
- package/dist/{chunk-X4L3JT4R.js → chunk-TREPSQWG.js} +3 -3
- package/dist/{chunk-C7VBY54T.js → chunk-VCNTXXEC.js} +202 -22
- package/dist/{chunk-RXPYUFJR.js → chunk-Y6JGEFSW.js} +6 -6
- package/dist/{chunk-3XQHSJOJ.js → chunk-YCJXGDVL.js} +3 -3
- package/dist/commands/clone.js +5 -5
- package/dist/commands/diff.js +9 -9
- package/dist/commands/hukam.js +9 -9
- package/dist/commands/mcp.js +8 -8
- package/dist/commands/migrate/baseline.js +3 -3
- package/dist/commands/migrate/create.js +8 -8
- package/dist/commands/migrate/list.js +3 -3
- package/dist/commands/migrate/run.js +7 -7
- package/dist/commands/report.js +2 -2
- package/dist/commands/restore.js +8 -8
- package/dist/commands/snapshot.js +5 -5
- package/dist/commands/sync.js +9 -9
- package/dist/index.d.ts +7 -1
- package/dist/index.js +13 -13
- package/package.json +2 -2
package/dist/commands/restore.js
CHANGED
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
restoreFromMigrations,
|
|
6
6
|
restoreFromSnapshot,
|
|
7
7
|
summarizeStatement
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-EJBEEWGI.js";
|
|
9
|
+
import "../chunk-YCJXGDVL.js";
|
|
10
|
+
import "../chunk-4EEDB7Q3.js";
|
|
11
|
+
import "../chunk-VCNTXXEC.js";
|
|
12
12
|
import {
|
|
13
13
|
renderTip
|
|
14
14
|
} from "../chunk-RQCXGO37.js";
|
|
15
15
|
import {
|
|
16
16
|
BaseCommand
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-SQHEF5NQ.js";
|
|
18
18
|
import {
|
|
19
19
|
findLatestSnapshot,
|
|
20
20
|
listSnapshots
|
|
21
|
-
} from "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
21
|
+
} from "../chunk-TREPSQWG.js";
|
|
22
|
+
import "../chunk-56U2BYRZ.js";
|
|
23
|
+
import "../chunk-GKYJA56H.js";
|
|
24
24
|
import "../chunk-KHXEES2M.js";
|
|
25
25
|
import {
|
|
26
26
|
cmd,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backup,
|
|
3
3
|
listMigrationFiles
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-YCJXGDVL.js";
|
|
5
5
|
import {
|
|
6
6
|
renderTip
|
|
7
7
|
} from "../chunk-RQCXGO37.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseCommand
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-SQHEF5NQ.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_KEEP_COUNT,
|
|
13
13
|
captureSnapshot,
|
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
listSnapshots,
|
|
16
16
|
pruneSnapshots,
|
|
17
17
|
unrestorableSchema
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-TREPSQWG.js";
|
|
19
|
+
import "../chunk-56U2BYRZ.js";
|
|
20
|
+
import "../chunk-GKYJA56H.js";
|
|
21
21
|
import "../chunk-KHXEES2M.js";
|
|
22
22
|
import {
|
|
23
23
|
bold,
|
package/dist/commands/sync.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Diff
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-56UP3KK3.js";
|
|
4
4
|
import "../chunk-Q43MN6NE.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-OZW36QCK.js";
|
|
6
|
+
import "../chunk-JLY4IG73.js";
|
|
7
|
+
import "../chunk-VCNTXXEC.js";
|
|
8
8
|
import "../chunk-RQCXGO37.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-SQHEF5NQ.js";
|
|
10
|
+
import "../chunk-EI7EP5IU.js";
|
|
11
|
+
import "../chunk-TREPSQWG.js";
|
|
12
|
+
import "../chunk-56U2BYRZ.js";
|
|
13
|
+
import "../chunk-GKYJA56H.js";
|
|
14
14
|
import "../chunk-KHXEES2M.js";
|
|
15
15
|
import "../chunk-SQ52YBKK.js";
|
|
16
16
|
|
package/dist/index.d.ts
CHANGED
|
@@ -345,8 +345,14 @@ interface PromoteResult {
|
|
|
345
345
|
rolledBack?: (FixOrigin & {
|
|
346
346
|
sql?: string;
|
|
347
347
|
})[];
|
|
348
|
-
/**
|
|
348
|
+
/**
|
|
349
|
+
* Said before the fixes ran: they may need more locks than the target has —
|
|
350
|
+
* see lock-budget; or as they ran: triggers that fired on synced rows — see
|
|
351
|
+
* data-sync.
|
|
352
|
+
*/
|
|
349
353
|
warnings?: string[];
|
|
354
|
+
/** How the data fixes were applied: the triggers held off, the keys checked at the end — see data-sync. */
|
|
355
|
+
notes?: string[];
|
|
350
356
|
}
|
|
351
357
|
declare function promote(options: PromoteOptions): Promise<PromoteResult>;
|
|
352
358
|
|
package/dist/index.js
CHANGED
|
@@ -3,37 +3,37 @@ import {
|
|
|
3
3
|
createServer,
|
|
4
4
|
getLastScanResult,
|
|
5
5
|
setLastScanResult
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Y6JGEFSW.js";
|
|
7
7
|
import {
|
|
8
8
|
previewMigrationRestore,
|
|
9
9
|
previewSnapshotRestore,
|
|
10
10
|
restoreFromMigrations,
|
|
11
11
|
restoreFromSnapshot
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EJBEEWGI.js";
|
|
13
13
|
import {
|
|
14
14
|
backup,
|
|
15
15
|
listMigrationFiles,
|
|
16
16
|
loadMigrations
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-YCJXGDVL.js";
|
|
18
|
+
import "./chunk-JPZZL3KJ.js";
|
|
19
|
+
import "./chunk-EJMRK6LG.js";
|
|
20
|
+
import "./chunk-4EEDB7Q3.js";
|
|
21
21
|
import {
|
|
22
22
|
renderDetailed,
|
|
23
23
|
renderSummary
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OZW36QCK.js";
|
|
25
25
|
import {
|
|
26
26
|
CheckRegistry,
|
|
27
27
|
computeScore,
|
|
28
28
|
createDefaultRegistry,
|
|
29
29
|
scan,
|
|
30
30
|
summarize
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JLY4IG73.js";
|
|
32
32
|
import {
|
|
33
33
|
CHECK_META,
|
|
34
34
|
CHECK_NAMES,
|
|
35
35
|
promote
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-VCNTXXEC.js";
|
|
37
37
|
import {
|
|
38
38
|
BRANCH_DB_PREFIX,
|
|
39
39
|
branchDbName,
|
|
@@ -42,17 +42,17 @@ import {
|
|
|
42
42
|
listBranches,
|
|
43
43
|
loadManifest,
|
|
44
44
|
replaceDbName
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-EI7EP5IU.js";
|
|
46
46
|
import {
|
|
47
47
|
captureSnapshot,
|
|
48
48
|
findLatestSnapshot,
|
|
49
49
|
listSnapshots,
|
|
50
50
|
loadSnapshot
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-TREPSQWG.js";
|
|
52
|
+
import "./chunk-56U2BYRZ.js";
|
|
53
53
|
import {
|
|
54
54
|
Check
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-GKYJA56H.js";
|
|
56
56
|
import {
|
|
57
57
|
loadConfig,
|
|
58
58
|
resolveConfig,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akal/supaforge",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.49",
|
|
4
4
|
"mcpName": "io.github.akalsoftware/supaforge",
|
|
5
5
|
"description": "Diff, sync and clone Supabase and Postgres environments - schema, data, RLS, grants, storage, auth, Edge Functions, cron and more - and prove every change before it reaches production",
|
|
6
6
|
"keywords": [
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@akal/pg-conformance": "~0.0.19",
|
|
79
|
-
"@dbdiff/cli": "3.0.0-rc.
|
|
79
|
+
"@dbdiff/cli": "3.0.0-rc.41",
|
|
80
80
|
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
81
81
|
"@oclif/core": "^5.1.12",
|
|
82
82
|
"@supabase/supabase-js": "^2.103.0",
|