@prisma/orm-toolchain 8.0.0-rc.2-dev.1 → 8.0.0-rc.2-dev.3

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
@@ -32,8 +32,8 @@ import stringWidth from "string-width";
32
32
  import { bold, createColors, cyan, cyanBright, dim, green, yellow } from "colorette";
33
33
  import { pathToFileURL } from "node:url";
34
34
  import { build } from "esbuild";
35
- //#region ../../../1-framework/3-tooling/cli/dist/load-config-A8Af3NN6.mjs
36
- var version = "8.0.0-rc.2-dev.1";
35
+ //#region ../../../1-framework/3-tooling/cli/dist/load-config-Dd4eefXD.mjs
36
+ var version = "8.0.0-rc.2-dev.3";
37
37
  const MISSING_CONFIG_ACTION = {
38
38
  kind: "run-command",
39
39
  label: "Create a config file",
@@ -7979,7 +7979,10 @@ function renderMigrationGraphDot(graph) {
7979
7979
  }
7980
7980
  /**
7981
7981
  * The tree is a drawing for a reader; the DOT document is a graph description
7982
- * for another program, so it is the one thing here that belongs on stdout.
7982
+ * for another program, so it is also the stdout payload. It appears in both
7983
+ * surfaces because the engine treats the payload as a mirror of the human
7984
+ * output: on one shared screen it suppresses the stdout copy, so the human
7985
+ * block is what keeps `--dot` visible there, while split sinks receive both.
7983
7986
  */
7984
7987
  function graphPresentations(inputs) {
7985
7988
  const { tree, dot, legend } = inputs;
@@ -8002,6 +8005,10 @@ function graphPresentations(inputs) {
8002
8005
  kind: "drawing",
8003
8006
  lines: toneDrawing(tree)
8004
8007
  }],
8008
+ ...dot === void 0 ? [] : [{
8009
+ kind: "drawing",
8010
+ lines: dot.split("\n")
8011
+ }],
8005
8012
  ...legend === void 0 ? [] : [{
8006
8013
  kind: "drawing",
8007
8014
  lines: toneDrawing(legend)