@prisma/cli 8.0.0-rc.13-dev.94 → 8.0.0-rc.13-dev.95

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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -2
  2. package/package.json +7 -5
package/dist/cli.js CHANGED
@@ -27,6 +27,7 @@ import { fileURLToPath } from "node:url";
27
27
  import { execa } from "execa";
28
28
  import { Writable } from "node:stream";
29
29
  import { pipeline } from "node:stream/promises";
30
+ import spawn$1 from "cross-spawn";
30
31
  //#region \0rolldown/runtime.js
31
32
  var __create = Object.create;
32
33
  var __defProp = Object.defineProperty;
@@ -14244,7 +14245,7 @@ const runPackageManager = async ({ file, args, cwd, signal, onOutput }) => {
14244
14245
  * must not wait on it, so the pipes are destroyed after this grace. */
14245
14246
  const POST_EXIT_DRAIN_GRACE_MS = 5e3;
14246
14247
  /**
14247
- * The engine's spawn seam, adapted to node:child_process. Human mode
14248
+ * The engine's spawn seam, adapted through cross-spawn. Human mode
14248
14249
  * inherits stdio; structured mode pipes both child output streams to
14249
14250
  * diagnostics. Neither mode detaches or opens a new console, so the child
14250
14251
  * stays in this process's group (POSIX) or console (Windows).
@@ -14258,7 +14259,7 @@ function makeSpawnChild(diagnostics, options) {
14258
14259
  const drainGraceMs = options?.drainGraceMs ?? POST_EXIT_DRAIN_GRACE_MS;
14259
14260
  return (request) => {
14260
14261
  const structured = request.output === "diagnostic";
14261
- const child = spawn(request.command, [...request.args], {
14262
+ const child = spawn$1(request.command, [...request.args], {
14262
14263
  cwd: request.cwd,
14263
14264
  env: request.env,
14264
14265
  stdio: structured ? [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/cli",
3
- "version": "8.0.0-rc.13-dev.94",
3
+ "version": "8.0.0-rc.13-dev.95",
4
4
  "description": "Command-line interface for the Prisma Developer Platform.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -44,9 +44,10 @@
44
44
  "@prisma/composer-cli": "0.17.0-dev.2",
45
45
  "@prisma/compute-sdk": "0.42.0",
46
46
  "@prisma/management-api-sdk": "1.69.0",
47
- "@prisma/orm-toolchain": "8.0.0-rc.8-dev.18",
47
+ "@prisma/orm-toolchain": "8.0.0-rc.9-dev.1",
48
48
  "@vercel/detect-agent": "^1.2.3",
49
49
  "better-result": "^2.9.2",
50
+ "cross-spawn": "^7.0.6",
50
51
  "dotenv": "^17.4.2",
51
52
  "execa": "^9.6.1",
52
53
  "open": "^11.0.0"
@@ -54,10 +55,11 @@
54
55
  "devDependencies": {
55
56
  "@prisma/composer": "0.17.0-dev.2",
56
57
  "@prisma/credentials-store": "^7.8.0",
57
- "@repo/cli-conformance": "8.0.0-rc.13-dev.94",
58
- "@repo/cli-telemetry": "8.0.0-rc.13-dev.94",
59
- "@repo/tsconfig": "8.0.0-rc.13-dev.94",
58
+ "@repo/cli-conformance": "8.0.0-rc.13-dev.95",
59
+ "@repo/cli-telemetry": "8.0.0-rc.13-dev.95",
60
+ "@repo/tsconfig": "8.0.0-rc.13-dev.95",
60
61
  "@types/node": "^22.19.19",
62
+ "@types/cross-spawn": "^6.0.6",
61
63
  "tsdown": "^0.21.10",
62
64
  "tsx": "^4.22.4",
63
65
  "typescript": "^6.0.3",