@prisma/orm-toolchain 8.0.0-rc.11-dev.16 → 8.0.0-rc.11-dev.18
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 +4 -3
- package/dist/cli.mjs.map +1 -1
- package/dist/cli__control-api.mjs +1 -1
- package/dist/{import-roots-BHOrDJbI.mjs → import-roots-DK5SffvZ.mjs} +2 -2
- package/dist/{import-roots-BHOrDJbI.mjs.map → import-roots-DK5SffvZ.mjs.map} +1 -1
- package/dist/publish-surface.mjs +2 -2
- package/dist/publish-surface__import-roots.mjs +1 -1
- package/dist/publish-surface__shells.mjs +1 -1
- package/dist/{ref-DSvAirqq-oqBwkhgP.mjs → ref-fSTPpdt3-BulCTZne.mjs} +62 -13
- package/dist/ref-fSTPpdt3-BulCTZne.mjs.map +1 -0
- package/dist/{shells-BIdFZwUY.mjs → shells-Bx5Y1_Qa.mjs} +51 -3
- package/dist/shells-Bx5Y1_Qa.mjs.map +1 -0
- package/dist/vite-plugin-contract-emit.mjs +1 -1
- package/package.json +12 -12
- package/dist/ref-DSvAirqq-oqBwkhgP.mjs.map +0 -1
- package/dist/shells-BIdFZwUY.mjs.map +0 -1
package/dist/cli.mjs
CHANGED
|
@@ -4,8 +4,8 @@ import { t as contractSnapshotDir } from "./contract-snapshot-store-D-mFkiHR-CFl
|
|
|
4
4
|
import { t as EMPTY_CONTRACT_HASH } from "./constants-CM-w38DQ-Cz_EXbOc.mjs";
|
|
5
5
|
import { r as readRef } from "./refs-BpSpzdYB-BcDelHGt.mjs";
|
|
6
6
|
import { c as spaceMigrationDirectory } from "./verify-contract-spaces-_vwt5LT0-BQAf8Q4T.mjs";
|
|
7
|
-
import { i as createScaffoldSpecifierResolver } from "./import-roots-
|
|
8
|
-
import { $ as listRefsByContractHash, A as errorMarkerMissing, At as sanitizeErrorMessage, B as executeContractEmit, C as errorContractValidationFailed, D as errorFileNotFound, E as errorDriverRequired, Et as runCommandAction, F as errorRunnerFailed, G as executeMigrationNewCommand, I as errorRuntime, J as executeRefDeleteCommand, K as executeMigrationPlanCommand, L as errorTargetMigrationNotSupported, M as errorMigrationPlanningFailed, Mt as targetSupportsMigrations, N as errorNoMigrations, Nt as toDeclaredExtensionsFromRaw, O as errorHashMismatch, Ot as runMigrationCheck, P as errorPathUnreachable, Q as hasMigrationPath, R as errorTargetMismatch, S as errorContractArgConflict, St as resolveContractRefToSnapshot, T as errorDestructiveChanges, W as executeMigrateShowPlan, X as executeRefSetCommand, Y as executeRefListCommand, Z as findPackageByDirPath, _t as refusePackageCorruptionOnAggregate, a as appliedHashesFromLedger, at as mapContractAtError, b as errorConfigValidation$1, bt as resolveAppTargetPath, c as buildReadAggregate, ct as migrationSpaceListEntriesFromAggregate, d as chooseAction, dt as readContractEnvelope, et as loadAggregateIntegrityViolations, f as closeQuietly, ft as readMigrationRefs, gt as refuseMissingInvariantPath, h as deriveStatusEdgeAnnotations, ht as refuseMarkerOutsideGraph, it as mapCaughtMigrationError, j as errorMigrationPackageNotFound, jt as statusForMigrationHash, k as errorLegendHumanOnly, kt as runMigrationList, l as buildRefAdvancementFields, lt as originHashForStatus, m as createControlClient, n as NO_REF_ADVANCEMENT, nt as loadContractSpaceAggregateForCli, p as computeRefAdvancementName, pt as refuseContractSpaceIntegrity, r as advanceRefSafely, rt as looksLikePath, s as buildMigrationSpaceGraphEntries, st as maskConnectionUrl, t as CliStructuredError$1$1, tt as loadContractRawSafely, u as checkSingleTarget, ut as preflightRefAdvancement, v as enumerateCheckSpaces, vt as refuseUnknownInvariants, w as errorDatabaseConnectionRequired, wt as resolveMigrationRef, x as errorConsentPlanMismatch, xt as resolveContractRef$1, y as errorAdvanceRefArgConflict, yt as requireLiveDatabase, z as errorUnexpected } from "./ref-
|
|
7
|
+
import { i as createScaffoldSpecifierResolver } from "./import-roots-DK5SffvZ.mjs";
|
|
8
|
+
import { $ as listRefsByContractHash, A as errorMarkerMissing, At as sanitizeErrorMessage, B as executeContractEmit, C as errorContractValidationFailed, D as errorFileNotFound, E as errorDriverRequired, Et as runCommandAction, F as errorRunnerFailed, G as executeMigrationNewCommand, I as errorRuntime, J as executeRefDeleteCommand, K as executeMigrationPlanCommand, L as errorTargetMigrationNotSupported, M as errorMigrationPlanningFailed, Mt as targetSupportsMigrations, N as errorNoMigrations, Nt as toDeclaredExtensionsFromRaw, O as errorHashMismatch, Ot as runMigrationCheck, P as errorPathUnreachable, Q as hasMigrationPath, R as errorTargetMismatch, S as errorContractArgConflict, St as resolveContractRefToSnapshot, T as errorDestructiveChanges, W as executeMigrateShowPlan, X as executeRefSetCommand, Y as executeRefListCommand, Z as findPackageByDirPath, _t as refusePackageCorruptionOnAggregate, a as appliedHashesFromLedger, at as mapContractAtError, b as errorConfigValidation$1, bt as resolveAppTargetPath, c as buildReadAggregate, ct as migrationSpaceListEntriesFromAggregate, d as chooseAction, dt as readContractEnvelope, et as loadAggregateIntegrityViolations, f as closeQuietly, ft as readMigrationRefs, gt as refuseMissingInvariantPath, h as deriveStatusEdgeAnnotations, ht as refuseMarkerOutsideGraph, it as mapCaughtMigrationError, j as errorMigrationPackageNotFound, jt as statusForMigrationHash, k as errorLegendHumanOnly, kt as runMigrationList, l as buildRefAdvancementFields, lt as originHashForStatus, m as createControlClient, n as NO_REF_ADVANCEMENT, nt as loadContractSpaceAggregateForCli, p as computeRefAdvancementName, pt as refuseContractSpaceIntegrity, r as advanceRefSafely, rt as looksLikePath, s as buildMigrationSpaceGraphEntries, st as maskConnectionUrl, t as CliStructuredError$1$1, tt as loadContractRawSafely, u as checkSingleTarget, ut as preflightRefAdvancement, v as enumerateCheckSpaces, vt as refuseUnknownInvariants, w as errorDatabaseConnectionRequired, wt as resolveMigrationRef, x as errorConsentPlanMismatch, xt as resolveContractRef$1, y as errorAdvanceRefArgConflict, yt as requireLiveDatabase, z as errorUnexpected } from "./ref-fSTPpdt3-BulCTZne.mjs";
|
|
9
9
|
import { n as buildNextSteps, t as InitOutputSchema } from "./output-D83nTTpC-XlvN30yS.mjs";
|
|
10
10
|
import { r as loadConfig, t as finalizeConfig } from "./exports-Do7_pH8Y.mjs";
|
|
11
11
|
import { createRequire } from "node:module";
|
|
@@ -36,7 +36,7 @@ import { applyEdits, modify, parse, printParseErrorCode } from "jsonc-parser";
|
|
|
36
36
|
import stringWidth from "string-width";
|
|
37
37
|
import { bold, createColors, cyan, cyanBright, dim, green, yellow } from "colorette";
|
|
38
38
|
import { build } from "esbuild";
|
|
39
|
-
//#region ../../../1-framework/3-tooling/cli/dist/load-config-
|
|
39
|
+
//#region ../../../1-framework/3-tooling/cli/dist/load-config-Bo926R66.mjs
|
|
40
40
|
const MISSING_CONFIG_ACTION = {
|
|
41
41
|
kind: "run-command",
|
|
42
42
|
label: "Create a config file",
|
|
@@ -231,6 +231,7 @@ function normalizeError(error) {
|
|
|
231
231
|
return new CliStructuredError$1(diagnostic.code, diagnostic.summary, {
|
|
232
232
|
severity: diagnostic.severity,
|
|
233
233
|
nextActions: diagnostic.nextActions,
|
|
234
|
+
...ifDefined("diagnostics", error.diagnostics),
|
|
234
235
|
...ifDefined("why", diagnostic.why),
|
|
235
236
|
...ifDefined("where", diagnostic.where),
|
|
236
237
|
...ifDefined("meta", diagnostic.meta),
|