@prisma/composer 0.29.0 → 0.29.1-dev.2

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.
@@ -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-BcftSukw.d.mts
8
+ //#region ../../0-framework/1-core/core/dist/app-config-CSnkyc2f.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
  /**
@@ -564,7 +562,7 @@ interface LocalTargetDescriptor {
564
562
  readonly container: ContainerDescriptor;
565
563
  /** Value sourcing (secrets/env-params) — runs where deploy's preflight runs. */
566
564
  preflight?(input: PreflightInput): Promise<void>;
567
- /** Ensure the emulator daemons this topology's node kinds need are running (idempotent; they persist across sessions). */
565
+ /** Ensure the emulator daemons this topology's node kinds need are running, plus any per-node emulator state that must exist before converge (idempotent; daemons persist across sessions). */
568
566
  emulators?(input: LocalTargetEmulatorsInput): Promise<void>;
569
567
  /** The dev session's view of the running app. Core renders it and never learns an emulator's API. */
570
568
  attach(input: LocalTargetAttachInput): Promise<LocalTargetAttachment>;
@@ -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-BcftSukw-DQ7AzYh_.d.mts.map
644
+ //# sourceMappingURL=app-config-CSnkyc2f-PoKOdXy0.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-config-BcftSukw-DQ7AzYh_.d.mts","names":[],"sources":["../../../0-framework/1-core/core/dist/app-config-BcftSukw.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,O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AGpC;;WAEC,WAAW;;;UAGZ;WACC;;WAEA;;WAEA;;WAEA;;;;;;;WAOA,mBAAmB;;;;;;;;UAQpB;;;;;;EAMR,YAAY,SAAS;;EAErB,OAAO,OAAO,oBAAoB;;EAElC,OAAO,SAAS,aAAa;;;;;;;;;;;UAWrB;;;;;;;;EAQR,MAAM,OAAO,mBAAmB,QAAQ;;;UAGhC;;EAER,UAAU,OAAO,4BAA4B,MAAM;;WAE1C,WAAW;;EAEpB,WAAW,OAAO,iBAAiB;;EAEnC,WAAW,OAAO,4BAA4B;;EAE9C,OAAO,OAAO,yBAAyB,QAAQ;;EAE/C,UAAU,OAAO,gBAAgB;;UAEzB;;WAEC,WAAW;;WAEX;;UAED;;WAEC,OAAO;WACP,WAAW;;WAEX;;UAED;WACC,WAAW;WACX;;UAED;;EAER,iBAAiB;;EAEjB,aAAa;aACF;aACA;;;EAGX,KAAK,QAAQ,aAAa;aACf;MACP;aACO;aACA;;;EAGX,gBAAgB;;;cAGJ;;;;;;;;;iBASG,qBAAqB,WAAW;;;;;;KAM5C;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-CSnkyc2f-PoKOdXy0.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-BcftSukw-DQ7AzYh_.mjs";
2
- import "./config-DSyEHcQB.mjs";
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-CSnkyc2f-PoKOdXy0.mjs";
2
+ import "./config-CcJKuQEC.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 };
@@ -1,8 +1,8 @@
1
1
  import { ht as CliStructuredError } from "./graph-types-BTTaRnih-BF6PobQ3.mjs";
2
- import { A as PrismaAppConfig } from "./app-config-BcftSukw-DQ7AzYh_.mjs";
3
- import "./config-DSyEHcQB.mjs";
4
- import "./deploy-DSyEHcQB.mjs";
5
- import { n as DeploymentSummary, t as DeployedNodeSummary } from "./deployment-summary-CU-eVvJM-dIXYs31n.mjs";
2
+ import { A as PrismaAppConfig } from "./app-config-CSnkyc2f-PoKOdXy0.mjs";
3
+ import "./config-CcJKuQEC.mjs";
4
+ import "./deploy-CcJKuQEC.mjs";
5
+ import { n as DeploymentSummary, t as DeployedNodeSummary } from "./deployment-summary-CU-eVvJM-G9X7aPfN.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-CSnkyc2f-PoKOdXy0.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-BcftSukw-DQ7AzYh_.mjs";
2
- import "./deploy-DSyEHcQB.mjs";
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-CSnkyc2f-PoKOdXy0.mjs";
2
+ import "./deploy-CcJKuQEC.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-BcftSukw-DQ7AzYh_.mjs";
2
- import "./deploy-DSyEHcQB.mjs";
1
+ import { u as DeployedEntity } from "./app-config-CSnkyc2f-PoKOdXy0.mjs";
2
+ import "./deploy-CcJKuQEC.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-dIXYs31n.d.mts.map
26
+ //# sourceMappingURL=deployment-summary-CU-eVvJM-G9X7aPfN.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deployment-summary-CU-eVvJM-dIXYs31n.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"}
1
+ {"version":3,"file":"deployment-summary-CU-eVvJM-G9X7aPfN.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"}
@@ -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-BcftSukw-DQ7AzYh_.mjs";
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-CSnkyc2f-PoKOdXy0.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-BcftSukw-DQ7AzYh_.mjs";
2
- import "./config-DSyEHcQB.mjs";
3
- import "./deploy-DSyEHcQB.mjs";
1
+ import { a as Bundle, i as AssembleInput, p as ExtensionDescriptor } from "./app-config-CSnkyc2f-PoKOdXy0.mjs";
2
+ import "./config-CcJKuQEC.mjs";
3
+ import "./deploy-CcJKuQEC.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
@@ -1,6 +1,6 @@
1
- import { a as Bundle, i as AssembleInput, p as ExtensionDescriptor } from "./app-config-BcftSukw-DQ7AzYh_.mjs";
2
- import "./config-DSyEHcQB.mjs";
3
- import "./deploy-DSyEHcQB.mjs";
1
+ import { a as Bundle, i as AssembleInput, p as ExtensionDescriptor } from "./app-config-CSnkyc2f-PoKOdXy0.mjs";
2
+ import "./config-CcJKuQEC.mjs";
3
+ import "./deploy-CcJKuQEC.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-BcftSukw-DQ7AzYh_.mjs";
2
- import "./deploy-DSyEHcQB.mjs";
3
- import { r as captureEngineFailure } from "./deployment-summary-CU-eVvJM-dIXYs31n.mjs";
1
+ import { f as DeploymentResult } from "./app-config-CSnkyc2f-PoKOdXy0.mjs";
2
+ import "./deploy-CcJKuQEC.mjs";
3
+ import { r as captureEngineFailure } from "./deployment-summary-CU-eVvJM-G9X7aPfN.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.0",
3
+ "version": "0.29.1-dev.2",
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.81",
34
+ "alchemy": "2.0.0-beta.78",
32
35
  "arktype": "^2.2.3",
