@prisma/orm-toolchain 8.0.0-rc.24-dev.9 → 8.0.0-rc.24-dev.10

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 CHANGED
@@ -9,9 +9,9 @@ import { r as getEmittedArtifactPaths } from "./exports-CVgs3YWV-BF4rqnxF.mjs";
9
9
  import { r as isInSpaceHistory } from "./graph-membership-DxpNgxfZ-BfqA-H7V.mjs";
10
10
  import { d as writeRef, r as readRef } from "./refs-DM3q3IZC-BC6H6P0X.mjs";
11
11
  import { a as contractHashAtMarker } from "./aggregate-BIjV2dM9.mjs";
12
- import { i as createScaffoldSpecifierResolver } from "./import-roots-CWlCTZJ9.mjs";
12
+ import { i as createScaffoldSpecifierResolver } from "./import-roots-Dqs1_cn4.mjs";
13
13
  import { o as isLiveMarkerRef } from "./ref-resolution-Eo0QHp4f.mjs";
14
- import { $ as refuseContractSpaceIntegrity, A as executeRefDeleteCommand, B as loadAggregateIntegrityViolations, Ct as withWarningFindings, D as executeMigrationNewCommand, E as executeMigrateShowPlan, F as hasMigrationPath, G as looksLikePath, H as loadContractSource, I as isStatementVerb, J as matchConsents, K as mapContractAtError, L as labelsText, M as executeRefSetCommand, N as findPackageByDirPath, O as executeMigrationPlanCommand, P as formatSourceDiagnostic, Q as readMigrationRefs, R as listRefsByContractHash, St as validateLoadedContract, U as loadContractSourceWithStack, V as loadContractRawSafely, W as loadContractSpaceAggregateForCli, X as planEverySpace, Y as migrationSpaceListEntriesFromAggregate, Z as preflightRefAdvancement, _ as deriveStatusEdgeAnnotations, _t as skippedOperationsText, a as advanceRefSafely, at as requireDatabaseForLiveMarkerUse, b as enumerateCheckSpaces, bt as statusForMigrationHash, ct as resolveContractRefToSnapshot, d as buildRefAdvancementFields, f as checkSingleTarget, g as createControlClient, gt as runMigrationList, h as convertAndDelete, ht as runMigrationCheck, i as RECORDED_OR_EMPTY_CONTRACT_REF_FORMS, it as renamedAndDeleted, j as executeRefListCommand, l as buildMigrationSpaceGraphEntries, m as contractValidationMeta, n as NO_REF_ADVANCEMENT, nt as refusePackageCorruptionOnAggregate, ot as resolveAppTargetPath, p as computeRefAdvancementName, pt as retryCommandFor, r as RECORDED_CONTRACT_REF_FORMS, rt as refuseUnknownInvariants, s as appliedHashesFromLedger, st as resolveContractRef$1, t as ALL_CONTRACT_REF_FORMS, tt as refuseMissingInvariantPath, u as buildReadAggregate, ut as resolveMigrationRef, vt as snapshotVerifierFor, x as executeContractEmit, xt as toDeclaredExtensionsFromRaw, yt as sourceWarningDiagnostic, z as liveMarkerUse } from "./ref-DH9J_oNY-CipATbYR.mjs";
14
+ import { $ as refuseContractSpaceIntegrity, A as executeRefDeleteCommand, B as loadAggregateIntegrityViolations, Ct as withWarningFindings, D as executeMigrationNewCommand, E as executeMigrateShowPlan, F as hasMigrationPath, G as looksLikePath, H as loadContractSource, I as isStatementVerb, J as matchConsents, K as mapContractAtError, L as labelsText, M as executeRefSetCommand, N as findPackageByDirPath, O as executeMigrationPlanCommand, P as formatSourceDiagnostic, Q as readMigrationRefs, R as listRefsByContractHash, St as validateLoadedContract, U as loadContractSourceWithStack, V as loadContractRawSafely, W as loadContractSpaceAggregateForCli, X as planEverySpace, Y as migrationSpaceListEntriesFromAggregate, Z as preflightRefAdvancement, _ as deriveStatusEdgeAnnotations, _t as skippedOperationsText, a as advanceRefSafely, at as requireDatabaseForLiveMarkerUse, b as enumerateCheckSpaces, bt as statusForMigrationHash, ct as resolveContractRefToSnapshot, d as buildRefAdvancementFields, f as checkSingleTarget, g as createControlClient, gt as runMigrationList, h as convertAndDelete, ht as runMigrationCheck, i as RECORDED_OR_EMPTY_CONTRACT_REF_FORMS, it as renamedAndDeleted, j as executeRefListCommand, l as buildMigrationSpaceGraphEntries, m as contractValidationMeta, n as NO_REF_ADVANCEMENT, nt as refusePackageCorruptionOnAggregate, ot as resolveAppTargetPath, p as computeRefAdvancementName, pt as retryCommandFor, r as RECORDED_CONTRACT_REF_FORMS, rt as refuseUnknownInvariants, s as appliedHashesFromLedger, st as resolveContractRef$1, t as ALL_CONTRACT_REF_FORMS, tt as refuseMissingInvariantPath, u as buildReadAggregate, ut as resolveMigrationRef, vt as snapshotVerifierFor, x as executeContractEmit, xt as toDeclaredExtensionsFromRaw, yt as sourceWarningDiagnostic, z as liveMarkerUse } from "./ref-DH9J_oNY-DCRv3zP6.mjs";
15
15
  import { a as PRISMA7_QUICK_REFERENCE_STEP, i as PRISMA7_LOOP_STEP, n as InitOutputSchema, o as buildNextSteps, r as NEXT_STEPS_BEFORE_SCAFFOLD, t as DB_SIGN_STEP } from "./output-BcC8eB0h-C5bRd-aC.mjs";
