@prisma/orm-toolchain 8.0.0-rc.11-dev.42 → 8.0.0-rc.11-dev.43
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.d.mts +1 -1
- package/dist/cli.mjs +6 -6
- package/dist/cli.mjs.map +1 -1
- package/dist/cli__control-api.mjs +1 -1
- package/dist/{exports-DD54g3O_.mjs → exports-BuEYB5DK.mjs} +10 -3
- package/dist/exports-BuEYB5DK.mjs.map +1 -0
- package/dist/{import-roots-CCyOuQxb.mjs → import-roots-CYGb9VeC.mjs} +3 -3
- package/dist/{import-roots-CCyOuQxb.mjs.map → import-roots-CYGb9VeC.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-D5u8Xxwc-BjjqYtnQ.mjs → ref-g7LrevBG-BGeVmciu.mjs} +5 -3
- package/dist/ref-g7LrevBG-BGeVmciu.mjs.map +1 -0
- package/dist/{shells-BbMvvvf8.mjs → shells-C_vvtity.mjs} +2 -1
- package/dist/{shells-BbMvvvf8.mjs.map → shells-C_vvtity.mjs.map} +1 -1
- package/dist/vite-plugin-contract-emit.mjs +1 -1
- package/package.json +12 -12
- package/dist/exports-DD54g3O_.mjs.map +0 -1
- package/dist/ref-D5u8Xxwc-BjjqYtnQ.mjs.map +0 -1
package/dist/cli.d.mts
CHANGED
|
@@ -48,7 +48,7 @@ interface LoadOrmConfigOptions {
|
|
|
48
48
|
* The engine ships its own synchronous loader, but the bin owns the load: the
|
|
49
49
|
* ORM's c12 loader evaluates the module asynchronously and finalizes paths
|
|
50
50
|
* against the config file's own directory. It reads the same shape the engine
|
|
51
|
-
* does —
|
|
51
|
+
* does — definePrismaConfig from `@prisma/cli-engine` with the whole Prisma ORM
|
|
52
52
|
* configuration nested as the single `orm` section.
|
|
53
53
|
*
|
|
54
54
|
* Only failures that prevent evaluation entirely are diagnostics here, and
|
package/dist/cli.mjs
CHANGED
|
@@ -4,8 +4,8 @@ import { t as contractSnapshotDir } from "./contract-snapshot-store-CM9ubenX-o8k
|
|
|
4
4
|
import { t as EMPTY_CONTRACT_HASH } from "./constants-CM-w38DQ-Cz_EXbOc.mjs";
|
|
5
5
|
import { r as readRef } from "./refs-S0wu2JkI-BbFdehLe.mjs";
|
|
6
6
|
import { c as spaceMigrationDirectory } from "./verify-contract-spaces-BLkC9r9l-CJIppNL8.mjs";
|
|
7
|
-
import { i as createScaffoldSpecifierResolver } from "./import-roots-
|
|
8
|
-
import { $ as hasMigrationPath, A as errorLegendHumanOnly, At as runMigrationList, B as errorUnexpected, C as errorContractArgConflict, Ct as resolveContractRefToSnapshot, D as errorDriverRequired, Dt as runCommandAction, E as errorDestructiveChanges, F as errorPathUnreachable, Ft as toDeclaredExtensionsFromRaw, G as executeMigrateShowPlan, I as errorRunnerFailed, K as executeMigrationNewCommand, L as errorRuntime, M as errorMigrationPackageNotFound, Mt as snapshotVerifierFor, N as errorMigrationPlanningFailed, Nt as statusForMigrationHash, O as errorFileNotFound, P as errorNoMigrations, Pt as targetSupportsMigrations, Q as findPackageByDirPath, R as errorTargetMigrationNotSupported, S as errorConsentPlanMismatch, St as resolveContractRef$1, T as errorDatabaseConnectionRequired, Tt as resolveMigrationRef, V as executeContractEmit, X as executeRefListCommand, Y as executeRefDeleteCommand, Z as executeRefSetCommand, _t as refuseMissingInvariantPath, at as mapCaughtMigrationError, b as errorAdvanceRefArgConflict, bt as requireLiveDatabase, c as buildMigrationSpaceGraphEntries, ct as maskConnectionUrl, d as checkSingleTarget, dt as preflightRefAdvancement, et as listRefsByContractHash, f as chooseAction, ft as readContractEnvelope, g as deriveStatusEdgeAnnotations, gt as refuseMarkerOutsideGraph, h as createControlClient, i as advanceRefSafely, it as looksLikePath, j as errorMarkerMissing, jt as sanitizeErrorMessage, k as errorHashMismatch, kt as runMigrationCheck, l as buildReadAggregate, lt as migrationSpaceListEntriesFromAggregate, m as computeRefAdvancementName, mt as refuseContractSpaceIntegrity, n as ERROR_CODE_DESTRUCTIVE_CHANGES, nt as loadContractRawSafely, o as appliedHashesFromLedger, ot as mapContractAtError, p as closeQuietly, pt as readMigrationRefs, q as executeMigrationPlanCommand, r as NO_REF_ADVANCEMENT, rt as loadContractSpaceAggregateForCli, t as CliStructuredError$1$1, tt as loadAggregateIntegrityViolations, u as buildRefAdvancementFields, ut as originHashForStatus, vt as refusePackageCorruptionOnAggregate, w as errorContractValidationFailed, x as errorConfigValidation$1, xt as resolveAppTargetPath, y as enumerateCheckSpaces, yt as refuseUnknownInvariants, z as errorTargetMismatch } from "./ref-
|
|
7
|
+
import { i as createScaffoldSpecifierResolver } from "./import-roots-CYGb9VeC.mjs";
|
|
8
|
+
import { $ as hasMigrationPath, A as errorLegendHumanOnly, At as runMigrationList, B as errorUnexpected, C as errorContractArgConflict, Ct as resolveContractRefToSnapshot, D as errorDriverRequired, Dt as runCommandAction, E as errorDestructiveChanges, F as errorPathUnreachable, Ft as toDeclaredExtensionsFromRaw, G as executeMigrateShowPlan, I as errorRunnerFailed, K as executeMigrationNewCommand, L as errorRuntime, M as errorMigrationPackageNotFound, Mt as snapshotVerifierFor, N as errorMigrationPlanningFailed, Nt as statusForMigrationHash, O as errorFileNotFound, P as errorNoMigrations, Pt as targetSupportsMigrations, Q as findPackageByDirPath, R as errorTargetMigrationNotSupported, S as errorConsentPlanMismatch, St as resolveContractRef$1, T as errorDatabaseConnectionRequired, Tt as resolveMigrationRef, V as executeContractEmit, X as executeRefListCommand, Y as executeRefDeleteCommand, Z as executeRefSetCommand, _t as refuseMissingInvariantPath, at as mapCaughtMigrationError, b as errorAdvanceRefArgConflict, bt as requireLiveDatabase, c as buildMigrationSpaceGraphEntries, ct as maskConnectionUrl, d as checkSingleTarget, dt as preflightRefAdvancement, et as listRefsByContractHash, f as chooseAction, ft as readContractEnvelope, g as deriveStatusEdgeAnnotations, gt as refuseMarkerOutsideGraph, h as createControlClient, i as advanceRefSafely, it as looksLikePath, j as errorMarkerMissing, jt as sanitizeErrorMessage, k as errorHashMismatch, kt as runMigrationCheck, l as buildReadAggregate, lt as migrationSpaceListEntriesFromAggregate, m as computeRefAdvancementName, mt as refuseContractSpaceIntegrity, n as ERROR_CODE_DESTRUCTIVE_CHANGES, nt as loadContractRawSafely, o as appliedHashesFromLedger, ot as mapContractAtError, p as closeQuietly, pt as readMigrationRefs, q as executeMigrationPlanCommand, r as NO_REF_ADVANCEMENT, rt as loadContractSpaceAggregateForCli, t as CliStructuredError$1$1, tt as loadAggregateIntegrityViolations, u as buildRefAdvancementFields, ut as originHashForStatus, vt as refusePackageCorruptionOnAggregate, w as errorContractValidationFailed, x as errorConfigValidation$1, xt as resolveAppTargetPath, y as enumerateCheckSpaces, yt as refuseUnknownInvariants, z as errorTargetMismatch } from "./ref-g7LrevBG-BGeVmciu.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-DJ4RhlW4.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-Dp-sLUaI.mjs
|
|
40
40
|
const MISSING_CONFIG_ACTION = {
|
|
41
41
|
kind: "run-command",
|
|
42
42
|
label: "Create a config file",
|
|
@@ -4851,7 +4851,7 @@ function retriedWarning(failure) {
|
|
|
4851
4851
|
*/
|
|
4852
4852
|
/**
|
|
4853
4853
|
* The engine dependency spec a fresh scaffold installs. The scaffolded
|
|
4854
|
-
* `prisma.config.ts` imports `
|
|
4854
|
+
* `prisma.config.ts` imports `definePrismaConfig` from `@prisma/cli-engine`, and the
|
|
4855
4855
|
* installed `prisma` names the exact engine version it runs against — so
|
|
4856
4856
|
* the spec is read from the manifest the install just placed, never guessed
|
|
4857
4857
|
* from a dist-tag (whose `latest` has lagged that version before and broken
|
|
@@ -5147,7 +5147,7 @@ const lspCommand = defineServerCommand({
|
|
|
5147
5147
|
} },
|
|
5148
5148
|
handler: async (args, io) => {
|
|
5149
5149
|
const exitCode = await withoutClientProcessIdInArgv(async () => {
|
|
5150
|
-
const { startServer } = await import("./exports-
|
|
5150
|
+
const { startServer } = await import("./exports-BuEYB5DK.mjs");
|
|
5151
5151
|
return startServer({
|
|
5152
5152
|
stdin: io.stdin,
|
|
5153
5153
|
stdout: io.stdout,
|
|
@@ -9679,7 +9679,7 @@ const ORM_CONFIG_FILENAME = "prisma.config.ts";
|
|
|
9679
9679
|
* The engine ships its own synchronous loader, but the bin owns the load: the
|
|
9680
9680
|
* ORM's c12 loader evaluates the module asynchronously and finalizes paths
|
|
9681
9681
|
* against the config file's own directory. It reads the same shape the engine
|
|
9682
|
-
* does —
|
|
9682
|
+
* does — definePrismaConfig from `@prisma/cli-engine` with the whole Prisma ORM
|
|
9683
9683
|
* configuration nested as the single `orm` section.
|
|
9684
9684
|
*
|
|
9685
9685
|
* Only failures that prevent evaluation entirely are diagnostics here, and
|