prisma-next 0.12.0-dev.21 → 0.12.0-dev.23
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/dist/cli.mjs +5 -5
- package/dist/{client-Cdxcme1x.mjs → client-BHe8szOW.mjs} +4 -4
- package/dist/{client-Cdxcme1x.mjs.map → client-BHe8szOW.mjs.map} +1 -1
- package/dist/commands/contract-infer.mjs +1 -1
- package/dist/commands/db-init.mjs +2 -2
- package/dist/commands/db-schema.mjs +1 -1
- package/dist/commands/db-sign.mjs +1 -1
- package/dist/commands/db-update.mjs +2 -2
- package/dist/commands/db-verify.mjs +1 -1
- package/dist/commands/migrate.mjs +1 -1
- package/dist/commands/migration-graph.mjs +164 -1
- package/dist/commands/migration-graph.mjs.map +1 -0
- package/dist/commands/migration-list.d.mts.map +1 -1
- package/dist/commands/migration-list.mjs +4 -6
- package/dist/commands/migration-list.mjs.map +1 -1
- package/dist/commands/migration-log.d.mts +4 -16
- package/dist/commands/migration-log.d.mts.map +1 -1
- package/dist/commands/migration-log.mjs +1 -137
- package/dist/commands/migration-show.mjs +1 -1
- package/dist/commands/migration-status.mjs +1 -1
- package/dist/{contract-infer-DaFPNrZH.mjs → contract-infer-OCn12Zvn.mjs} +2 -2
- package/dist/{contract-infer-DaFPNrZH.mjs.map → contract-infer-OCn12Zvn.mjs.map} +1 -1
- package/dist/{db-verify-BSA1a_W_.mjs → db-verify-DJxengYP.mjs} +2 -2
- package/dist/{db-verify-BSA1a_W_.mjs.map → db-verify-DJxengYP.mjs.map} +1 -1
- package/dist/exports/control-api.mjs +1 -1
- package/dist/{inspect-live-schema-Dn56wDhG.mjs → inspect-live-schema-DVZlDlnF.mjs} +2 -2
- package/dist/{inspect-live-schema-Dn56wDhG.mjs.map → inspect-live-schema-DVZlDlnF.mjs.map} +1 -1
- package/dist/{migration-command-scaffold-V52dV2Tv.mjs → migration-command-scaffold-Cs7Ky-m5.mjs} +2 -2
- package/dist/{migration-command-scaffold-V52dV2Tv.mjs.map → migration-command-scaffold-Cs7Ky-m5.mjs.map} +1 -1
- package/dist/{migration-graph-DKl_IYsF.mjs → migration-graph-tree-render-BQdhKBO8.mjs} +405 -165
- package/dist/migration-graph-tree-render-BQdhKBO8.mjs.map +1 -0
- package/dist/migration-log-BzPmks3c.mjs +203 -0
- package/dist/migration-log-BzPmks3c.mjs.map +1 -0
- package/package.json +11 -11
- package/dist/commands/migration-log.mjs.map +0 -1
- package/dist/migration-graph-DKl_IYsF.mjs.map +0 -1
- package/dist/migration-list-styler-COQbZmXk.mjs +0 -414
- package/dist/migration-list-styler-COQbZmXk.mjs.map +0 -1
package/dist/cli.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { C as isCI, T as formatRootHelp, _ as parseGlobalFlagsOrExit, g as parseGlobalFlags, h as deriveCanPrompt, l as setCommandDescriptions, t as addGlobalOptions, u as setCommandExamples, w as formatCommandHelp, y as installShutdownHandlers } from "./command-helpers-Cmdqyhz9.mjs";
|
|
3
3
|
import { t as createContractEmitCommand } from "./contract-emit-DPMij44i.mjs";
|
|
4
|
-
import { t as createContractInferCommand } from "./contract-infer-
|
|
4
|
+
import { t as createContractInferCommand } from "./contract-infer-OCn12Zvn.mjs";
|
|
5
5
|
import { createDbInitCommand } from "./commands/db-init.mjs";
|
|
6
6
|
import { createDbSchemaCommand } from "./commands/db-schema.mjs";
|
|
7
7
|
import { createDbSignCommand } from "./commands/db-sign.mjs";
|
|
8
8
|
import { createDbUpdateCommand } from "./commands/db-update.mjs";
|
|
9
|
-
import { t as createDbVerifyCommand } from "./db-verify-
|
|
9
|
+
import { t as createDbVerifyCommand } from "./db-verify-DJxengYP.mjs";
|
|
10
10
|
import { createMigrateCommand } from "./commands/migrate.mjs";
|
|
11
11
|
import { t as createMigrationCheckCommand } from "./migration-check-DzH1u-O1.mjs";
|
|
12
|
-
import {
|
|
12
|
+
import { createMigrationGraphCommand } from "./commands/migration-graph.mjs";
|
|
13
13
|
import { createMigrationListCommand } from "./commands/migration-list.mjs";
|
|
14
|
-
import { createMigrationLogCommand } from "./
|
|
14
|
+
import { t as createMigrationLogCommand } from "./migration-log-BzPmks3c.mjs";
|
|
15
15
|
import { createMigrationNewCommand } from "./commands/migration-new.mjs";
|
|
16
16
|
import { t as createMigrationPlanCommand } from "./migration-plan-CaeKCKp4.mjs";
|
|
17
17
|
import { createMigrationShowCommand } from "./commands/migration-show.mjs";
|
|
@@ -24,7 +24,7 @@ import { ensureInstallationId, readUserConfig, resolveGating, runTelemetry, user
|
|
|
24
24
|
import { distance } from "closest-match";
|
|
25
25
|
import { fileURLToPath } from "node:url";
|
|
26
26
|
//#region package.json
|
|
27
|
-
var version = "0.12.0-dev.
|
|
27
|
+
var version = "0.12.0-dev.23";
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/commands/init/templates/code-templates.ts
|
|
30
30
|
function targetPackageName(target) {
|
|
@@ -1307,12 +1307,12 @@ var ControlClientImpl = class {
|
|
|
1307
1307
|
const { driver, familyInstance } = await this.ensureConnected();
|
|
1308
1308
|
return familyInstance.readAllMarkers({ driver });
|
|
1309
1309
|
}
|
|
1310
|
-
/** Reads the per-migration journal
|
|
1311
|
-
async readLedger(space
|
|
1310
|
+
/** Reads the per-migration journal; omit `space` to return every space. */
|
|
1311
|
+
async readLedger(space) {
|
|
1312
1312
|
const { driver, familyInstance } = await this.ensureConnected();
|
|
1313
1313
|
return familyInstance.readLedger({
|
|
1314
1314
|
driver,
|
|
1315
|
-
space
|
|
1315
|
+
...ifDefined("space", space)
|
|
1316
1316
|
});
|
|
1317
1317
|
}
|
|
1318
1318
|
async migrationApply(options) {
|
|
@@ -1506,4 +1506,4 @@ var ControlClientImpl = class {
|
|
|
1506
1506
|
//#endregion
|
|
1507
1507
|
export { ContractValidationError as a, executeDbInit as i, executeDbVerify as n, executeDbUpdate as r, createControlClient as t };
|
|
1508
1508
|
|
|
1509
|
-
//# sourceMappingURL=client-
|
|
1509
|
+
//# sourceMappingURL=client-BHe8szOW.mjs.map
|