16
16
  import { a as resolveGating, i as readUserConfig, r as ensureInstallationId, s as runTelemetry, u as userConfigPath } from "./exports-DwuO4y2c.mjs";
17
17
  import { createRequire } from "node:module";
@@ -43,8 +43,8 @@ import stringWidth from "string-width";
43
43
  import { bold, createColors, cyan, cyanBright, dim, green, yellow } from "colorette";
44
44
  import { isCI } from "ci-info";
45
45
  import { build } from "esbuild";
46
- //#region ../../../1-framework/3-tooling/cli/dist/cli-DgWdOZT0.mjs
47
- var version = "8.0.0-rc.24-dev.9";
46
+ //#region ../../../1-framework/3-tooling/cli/dist/cli-DmCQBuOj.mjs
47
+ var version = "8.0.0-rc.24-dev.10";
48
48
  const ESCAPES = {
49
49
  "\\": "\\\\",
50
50
  " ": "\\t",
@@ -4439,16 +4439,17 @@ export const db = ${factory}({
4439
4439
  }
4440
4440
  /**
4441
4441
  * The minimum supported server version for each target. The
4442
- * authoritative source of truth is each target package's
4443
- * `package.json#prismaNext.minServerVersion` field — this module
4444
- * mirrors those values and a workspace-level test asserts the two
4445
- * never drift (`templates/tsconfig-env.test.ts`).
4442
+ * authoritative source of truth is the constant each target package
4443
+ * exports from its `server-version` entry point (for example
4444
+ * `POSTGRES_MIN_SERVER_VERSION`) —
4445
+ * this module mirrors those values and an integration test asserts the
4446
+ * two never drift (`test/integration/test/cli.init-min-server-version.test.ts`).
4446
4447
  *
4447
4448
  * Bumping a value here in isolation is **not** safe: edit the
4448
- * corresponding target package's `package.json` first, then mirror
4449
- * here. The scaffold's `.env.example` and the "Requirements" section
4450
- * of `prisma-8.md` both read from this constant, so a stale value
4451
- * lies to every freshly initialised user.
4449
+ * corresponding target package's constant first, then mirror here.
4450
+ * The scaffold's `.env.example` and the "Requirements" section of
4451
+ * `prisma-8.md` both read from this constant, so a stale value lies to
4452
+ * every freshly initialised user.
4452
4453
  */
4453
4454
  const MIN_SERVER_VERSION = {
4454
4455
  postgres: "15",
@@ -5803,7 +5804,7 @@ function quickReferenceMd(target, authoring, schemaPath, pkgRun, resolveImportSp
5803
5804
  * Renders the FR8.2 "Requirements" block injected into `prisma-8.md`
5804
5805
  * (the user-facing quick reference). Sources the minimum server
5805
5806
  * version from `MIN_SERVER_VERSION` — itself mirrored from each
5806
- * target package's `package.json#prismaNext.minServerVersion`
5807
+ * target package's `server-version` export
5807
5808
  * (FR8.1).
5808
5809
  *
5809
5810
  * The verification command is target-specific — Postgres scaffolds