@prisma/cli-engine 0.8.0 → 0.9.0
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/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The execution engine of the unified Prisma CLI: it owns the path from argv to exit code — parsing, execution, rendering, and error handling.
|
|
4
4
|
|
|
5
|
-
Every command describes its output once, as blocks, and the engine renders it in one of three formats chosen by `--format`: `human` for a person at a terminal (padded, aligned, coloured, on stderr, with the machine-usable data lines on stdout), `json` for a program (a stream of frames ending in a result envelope on stdout), and `markdown` for an agent that reads the output as text (plain Markdown with every value labelled, everything on stdout, nothing on stderr).
|
|
5
|
+
Every command describes its output once, as blocks, and the engine renders it in one of three formats chosen by `--format`: `human` for a person at a terminal (padded, aligned, coloured, on stderr, with the machine-usable data lines on stdout), `json` for a program (a stream of frames ending in a result envelope on stdout), and `markdown` for an agent that reads the output as text (plain Markdown with every value labelled, everything on stdout, nothing on stderr). Without a format flag the format is `human`, whether stdout is a terminal or a pipe: a pipe receives the command's data lines and nothing else. `json` and `markdown` are only ever explicit.
|
|
6
6
|
|
|
7
7
|
## Entry points
|
|
8
8
|
|
|
@@ -1230,6 +1230,12 @@ function runCommand(manager, request) {
|
|
|
1230
1230
|
//#endregion
|
|
1231
1231
|
//#region src/presentation.ts
|
|
1232
1232
|
const PRESENTED = Symbol.for("prisma.cli-engine.presented");
|
|
1233
|
+
/** The `stdout` of a command whose only result is that it succeeded,
|
|
1234
|
+
* such as a delete. The reason says why the command has no data, where
|
|
1235
|
+
* its presentation is defined. */
|
|
1236
|
+
function noDataLines(_reason) {
|
|
1237
|
+
return () => [];
|
|
1238
|
+
}
|
|
1233
1239
|
//#endregion
|
|
1234
1240
|
//#region src/credential-manager.ts
|
|
1235
1241
|
/** The environment variables that supply a credential to a process: a
|
|
@@ -2110,12 +2116,13 @@ const SHARED_ALIASES = {
|
|
|
2110
2116
|
};
|
|
2111
2117
|
/** The pre-parse format decision: json framing must be in effect before
|
|
2112
2118
|
* stricli parses (its own failure output is framed too), so the format
|
|
2113
|
-
* flags are read from raw argv
|
|
2114
|
-
|
|
2115
|
-
|
|
2119
|
+
* flags are read from raw argv. Where stdout goes never picks the
|
|
2120
|
+
* format: a pipe gets human output, whose stdout is the data lines. */
|
|
2121
|
+
function sniffFormat(argv) {
|
|
2122
|
+
return formatFlagGiven(argv) ?? "human";
|
|
2116
2123
|
}
|
|
2117
2124
|
function applySharedFlags(state, shared, runtime) {
|
|
2118
|
-
state.format = shared.format ??
|
|
2125
|
+
state.format = shared.format ?? (shared.json === true ? "json" : "human");
|
|
2119
2126
|
state.yes = shared.yes === true;
|
|
2120
2127
|
state.confirmValues = [...shared.confirm ?? []];
|
|
2121
2128
|
state.interactive = shared.interactive ?? defaultInteractive(runtime);
|
|
@@ -2146,10 +2153,6 @@ function resolveColorEnabled(shared, runtime) {
|
|
|
2146
2153
|
function defaultInteractive(runtime) {
|
|
2147
2154
|
return runtime.isTty.stdin && !resolveIsCI(runtime);
|
|
2148
2155
|
}
|
|
2149
|
-
function resolveAutoFormat(shared, runtime) {
|
|
2150
|
-
if (shared.json === true) return "json";
|
|
2151
|
-
return runtime.isTty.stdout ? "human" : "json";
|
|
2152
|
-
}
|
|
2153
2156
|
/** --quiet and --verbose are log-level shorthands; either one beats an
|
|
2154
2157
|
* explicit --log-level given alongside it. */
|
|
2155
2158
|
function resolveLogLevel(shared) {
|
|
@@ -5811,7 +5814,7 @@ var EngineImpl = class {
|
|
|
5811
5814
|
this.redirects = buildRedirectTable(spec);
|
|
5812
5815
|
}
|
|
5813
5816
|
async execute(argv, runtime, hooks) {
|
|
5814
|
-
const format = sniffFormat(argv
|
|
5817
|
+
const format = sniffFormat(argv);
|
|
5815
5818
|
const state = {
|
|
5816
5819
|
commandId: "",
|
|
5817
5820
|
docsBaseUrl: void 0,
|
|
@@ -6228,4 +6231,4 @@ function distributePositionals(def, values) {
|
|
|
6228
6231
|
return positionals;
|
|
6229
6232
|
}
|
|
6230
6233
|
//#endregion
|
|
6231
|
-
export {
|
|
6234
|
+
export { noSessionForWorkspaceError as A, claimedIdentity as C, credentialWorkspaceMismatchError as D, credentialRejectedError as E, credentialsRequiredError as O, claimedExpiresAt as S, authServiceError as T, exitWithChildStatus as _, definePrismaConfig as a, positional as b, PRISMA_CONFIG_VERSION as c, PRESENTED as d, noDataLines as f, resolveGating as g, writeUserConfig as h, CONFIG_FILE_NAME as i, emptyServiceTokenError as k, SERVICE_TOKEN_ENV_VAR as l, userConfigPath as m, resolveSectionOverChain as n, loadConfig as o, readUserConfig as p, resolveSectionPath as r, realpathOr as s, buildEngine as t, WORKSPACE_ID_ENV_VAR as u, detectCI as v, credentialWorkspaceId as w, readActiveAccessToken as x, flag as y };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as SectionValidation, $t as ManagementApiClient, A as StatementAnswer, At as PackageManagerRunRequest, B as PresentedResult, Bt as flag, C as defineServerCommand, Ct as ExitWithChildStatusOptions, D as OpenUrlOutcome, Dt as SpawnedChild, E as CommandContext, Et as SpawnRequest, F as Block, Ft as ArgsSpec, G as TreeNode, Gt as CredentialIdentity, H as Status, Ht as ActiveAccessTokenOptions, I as Format, It as Char, J as EngineEvent, Jt as SERVICE_TOKEN_ENV_VAR, K as Ui, Kt as CredentialManager, L as Outcome, Lt as CommandArgs, M as StatementQuestion, Mt as PackageManagerRunner, N as StatementSurface, Nt as PackageOperations, O as OpenUrlRequest, Ot as exitWithChildStatus, P as StatementsOptions, Pt as Args, Q as ConfigSection, Qt as CredentialRefresher, R as PRESENTED, Rt as FlagSpec, S as defineCommand, St as ChildStatusSettlement, T as BrowserWaitRequest, Tt as SpawnOptions, U as Text, Ut as ActiveCredential, V as Span, Vt as positional, W as Tone, Wt as Credential, X as StreamEvent, Xt as StoredSessions, Y as Severity, Yt as Session, Z as StreamMeta, Zt as CredentialRefreshResult, _ as ServerCommandDefinition, _t as Runtime, a as RedirectSpec, at as validateSectionWithSchema, b as StatementSpec, bt as RunSummary, c as CommandDefinition, ct as resolveSectionOverChain, d as CommandNeeds, dt as HostProcess, en as ManagementApiClientConfig, et as defineConfigSection, f as CompletedEnvelope, ft as InputStream, g as NeedsSpec, gt as PRISMA_CONFIG_VERSION, h as HelpSpec, ht as OutputStream, i as MountedTree, it as reference, j as StatementOptions, jt as PackageManagerRunResult, k as PromptSurface, kt as PackageManagerId, l as CommandHandler, lt as resolveSectionPath, m as Handler, mt as LoadedConfigFile, n as CommandFamily, nt as ConfigSchemaValue, o as defineCommandFamily, ot as ResolvedSection, p as ErroredEnvelope, pt as LoadedConfig, q as noDataLines, qt as CredentialOrigin, r as CommandRedirect, rt as configSchema, s as AnyCommand, st as SectionProvenance, t as TelemetryDeclaration, tn as TokenStorage, tt as ConfigSchema, u as CommandHelp, ut as Host, v as SessionCommandDefinition, vt as TelemetryPayload, w as defineSessionCommand, wt as SpawnChild, x as WorkflowStep, xt as ChildResult, y as SpawnDeclarations, yt as EngineCommandSnapshot, z as Presentations, zt as PositionalSpec } from "./report-C6k54wjM.js";
|
|
2
2
|
import { n as CliStructuredError } from "./protocol-YjqPCCOG.js";
|
|
3
3
|
|
|
4
4
|
//#region src/active-access-token.d.ts
|
|
@@ -227,4 +227,4 @@ declare function claimedExpiresAt(token: string): Date | undefined;
|
|
|
227
227
|
*/
|
|
228
228
|
declare function claimedIdentity(token: string): CredentialIdentity | undefined;
|
|
229
229
|
//#endregion
|
|
230
|
-
export { type ActiveAccessTokenOptions, type ActiveCredential, type AnyCommand, type Args, type ArgsSpec, type Block, type BrowserWaitRequest, type Char, type ChildResult, type ChildStatusSettlement, type Cli, type CliRunHooks, type CommandArgs, type CommandContext, type CommandDefinition, type CommandFamily, type CommandHandler, type CommandHelp, type CommandNeeds, type CommandRedirect, type CompletedEnvelope, type ConfigSchema, type ConfigSchemaValue, type ConfigSection, type Credential, type CredentialIdentity, type CredentialManager, type CredentialOrigin, type CredentialRefreshResult, type CredentialRefresher, type CredentialsRequiredReason, type EngineCommandSnapshot, type EngineEvent, EnvironmentCredentialManager, type ErroredEnvelope, type ExitWithChildStatusOptions, type FlagSpec, type Format, type Handler, type HelpSpec, type Host, type HostProcess, type InputStream, type LoadedConfig, type LoadedConfigFile, type ManagementApiClient, type ManagementApiClientConfig, type MountedTree, type NeedsSpec, type OpenUrlOutcome, type OpenUrlRequest, type Outcome, type OutputStream, PRESENTED, PRISMA_CONFIG_VERSION, type PackageManagerId, type PackageManagerRunRequest, type PackageManagerRunResult, type PackageManagerRunner, type PackageOperations, type PositionalSpec, type Presentations, type PresentedResult, type PromptSurface, type RedirectSpec, type ResolvedSection, type RunSummary, type Runtime, SERVICE_TOKEN_ENV_VAR, type SectionProvenance, type SectionValidation, type ServerCommandDefinition, type Session, type SessionCommandDefinition, type Severity, type Span, type SpawnChild, type SpawnDeclarations, type SpawnOptions, type SpawnRequest, type SpawnedChild, type StatementAnswer, type StatementOptions, type StatementQuestion, type StatementSpec, type StatementSurface, type StatementsOptions, type Status, type StoredSessions, type StreamEvent, type StreamMeta, type TelemetryDeclaration, type TelemetryPayload, type TelemetryStatus, type TelemetryStatusReason, type Text, type TokenStorage, type Tone, type TreeNode, type Ui, type WorkflowStep, authServiceError, claimedExpiresAt, claimedIdentity, configSchema, createCli, credentialRejectedError, credentialWorkspaceId, credentialWorkspaceMismatchError, credentialsRequiredError, defineCommand, defineCommandFamily, defineConfigSection, definePrismaConfig, defineServerCommand, defineSessionCommand, detectCI, emptyServiceTokenError, exitWithChildStatus, flag, loadConfig, noSessionForWorkspaceError, positional, readActiveAccessToken, realpathOr, reference, resolveSectionOverChain, resolveSectionPath, telemetryCommandGroup, validateSectionWithSchema };
|
|
230
|
+
export { type ActiveAccessTokenOptions, type ActiveCredential, type AnyCommand, type Args, type ArgsSpec, type Block, type BrowserWaitRequest, type Char, type ChildResult, type ChildStatusSettlement, type Cli, type CliRunHooks, type CommandArgs, type CommandContext, type CommandDefinition, type CommandFamily, type CommandHandler, type CommandHelp, type CommandNeeds, type CommandRedirect, type CompletedEnvelope, type ConfigSchema, type ConfigSchemaValue, type ConfigSection, type Credential, type CredentialIdentity, type CredentialManager, type CredentialOrigin, type CredentialRefreshResult, type CredentialRefresher, type CredentialsRequiredReason, type EngineCommandSnapshot, type EngineEvent, EnvironmentCredentialManager, type ErroredEnvelope, type ExitWithChildStatusOptions, type FlagSpec, type Format, type Handler, type HelpSpec, type Host, type HostProcess, type InputStream, type LoadedConfig, type LoadedConfigFile, type ManagementApiClient, type ManagementApiClientConfig, type MountedTree, type NeedsSpec, type OpenUrlOutcome, type OpenUrlRequest, type Outcome, type OutputStream, PRESENTED, PRISMA_CONFIG_VERSION, type PackageManagerId, type PackageManagerRunRequest, type PackageManagerRunResult, type PackageManagerRunner, type PackageOperations, type PositionalSpec, type Presentations, type PresentedResult, type PromptSurface, type RedirectSpec, type ResolvedSection, type RunSummary, type Runtime, SERVICE_TOKEN_ENV_VAR, type SectionProvenance, type SectionValidation, type ServerCommandDefinition, type Session, type SessionCommandDefinition, type Severity, type Span, type SpawnChild, type SpawnDeclarations, type SpawnOptions, type SpawnRequest, type SpawnedChild, type StatementAnswer, type StatementOptions, type StatementQuestion, type StatementSpec, type StatementSurface, type StatementsOptions, type Status, type StoredSessions, type StreamEvent, type StreamMeta, type TelemetryDeclaration, type TelemetryPayload, type TelemetryStatus, type TelemetryStatusReason, type Text, type TokenStorage, type Tone, type TreeNode, type Ui, type WorkflowStep, authServiceError, claimedExpiresAt, claimedIdentity, configSchema, createCli, credentialRejectedError, credentialWorkspaceId, credentialWorkspaceMismatchError, credentialsRequiredError, defineCommand, defineCommandFamily, defineConfigSection, definePrismaConfig, defineServerCommand, defineSessionCommand, detectCI, emptyServiceTokenError, exitWithChildStatus, flag, loadConfig, noDataLines, noSessionForWorkspaceError, positional, readActiveAccessToken, realpathOr, reference, resolveSectionOverChain, resolveSectionPath, telemetryCommandGroup, validateSectionWithSchema };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as ok, r as notOk, t as CliStructuredError } from "./protocol-TtNVkeVS.js";
|
|
2
|
-
import { C as
|
|
2
|
+
import { A as noSessionForWorkspaceError, C as claimedIdentity, D as credentialWorkspaceMismatchError, E as credentialRejectedError, O as credentialsRequiredError, S as claimedExpiresAt, T as authServiceError, _ as exitWithChildStatus, a as definePrismaConfig, b as positional, c as PRISMA_CONFIG_VERSION, d as PRESENTED, f as noDataLines, g as resolveGating, h as writeUserConfig, k as emptyServiceTokenError, l as SERVICE_TOKEN_ENV_VAR, m as userConfigPath, n as resolveSectionOverChain, o as loadConfig, p as readUserConfig, r as resolveSectionPath, s as realpathOr, t as buildEngine, u as WORKSPACE_ID_ENV_VAR, v as detectCI, w as credentialWorkspaceId, x as readActiveAccessToken, y as flag } from "./engine-BBuDSD7p.js";
|
|
3
3
|
import { dirname, isAbsolute, resolve } from "node:path";
|
|
4
4
|
import { scope, type } from "arktype";
|
|
5
5
|
//#region src/cli.ts
|
|
@@ -474,11 +474,14 @@ const REASON_EXPLANATION = {
|
|
|
474
474
|
function statusSummaryLine(status) {
|
|
475
475
|
return `Telemetry is ${status.enabled ? "enabled" : "disabled"}: ${REASON_EXPLANATION[status.reason]}`;
|
|
476
476
|
}
|
|
477
|
+
/** `key<TAB>value` data lines; the reason is its code, such as
|
|
478
|
+
* `stored-opt-out`, which is what a script compares against. */
|
|
477
479
|
function formatTelemetryStatusLines(status) {
|
|
478
480
|
return [
|
|
479
|
-
|
|
480
|
-
`
|
|
481
|
-
`
|
|
481
|
+
`enabled\t${status.enabled}`,
|
|
482
|
+
`reason\t${status.reason}`,
|
|
483
|
+
`config file\t${status.configPath}`,
|
|
484
|
+
`installation id stored\t${status.installationIdStored}`
|
|
482
485
|
];
|
|
483
486
|
}
|
|
484
487
|
function statusPresentations(status) {
|
|
@@ -502,8 +505,7 @@ function statusPresentations(status) {
|
|
|
502
505
|
next: () => []
|
|
503
506
|
};
|
|
504
507
|
}
|
|
505
|
-
/** One confirmation line,
|
|
506
|
-
* the json result. */
|
|
508
|
+
/** One confirmation line, with the stored decision as the json result. */
|
|
507
509
|
function consentPresentations(line, json) {
|
|
508
510
|
return {
|
|
509
511
|
human: () => [{
|
|
@@ -511,7 +513,7 @@ function consentPresentations(line, json) {
|
|
|
511
513
|
status: "ok",
|
|
512
514
|
text: line
|
|
513
515
|
}],
|
|
514
|
-
stdout: (
|
|
516
|
+
stdout: noDataLines("Storing a preference has no data; telemetry status reports it."),
|
|
515
517
|
json: () => json,
|
|
516
518
|
next: () => []
|
|
517
519
|
};
|
|
@@ -597,4 +599,4 @@ Telemetry is on by default (opt-out); see ${options.docsUrl}\nfor what is collec
|
|
|
597
599
|
};
|
|
598
600
|
}
|
|
599
601
|
//#endregion
|
|
600
|
-
export { EnvironmentCredentialManager, PRESENTED, PRISMA_CONFIG_VERSION, SERVICE_TOKEN_ENV_VAR, authServiceError, claimedExpiresAt, claimedIdentity, configSchema, createCli, credentialRejectedError, credentialWorkspaceId, credentialWorkspaceMismatchError, credentialsRequiredError, defineCommand, defineCommandFamily, defineConfigSection, definePrismaConfig, defineServerCommand, defineSessionCommand, detectCI, emptyServiceTokenError, exitWithChildStatus, flag, loadConfig, noSessionForWorkspaceError, positional, readActiveAccessToken, realpathOr, reference, resolveSectionOverChain, resolveSectionPath, telemetryCommandGroup, validateSectionWithSchema };
|
|
602
|
+
export { EnvironmentCredentialManager, PRESENTED, PRISMA_CONFIG_VERSION, SERVICE_TOKEN_ENV_VAR, authServiceError, claimedExpiresAt, claimedIdentity, configSchema, createCli, credentialRejectedError, credentialWorkspaceId, credentialWorkspaceMismatchError, credentialsRequiredError, defineCommand, defineCommandFamily, defineConfigSection, definePrismaConfig, defineServerCommand, defineSessionCommand, detectCI, emptyServiceTokenError, exitWithChildStatus, flag, loadConfig, noDataLines, noSessionForWorkspaceError, positional, readActiveAccessToken, realpathOr, reference, resolveSectionOverChain, resolveSectionPath, telemetryCommandGroup, validateSectionWithSchema };
|
|
@@ -1078,6 +1078,10 @@ interface Presentations {
|
|
|
1078
1078
|
readonly json: () => unknown;
|
|
1079
1079
|
readonly next: () => readonly NextAction[];
|
|
1080
1080
|
}
|
|
1081
|
+
/** The `stdout` of a command whose only result is that it succeeded,
|
|
1082
|
+
* such as a delete. The reason says why the command has no data, where
|
|
1083
|
+
* its presentation is defined. */
|
|
1084
|
+
declare function noDataLines(_reason: string): () => readonly string[];
|
|
1081
1085
|
/**
|
|
1082
1086
|
* What happened: it selects the glyph (✔ ✘ ⚠ ℹ) and carries a default
|
|
1083
1087
|
* Tone of the same name. Separate from Tone because a failure can be
|
|
@@ -1835,4 +1839,4 @@ interface TelemetryDeclaration {
|
|
|
1835
1839
|
readonly docsUrl: string;
|
|
1836
1840
|
}
|
|
1837
1841
|
//#endregion
|
|
1838
|
-
export {
|
|
1842
|
+
export { SectionValidation as $, ManagementApiClient$1 as $t, StatementAnswer as A, PackageManagerRunRequest as At, PresentedResult as B, flag as Bt, defineServerCommand as C, ExitWithChildStatusOptions as Ct, OpenUrlOutcome as D, SpawnedChild as Dt, CommandContext as E, SpawnRequest as Et, Block as F, ArgsSpec as Ft, TreeNode as G, CredentialIdentity as Gt, Status as H, ActiveAccessTokenOptions as Ht, Format as I, Char as It, EngineEvent as J, SERVICE_TOKEN_ENV_VAR as Jt, Ui as K, CredentialManager as Kt, Outcome as L, CommandArgs as Lt, StatementQuestion as M, PackageManagerRunner as Mt, StatementSurface as N, PackageOperations as Nt, OpenUrlRequest as O, exitWithChildStatus as Ot, StatementsOptions as P, Args as Pt, ConfigSection as Q, CredentialRefresher as Qt, PRESENTED as R, FlagSpec as Rt, defineCommand as S, ChildStatusSettlement as St, BrowserWaitRequest as T, SpawnOptions as Tt, Text as U, ActiveCredential as Ut, Span as V, positional as Vt, Tone as W, Credential as Wt, StreamEvent as X, StoredSessions as Xt, Severity as Y, Session as Yt, StreamMeta as Z, CredentialRefreshResult as Zt, ServerCommandDefinition as _, Runtime as _t, RedirectSpec as a, validateSectionWithSchema as at, StatementSpec as b, RunSummary as bt, CommandDefinition as c, resolveSectionOverChain as ct, CommandNeeds as d, HostProcess as dt, ManagementApiClientConfig as en, defineConfigSection as et, CompletedEnvelope as f, InputStream as ft, NeedsSpec as g, PRISMA_CONFIG_VERSION as gt, HelpSpec as h, OutputStream as ht, MountedTree as i, reference as it, StatementOptions as j, PackageManagerRunResult as jt, PromptSurface as k, PackageManagerId as kt, CommandHandler as l, resolveSectionPath as lt, Handler as m, LoadedConfigFile as mt, CommandFamily as n, ConfigSchemaValue as nt, defineCommandFamily as o, ResolvedSection as ot, ErroredEnvelope as p, LoadedConfig as pt, noDataLines as q, CredentialOrigin as qt, CommandRedirect as r, configSchema as rt, AnyCommand as s, SectionProvenance as st, TelemetryDeclaration as t, TokenStorage$1 as tn, ConfigSchema as tt, CommandHelp as u, Host as ut, SessionCommandDefinition as v, TelemetryPayload as vt, defineSessionCommand as w, SpawnChild as wt, WorkflowStep as x, ChildResult as xt, SpawnDeclarations as y, EngineCommandSnapshot as yt, Presentations as z, PositionalSpec as zt };
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as
|
|
1
|
+
import { $t as ManagementApiClient, B as PresentedResult, Et as SpawnRequest, Ht as ActiveAccessTokenOptions, J as EngineEvent, Kt as CredentialManager, Mt as PackageManagerRunner, Qt as CredentialRefresher, Ut as ActiveCredential, Wt as Credential, X as StreamEvent, Xt as StoredSessions, Yt as Session, _t as Runtime, bt as RunSummary, en as ManagementApiClientConfig, i as MountedTree, kt as PackageManagerId, n as CommandFamily, t as TelemetryDeclaration, tn as TokenStorage, ut as Host, vt as TelemetryPayload, wt as SpawnChild, x as WorkflowStep, xt as ChildResult } from "./report-C6k54wjM.js";
|
|
2
2
|
|
|
3
3
|
//#region src/in-memory-credential-manager.d.ts
|
|
4
4
|
/** A stored session with its credential material — what the manager
|
package/dist/testing.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as noSessionForWorkspaceError, C as claimedIdentity, D as credentialWorkspaceMismatchError, O as credentialsRequiredError, S as claimedExpiresAt, t as buildEngine, w as credentialWorkspaceId, x as readActiveAccessToken } from "./engine-BBuDSD7p.js";
|
|
2
2
|
import { Buffer } from "node:buffer";
|
|
3
3
|
import { resolve } from "node:path";
|
|
4
4
|
//#region src/in-memory-credential-manager.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/cli-engine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "The execution engine of the unified Prisma CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@prisma/management-api-sdk": "1.80.0",
|
|
56
|
-
"@repo/cli-conformance": "8.0.0-rc.23-dev.
|
|
57
|
-
"@repo/tsconfig": "8.0.0-rc.23-dev.
|
|
56
|
+
"@repo/cli-conformance": "8.0.0-rc.23-dev.153",
|
|
57
|
+
"@repo/tsconfig": "8.0.0-rc.23-dev.153",
|
|
58
58
|
"@types/node": "^22.19.19",
|
|
59
59
|
"ci-info": "^4.3.1",
|
|
60
60
|
"tsdown": "^0.21.10",
|