@prisma/cli 8.0.0-rc.13-dev.93 → 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.
- package/dist/cli.js +5 -3
- 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;
|
|
@@ -1823,7 +1824,8 @@ const SKILL_SOURCE_PACKAGES = [
|
|
|
1823
1824
|
"@prisma/orm-postgres",
|
|
1824
1825
|
"@prisma/orm-sqlite",
|
|
1825
1826
|
"@prisma/orm-mongo",
|
|
1826
|
-
"@prisma/composer"
|
|
1827
|
+
"@prisma/composer",
|
|
1828
|
+
"prisma"
|
|
1827
1829
|
];
|
|
1828
1830
|
/** The directory inside a source package's tarball that holds its skill
|
|
1829
1831
|
* trees, one directory per skill. */
|
|
@@ -14243,7 +14245,7 @@ const runPackageManager = async ({ file, args, cwd, signal, onOutput }) => {
|
|
|
14243
14245
|
* must not wait on it, so the pipes are destroyed after this grace. */
|
|
14244
14246
|
const POST_EXIT_DRAIN_GRACE_MS = 5e3;
|
|
14245
14247
|
/**
|
|
14246
|
-
* The engine's spawn seam, adapted
|
|
14248
|
+
* The engine's spawn seam, adapted through cross-spawn. Human mode
|
|
14247
14249
|
* inherits stdio; structured mode pipes both child output streams to
|
|
14248
14250
|
* diagnostics. Neither mode detaches or opens a new console, so the child
|
|
14249
14251
|
* stays in this process's group (POSIX) or console (Windows).
|
|
@@ -14257,7 +14259,7 @@ function makeSpawnChild(diagnostics, options) {
|
|
|
14257
14259
|
const drainGraceMs = options?.drainGraceMs ?? POST_EXIT_DRAIN_GRACE_MS;
|
|
14258
14260
|
return (request) => {
|
|
14259
14261
|
const structured = request.output === "diagnostic";
|
|
14260
|
-
const child = spawn(request.command, [...request.args], {
|
|
14262
|
+
const child = spawn$1(request.command, [...request.args], {
|
|
14261
14263
|
cwd: request.cwd,
|
|
14262
14264
|
env: request.env,
|
|
14263
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.
|
|
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.
|
|
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.
|
|
58
|
-
"@repo/cli-telemetry": "8.0.0-rc.13-dev.
|
|
59
|
-
"@repo/tsconfig": "8.0.0-rc.13-dev.
|
|
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",
|