@prisma/composer 0.29.0-dev.1 → 0.29.1
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/{app-config-BcftSukw-DQ7AzYh_.d.mts → app-config-3CswwwoZ-DFjnySqN.d.mts} +3 -5
- package/dist/{app-config-BcftSukw-DQ7AzYh_.d.mts.map → app-config-3CswwwoZ-DFjnySqN.d.mts.map} +1 -1
- package/dist/config-0y3sE6iC.d.mts +1 -0
- package/dist/config.d.mts +2 -2
- package/dist/control.d.mts +4 -4
- package/dist/deploy-0y3sE6iC.d.mts +1 -0
- package/dist/deploy.d.mts +2 -2
- package/dist/{deployment-summary-CU-eVvJM-dIXYs31n.d.mts → deployment-summary-CU-eVvJM-B8prOwIp.d.mts} +3 -3
- package/dist/{deployment-summary-CU-eVvJM-dIXYs31n.d.mts.map → deployment-summary-CU-eVvJM-B8prOwIp.d.mts.map} +1 -1
- package/dist/local-target.d.mts +1 -1
- package/dist/nextjs-control.d.mts +3 -3
- package/dist/node-control.d.mts +3 -3
- package/dist/report.d.mts +3 -3
- package/package.json +15 -12
- package/skills/prisma-composer-core-concepts/SKILL.md +13 -11
- package/dist/config-DSyEHcQB.d.mts +0 -1
- package/dist/deploy-DSyEHcQB.d.mts +0 -1
|
@@ -5,7 +5,7 @@ import { Input, StackServices } from "alchemy";
|
|
|
5
5
|
import * as Effect from "effect/Effect";
|
|
6
6
|
import * as Layer from "effect/Layer";
|
|
7
7
|
import { State } from "alchemy/State/State";
|
|
8
|
-
//#region ../../0-framework/1-core/core/dist/app-config-
|
|
8
|
+
//#region ../../0-framework/1-core/core/dist/app-config-3CswwwoZ.d.mts
|
|
9
9
|
//#region src/container-transport.d.ts
|
|
10
10
|
/**
|
|
11
11
|
* Carries resolved containers from the CLI process into the alchemy process
|
|
@@ -359,9 +359,7 @@ declare function lowering(root: ModuleNode, config: PrismaAppConfig, opts: Lower
|
|
|
359
359
|
* extension registries → an Alchemy Stack (the default export the alchemy
|
|
360
360
|
* CLI consumes).
|
|
361
361
|
*/
|
|
362
|
-
declare function lower(root: ModuleNode, config: PrismaAppConfig, opts: LowerOptions): Effect.Effect<Alchemy.CompiledStack<undefined, any>, import("effect/Config").ConfigError, never
|
|
363
|
-
readonly stackName: string;
|
|
364
|
-
} & Alchemy.StackProps<never>;
|
|
362
|
+
declare function lower(root: ModuleNode, config: PrismaAppConfig, opts: LowerOptions): Effect.Effect<Alchemy.CompiledStack<undefined, any>, import("effect/Config").ConfigError, never>;
|
|
365
363
|
//#endregion
|
|
366
364
|
//#region src/control/app-config.d.ts
|
|
367
365
|
/**
|
|
@@ -643,4 +641,4 @@ interface PrismaAppConfig {
|
|
|
643
641
|
declare function defineConfig(config: PrismaAppConfig): PrismaAppConfig;
|
|
644
642
|
//#endregion
|
|
645
643
|
export { readPreflightPayload as $, PrismaAppConfig as A, TeardownInput as B, LoweredResult as C, PackageInput as D, Outputs as E, ReporterDescriptor as F, deserializeContainers as G, containerEnv as H, RunOutcome as I, lower as J, isBuildOnlyExtension as K, RunReporter as L, ProvisionerDescriptor as M, ReportAttachInput as N, PreflightInput as O, ReportBeginInput as P, preflightEnvVarName as Q, ServiceLowering as R, LowerOptions as S, NodeDescriptor as T, containerEnvVarName as U, buildConfig as V, defineConfig as W, mergedProviders as X, lowering as Y, preflightEnv as Z, LocalTargetEmulatorsInput as _, Bundle as a, LowerContext as b, ContainerInstance as c, DeployedNode as d, resolveStateLayer as et, DeploymentResult as f, LocalTargetDescriptor as g, LocalTargetAttachment as h, AssembleInput as i, ProvisionEdge as j, PreflightPayload as k, DEV_DIR as l, LocalTargetAttachInput as m, ApplicationDescriptor as n, ContainerCredentials as o, ExtensionDescriptor as p, joinDeployment as q, Artifact as r, ContainerDescriptor as s, AlchemyStateLayer as t, DeployedEntity as u, LocalTargetProvidersInput as v, Lowering as w, LowerError as x, LocateContainerInput as y, StateDescriptor as z };
|
|
646
|
-
//# sourceMappingURL=app-config-
|
|
644
|
+
//# sourceMappingURL=app-config-3CswwwoZ-DFjnySqN.d.mts.map
|
package/dist/{app-config-BcftSukw-DQ7AzYh_.d.mts.map → app-config-3CswwwoZ-DFjnySqN.d.mts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-config-
|
|
1
|
+
{"version":3,"file":"app-config-3CswwwoZ-DFjnySqN.d.mts","names":[],"sources":["../../../0-framework/1-core/core/dist/app-config-3CswwwoZ.d.mts"],"mappings":";;;;;;;;;;;;;;;;;;;;UAmBU;;WAEC;;WAEA;;;;;;;UAOD;WACC,OAAO;;WAEP;;EAET;;;;;;;;;;;;;;;UAeQ,qBAAqB;;WAEpB;;WAEA,SAAS;;;;;;;;;;;;UAYV,oBAAoB,UAAU,oBAAoB,mBAAmB;;EAE7E,OAAO,OAAO,sBAAsB,cAAc,qBAAqB,KAAK,QAAQ;;EAEpF,OAAO,OAAO,sBAAsB,cAAc,qBAAqB,KAAK,QAAQ;;EAEpF,OAAO,UAAU,GAAG,cAAc,qBAAqB,KAAK;;EAE5D,YAAY,qBAAqB;;;iBAGlB,oBAAoB;;iBAEpB,aAAa,WAAW,oBAAoB,qBAAqB;;UAExE;WACC;WACA,YAAY;;;;;;iBAMN,sBAAsB,qBAAqB,+BAA+B,KAAK,SAAS,sCAAsC,oBAAoB;;;;KAI9J;;iBAEY,oBAAoB;;iBAEpB,aAAa,UAAU,8BAA8B;;iBAErD,qBAAqB,qBAAqB,KAAK,SAAS,sCAAsC;;;;KAI1G,oBAAoB,MAAM,MAAM,cAAc;;;;;;UAMzC;EACR,UAAU,KAAK,eAAe,OAAO;;;;;;;;UAQ7B;WACC;WACA;WACA;WACA;;WAEA,MAAM;;;UAGP;;EAER,UAAU,MAAM,gBAAgB,OAAO;;;;;;;;;;;;;;UAc/B,gBAAgB,aAAa;;;;;EAKrC,UAAU,KAAK,eAAe,OAAO,OAAO;;;;;;EAM5C,UAAU,KAAK,cAAc,aAAa,GAAG,QAAQ,SAAS,OAAO,OAAO;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AM5C;WACM;IACP;WACO;IACP;WACO;EACT,SAAS,OAAO,gBAAgB,QAAQ;;;;;;;UAOhC;WACC,YAAY;WACZ,OAAO;;;iBAGD,aAAa,QAAQ,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./app-config-3CswwwoZ-DFjnySqN.mjs";
|
package/dist/config.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as readPreflightPayload, A as PrismaAppConfig, B as TeardownInput, F as ReporterDescriptor, G as deserializeContainers, H as containerEnv, I as RunOutcome, K as isBuildOnlyExtension, L as RunReporter, N as ReportAttachInput, O as PreflightInput, P as ReportBeginInput, Q as preflightEnvVarName, T as NodeDescriptor, U as containerEnvVarName, W as defineConfig, Z as preflightEnv, _ as LocalTargetEmulatorsInput, c as ContainerInstance, g as LocalTargetDescriptor, h as LocalTargetAttachment, k as PreflightPayload, l as DEV_DIR, m as LocalTargetAttachInput, o as ContainerCredentials, p as ExtensionDescriptor, s as ContainerDescriptor, u as DeployedEntity, v as LocalTargetProvidersInput, y as LocateContainerInput, z as StateDescriptor } from "./app-config-
|
|
2
|
-
import "./config-
|
|
1
|
+
import { $ as readPreflightPayload, A as PrismaAppConfig, B as TeardownInput, F as ReporterDescriptor, G as deserializeContainers, H as containerEnv, I as RunOutcome, K as isBuildOnlyExtension, L as RunReporter, N as ReportAttachInput, O as PreflightInput, P as ReportBeginInput, Q as preflightEnvVarName, T as NodeDescriptor, U as containerEnvVarName, W as defineConfig, Z as preflightEnv, _ as LocalTargetEmulatorsInput, c as ContainerInstance, g as LocalTargetDescriptor, h as LocalTargetAttachment, k as PreflightPayload, l as DEV_DIR, m as LocalTargetAttachInput, o as ContainerCredentials, p as ExtensionDescriptor, s as ContainerDescriptor, u as DeployedEntity, v as LocalTargetProvidersInput, y as LocateContainerInput, z as StateDescriptor } from "./app-config-3CswwwoZ-DFjnySqN.mjs";
|
|
2
|
+
import "./config-0y3sE6iC.mjs";
|
|
3
3
|
export { type ContainerCredentials, type ContainerDescriptor, type ContainerInstance, DEV_DIR, type DeployedEntity, ExtensionDescriptor, LocalTargetAttachInput, LocalTargetAttachment, LocalTargetDescriptor, LocalTargetEmulatorsInput, LocalTargetProvidersInput, type LocateContainerInput, NodeDescriptor, PreflightInput, type PreflightPayload, PrismaAppConfig, ReportAttachInput, ReportBeginInput, ReporterDescriptor, RunOutcome, RunReporter, StateDescriptor, TeardownInput, containerEnv, containerEnvVarName, defineConfig, deserializeContainers, isBuildOnlyExtension, preflightEnv, preflightEnvVarName, readPreflightPayload };
|
package/dist/control.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ht as CliStructuredError } from "./graph-types-BTTaRnih-BF6PobQ3.mjs";
|
|
2
|
-
import { A as PrismaAppConfig } from "./app-config-
|
|
3
|
-
import "./config-
|
|
4
|
-
import "./deploy-
|
|
5
|
-
import { n as DeploymentSummary, t as DeployedNodeSummary } from "./deployment-summary-CU-eVvJM-
|
|
2
|
+
import { A as PrismaAppConfig } from "./app-config-3CswwwoZ-DFjnySqN.mjs";
|
|
3
|
+
import "./config-0y3sE6iC.mjs";
|
|
4
|
+
import "./deploy-0y3sE6iC.mjs";
|
|
5
|
+
import { n as DeploymentSummary, t as DeployedNodeSummary } from "./deployment-summary-CU-eVvJM-B8prOwIp.mjs";
|
|
6
6
|
import "./index-DeocL1di.mjs";
|
|
7
7
|
//#region ../../0-framework/0-foundation/foundation/dist/result.d.mts
|
|
8
8
|
//#region src/result.d.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./app-config-3CswwwoZ-DFjnySqN.mjs";
|
package/dist/deploy.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { C as LoweredResult, D as PackageInput, E as Outputs, J as lower, M as ProvisionerDescriptor, R as ServiceLowering, S as LowerOptions, V as buildConfig, X as mergedProviders, Y as lowering, a as Bundle, b as LowerContext, d as DeployedNode, et as resolveStateLayer, f as DeploymentResult, i as AssembleInput, j as ProvisionEdge, n as ApplicationDescriptor, q as joinDeployment, r as Artifact, t as AlchemyStateLayer, u as DeployedEntity, w as Lowering, x as LowerError } from "./app-config-
|
|
2
|
-
import "./deploy-
|
|
1
|
+
import { C as LoweredResult, D as PackageInput, E as Outputs, J as lower, M as ProvisionerDescriptor, R as ServiceLowering, S as LowerOptions, V as buildConfig, X as mergedProviders, Y as lowering, a as Bundle, b as LowerContext, d as DeployedNode, et as resolveStateLayer, f as DeploymentResult, i as AssembleInput, j as ProvisionEdge, n as ApplicationDescriptor, q as joinDeployment, r as Artifact, t as AlchemyStateLayer, u as DeployedEntity, w as Lowering, x as LowerError } from "./app-config-3CswwwoZ-DFjnySqN.mjs";
|
|
2
|
+
import "./deploy-0y3sE6iC.mjs";
|
|
3
3
|
export { AlchemyStateLayer, ApplicationDescriptor, Artifact, AssembleInput, Bundle, DeployedEntity, DeployedNode, DeploymentResult, LowerContext, LowerError, LowerOptions, LoweredResult, Lowering, Outputs, PackageInput, ProvisionEdge, ProvisionerDescriptor, ServiceLowering, buildConfig, joinDeployment, lower, lowering, mergedProviders, resolveStateLayer };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as DeployedEntity } from "./app-config-
|
|
2
|
-
import "./deploy-
|
|
1
|
+
import { u as DeployedEntity } from "./app-config-3CswwwoZ-DFjnySqN.mjs";
|
|
2
|
+
import "./deploy-0y3sE6iC.mjs";
|
|
3
3
|
//#region ../../0-framework/3-tooling/cli/dist/deployment-summary-CU-eVvJM.d.mts
|
|
4
4
|
//#region src/deployment-summary.d.ts
|
|
5
5
|
/** The serializable projection of DeploymentResult — what CAN cross the process
|
|
@@ -23,4 +23,4 @@ interface DeploymentSummary {
|
|
|
23
23
|
declare function captureEngineFailure(): void;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { DeploymentSummary as n, captureEngineFailure as r, DeployedNodeSummary as t };
|
|
26
|
-
//# sourceMappingURL=deployment-summary-CU-eVvJM-
|
|
26
|
+
//# sourceMappingURL=deployment-summary-CU-eVvJM-B8prOwIp.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployment-summary-CU-eVvJM-
|
|
1
|
+
{"version":3,"file":"deployment-summary-CU-eVvJM-B8prOwIp.d.mts","names":[],"sources":["../../../0-framework/3-tooling/cli/dist/deployment-summary-CU-eVvJM.d.mts"],"mappings":";;;;;;UAIU;WACC;WACA,mBAAmB;;UAEpB;WACC;WACA,gBAAgB;;;;;;;;;;iBAUV"}
|
package/dist/local-target.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as PrismaAppConfig, _ as LocalTargetEmulatorsInput, c as ContainerInstance, g as LocalTargetDescriptor, h as LocalTargetAttachment, l as DEV_DIR, m as LocalTargetAttachInput, t as AlchemyStateLayer, v as LocalTargetProvidersInput } from "./app-config-
|
|
1
|
+
import { A as PrismaAppConfig, _ as LocalTargetEmulatorsInput, c as ContainerInstance, g as LocalTargetDescriptor, h as LocalTargetAttachment, l as DEV_DIR, m as LocalTargetAttachInput, t as AlchemyStateLayer, v as LocalTargetProvidersInput } from "./app-config-3CswwwoZ-DFjnySqN.mjs";
|
|
2
2
|
import * as Layer from "effect/Layer";
|
|
3
3
|
//#region ../../0-framework/1-core/core/dist/local-target.d.mts
|
|
4
4
|
//#region src/control/local-target.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Bundle, i as AssembleInput, p as ExtensionDescriptor } from "./app-config-
|
|
2
|
-
import "./config-
|
|
3
|
-
import "./deploy-
|
|
1
|
+
import { a as Bundle, i as AssembleInput, p as ExtensionDescriptor } from "./app-config-3CswwwoZ-DFjnySqN.mjs";
|
|
2
|
+
import "./config-0y3sE6iC.mjs";
|
|
3
|
+
import "./deploy-0y3sE6iC.mjs";
|
|
4
4
|
import { t as NextjsBuildAdapter } from "./nextjs-DLyeRR7M-D7UOddVQ.mjs";
|
|
5
5
|
//#region ../../0-framework/2-authoring/nextjs/dist/control.d.mts
|
|
6
6
|
//#region src/control/build.d.ts
|
package/dist/node-control.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Bundle, i as AssembleInput, p as ExtensionDescriptor } from "./app-config-
|
|
2
|
-
import "./config-
|
|
3
|
-
import "./deploy-
|
|
1
|
+
import { a as Bundle, i as AssembleInput, p as ExtensionDescriptor } from "./app-config-3CswwwoZ-DFjnySqN.mjs";
|
|
2
|
+
import "./config-0y3sE6iC.mjs";
|
|
3
|
+
import "./deploy-0y3sE6iC.mjs";
|
|
4
4
|
//#region ../../0-framework/2-authoring/node/dist/control.d.mts
|
|
5
5
|
//#region src/control/build.d.ts
|
|
6
6
|
declare function assemble(input: AssembleInput): Promise<Bundle>;
|
package/dist/report.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as DeploymentResult } from "./app-config-
|
|
2
|
-
import "./deploy-
|
|
3
|
-
import { r as captureEngineFailure } from "./deployment-summary-CU-eVvJM-
|
|
1
|
+
import { f as DeploymentResult } from "./app-config-3CswwwoZ-DFjnySqN.mjs";
|
|
2
|
+
import "./deploy-0y3sE6iC.mjs";
|
|
3
|
+
import { r as captureEngineFailure } from "./deployment-summary-CU-eVvJM-B8prOwIp.mjs";
|
|
4
4
|
//#region ../../0-framework/3-tooling/cli/dist/report.d.mts
|
|
5
5
|
//#region src/render-deployment.d.ts
|
|
6
6
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/composer",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Prisma Composer — build a Prisma App by composing Modules. Core authoring, deploy pipeline, and the service-rpc/node/nextjs authoring surfaces. The command family the `prisma` CLI mounts lives in @prisma/composer-cli.",
|
|
6
6
|
"exports": {
|
|
@@ -27,24 +27,27 @@
|
|
|
27
27
|
"skills"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
+
"@effect/sql-d1": "4.0.0-rc.115",
|
|
31
|
+
"@effect/sql-sqlite-do": "4.0.0-rc.115",
|
|
32
|
+
"@effect/vitest": "4.0.0-rc.115",
|
|
30
33
|
"@standard-schema/spec": "^1.1.0",
|
|
31
|
-
"alchemy": "2.0.0-beta.
|
|
34
|
+
"alchemy": "2.0.0-beta.78",
|
|
32
35
|
"arktype": "^2.2.3",
|
|
33
36
|
"cross-spawn": "^7.0.6",
|
|
34
|
-
"effect": "
|
|
37
|
+
"effect": "4.0.0-rc.115",
|
|
35
38
|
"esbuild": "^0.28.1",
|
|
36
39
|
"@prisma/management-api-sdk": "^1.80.0"
|
|
37
40
|
},
|
|
38
41
|
"devDependencies": {
|
|
39
|
-
"@internal/assemble": "0.29.
|
|
40
|
-
"@internal/cli": "0.29.
|
|
41
|
-
"@internal/core": "0.29.
|
|
42
|
-
"@internal/foundation": "0.29.
|
|
43
|
-
"@internal/lowering": "0.29.
|
|
44
|
-
"@internal/nextjs": "0.29.
|
|
45
|
-
"@internal/node": "0.29.
|
|
46
|
-
"@internal/service-rpc": "0.29.
|
|
47
|
-
"@internal/tsdown-config": "0.29.
|
|
42
|
+
"@internal/assemble": "0.29.1",
|
|
43
|
+
"@internal/cli": "0.29.1",
|
|
44
|
+
"@internal/core": "0.29.1",
|
|
45
|
+
"@internal/foundation": "0.29.1",
|
|
46
|
+
"@internal/lowering": "0.29.1",
|
|
47
|
+
"@internal/nextjs": "0.29.1",
|
|
48
|
+
"@internal/node": "0.29.1",
|
|
49
|
+
"@internal/service-rpc": "0.29.1",
|
|
50
|
+
"@internal/tsdown-config": "0.29.1",
|
|
48
51
|
"@types/node": "^26.0.1",
|
|
49
52
|
"tsdown": "^0.22.7",
|
|
50
53
|
"typescript": "^6.0.3"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: prisma-composer-core-concepts
|
|
3
3
|
metadata:
|
|
4
4
|
library: "@prisma/composer"
|
|
5
|
-
library_version: "0.29.
|
|
5
|
+
library_version: "0.29.1"
|
|
6
6
|
version: 2026.9.1
|
|
7
7
|
description: >-
|
|
8
8
|
Use when deploying or managing an app that uses Prisma Composer
|
|
@@ -355,7 +355,7 @@ another stage's resources is kept. Destroy never creates anything:
|
|
|
355
355
|
destroying a
|
|
356
356
|
never-deployed stage fails rather than standing one up.
|
|
357
357
|
|
|
358
|
-
**The engine underneath is alchemy.** Convergence is executed by [alchemy](https://alchemy.run), a third-party infrastructure-as-code engine that arrives as an ordinary, exactly-pinned npm dependency of `@prisma/composer` (2.0.0-beta.
|
|
358
|
+
**The engine underneath is alchemy.** Convergence is executed by [alchemy](https://alchemy.run), a third-party infrastructure-as-code engine that arrives as an ordinary, exactly-pinned npm dependency of `@prisma/composer` (2.0.0-beta.78 at this library version). Your code never imports or configures it; consult alchemy's own docs for the engine itself. What matters operationally:
|
|
359
359
|
|
|
360
360
|
Composer runs the alchemy package installed beside the app's
|
|
361
361
|
`@prisma/composer` and starts it with Node (the first `node` on PATH when `prisma` runs
|
|
@@ -381,8 +381,9 @@ needed.
|
|
|
381
381
|
3. Destroy evaluates the same stack program as deploy, and evaluating it
|
|
382
382
|
packages the assembled bundles, so **an app must be built before it can
|
|
383
383
|
be torn down**.
|
|
384
|
-
4. alchemy is why
|
|
385
|
-
hoisted `effect`
|
|
384
|
+
4. alchemy is why the `effect` pin exists: it resolves the `effect`
|
|
385
|
+
constellation, and a hoisted newer `effect` halts every command (failure
|
|
386
|
+
mode 1 below).
|
|
386
387
|
|
|
387
388
|
**The deploy report** ends with the app's own topology: authored names, the
|
|
388
389
|
platform resource each became, and public URLs. Read ids out of it rather
|
|
@@ -532,13 +533,14 @@ today the blocks above plus your own Modules are the whole set, so verify a
|
|
|
532
533
|
`effect` version conflict** (`prisma.config.ts could not be evaluated:`
|
|
533
534
|
followed by a module error from inside alchemy, such as
|
|
534
535
|
`Schema.TaggedError is not a function`). The extensions in the `composer`
|
|
535
|
-
section import alchemy, and the app, or one of its dependencies,
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
536
|
+
section import alchemy, and the app, or one of its dependencies, pins a
|
|
537
|
+
different `effect` that the package manager hoisted over Composer's pin. Match the app's own
|
|
538
|
+
`effect` to `@prisma/composer`'s exact pin, or force it, then reinstall:
|
|
539
|
+
npm: `"overrides": { "effect": "<pin>" }` in `package.json`; pnpm 11+:
|
|
540
|
+
an `overrides:` block in `pnpm-workspace.yaml`; pnpm 10 and earlier:
|
|
541
|
+
`pnpm.overrides` in `package.json`; Yarn: `resolutions` in `package.json`. A plain Composer
|
|
542
|
+
app never hits this: the public packages pin every `effect`-family
|
|
543
|
+
package alchemy would float.
|
|
542
544
|
2. **A deployed `/rpc/<method>` returns `401` to anything but a wired
|
|
543
545
|
peer.** Not a broken deploy; see Contracts above.
|
|
544
546
|
3. **Scale-to-zero closes idle database connections.** A persistent client
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./app-config-BcftSukw-DQ7AzYh_.mjs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./app-config-BcftSukw-DQ7AzYh_.mjs";
|