33
36
  "cross-spawn": "^7.0.6",
34
- "effect": "^4.0.0",
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.0",
40
- "@internal/cli": "0.29.0",
41
- "@internal/core": "0.29.0",
42
- "@internal/foundation": "0.29.0",
43
- "@internal/lowering": "0.29.0",
44
- "@internal/nextjs": "0.29.0",
45
- "@internal/node": "0.29.0",
46
- "@internal/service-rpc": "0.29.0",
47
- "@internal/tsdown-config": "0.29.0",
42
+ "@internal/assemble": "0.29.1-dev.2",
43
+ "@internal/cli": "0.29.1-dev.2",
44
+ "@internal/core": "0.29.1-dev.2",
45
+ "@internal/foundation": "0.29.1-dev.2",
46
+ "@internal/lowering": "0.29.1-dev.2",
47
+ "@internal/nextjs": "0.29.1-dev.2",
48
+ "@internal/node": "0.29.1-dev.2",
49
+ "@internal/service-rpc": "0.29.1-dev.2",
50
+ "@internal/tsdown-config": "0.29.1-dev.2",
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.0"
5
+ library_version: "0.29.1-dev.2"
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.81 at this library version). Your code never imports or configures it; consult alchemy's own docs for the engine itself. What matters operationally:
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 Composer depends on `effect` 4.x: alchemy runs on it, and a
385
- hoisted `effect` outside 4.x halts every command (failure mode 1 below).
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
@@ -432,9 +433,7 @@ that surprise:
432
433
  1. It runs the same pipeline as deploy, so **build first**, exactly like
433
434
  deploy. It watches built output and restarts a service when its build
434
435
  changes.
435
- 2. Ctrl-C stops the app's processes but leaves local databases, buckets, and
436
- their data up: the next `dev` is a warm start. Starting clean, wiping
437
- this app's local instances and data first, is an explicit opt-in flag.
436
+ 2. Ctrl-C stops the app's processes but leaves local databases, buckets, and their data up: the next `dev` is a warm start. Starting clean, wiping this app's local instances and data first, is an explicit opt-in flag. On a fresh start, each service gets the lowest free port from 3000 up, in dependency order: a service before the services that call it, otherwise provision order. A warm start keeps the ports services already have.
438
437
  3. `dev` does not print service logs. The `log` operation follows the
439
438
  already-running app's merged logs; it never builds, provisions, starts, or
440
439
  stops anything:
@@ -532,13 +531,14 @@ today the blocks above plus your own Modules are the whole set, so verify a
532
531
  `effect` version conflict** (`prisma.config.ts could not be evaluated:`
533
532
  followed by a module error from inside alchemy, such as
534
533
  `Schema.TaggedError is not a function`). The extensions in the `composer`
535
- section import alchemy, and the app, or one of its dependencies, requires
536
- an `effect` outside 4.x that the package manager hoisted where alchemy
537
- resolves it. Change the app's own `effect` to `^4.0.0`, or force it, then
538
- reinstall: npm: `"overrides": { "effect": "^4.0.0" }` in `package.json`;
539
- pnpm 11+: an `overrides:` block in `pnpm-workspace.yaml`; pnpm 10 and
540
- earlier: `pnpm.overrides` in `package.json`; Yarn: `resolutions` in
541
- `package.json`. A plain Composer app never hits this.
534
+ section import alchemy, and the app, or one of its dependencies, pins a
535
+ different `effect` that the package manager hoisted over Composer's pin. Match the app's own
536
+ `effect` to `@prisma/composer`'s exact pin, or force it, then reinstall:
537
+ npm: `"overrides": { "effect": "<pin>" }` in `package.json`; pnpm 11+:
538
+ an `overrides:` block in `pnpm-workspace.yaml`; pnpm 10 and earlier:
539
+ `pnpm.overrides` in `package.json`; Yarn: `resolutions` in `package.json`. A plain Composer
540
+ app never hits this: the public packages pin every `effect`-family
541
+ package alchemy would float.
542
542
  2. **A deployed `/rpc/<method>` returns `401` to anything but a wired
543
543
  peer.** Not a broken deploy; see Contracts above.
544
544
  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";