@prisma/composer 0.30.0-dev.6 → 0.30.0-dev.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/composer",
|
|
3
|
-
"version": "0.30.0-dev.
|
|
3
|
+
"version": "0.30.0-dev.7",
|
|
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": {
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
"@prisma/management-api-sdk": "^1.80.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@internal/assemble": "0.30.0-dev.
|
|
43
|
-
"@internal/cli": "0.30.0-dev.
|
|
44
|
-
"@internal/core": "0.30.0-dev.
|
|
45
|
-
"@internal/foundation": "0.30.0-dev.
|
|
46
|
-
"@internal/lowering": "0.30.0-dev.
|
|
47
|
-
"@internal/nextjs": "0.30.0-dev.
|
|
48
|
-
"@internal/node": "0.30.0-dev.
|
|
49
|
-
"@internal/service-rpc": "0.30.0-dev.
|
|
50
|
-
"@internal/tsdown-config": "0.30.0-dev.
|
|
42
|
+
"@internal/assemble": "0.30.0-dev.7",
|
|
43
|
+
"@internal/cli": "0.30.0-dev.7",
|
|
44
|
+
"@internal/core": "0.30.0-dev.7",
|
|
45
|
+
"@internal/foundation": "0.30.0-dev.7",
|
|
46
|
+
"@internal/lowering": "0.30.0-dev.7",
|
|
47
|
+
"@internal/nextjs": "0.30.0-dev.7",
|
|
48
|
+
"@internal/node": "0.30.0-dev.7",
|
|
49
|
+
"@internal/service-rpc": "0.30.0-dev.7",
|
|
50
|
+
"@internal/tsdown-config": "0.30.0-dev.7",
|
|
51
51
|
"@types/node": "^26.0.1",
|
|
52
52
|
"tsdown": "^0.22.7",
|
|
53
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.30.0-dev.
|
|
5
|
+
library_version: "0.30.0-dev.7"
|
|
6
6
|
version: 2026.9.1
|
|
7
7
|
description: >-
|
|
8
8
|
Use when deploying or managing an app that uses Prisma Composer
|
|
@@ -333,8 +333,7 @@ its duration (`✔ assemble web (3m 42s)`), and ends with the real total
|
|
|
333
333
|
assemble per service, connect to project and branch, check environment
|
|
334
334
|
variables, plan and apply (one step: alchemy does both in one process), record
|
|
335
335
|
result. A slow assemble is usually a Node service with
|
|
336
|
-
`dependencies: 'external'`, whose runtime dependencies are being traced.
|
|
337
|
-
terminal) each step is a `step-started`/`step-finished` line whose `data`
|
|
336
|
+
`dependencies: 'external'`, whose runtime dependencies are being traced. With `--json`, each step is a `step-started`/`step-finished` line whose `data`
|
|
338
337
|
holds `durationMs` plus whatever the build adapter or deploy target reported;
|
|
339
338
|
those extra fields vary, so don't parse them as a stable format. The
|
|
340
339
|
`deploy` operation's `onEvent` receives the same steps, and its result's
|
|
@@ -456,11 +455,11 @@ that surprise:
|
|
|
456
455
|
Don't hard-code a local port; ports differ per directory. `prisma dev url
|
|
457
456
|
<address>` (run in the same directory as `dev`) prints where a running node
|
|
458
457
|
answers: a service's `http://localhost:<port>`, a database's connection
|
|
459
|
-
string, a bucket's S3 endpoint plus `/<bucket>`.
|
|
460
|
-
|
|
461
|
-
`url
|
|
462
|
-
|
|
463
|
-
|
|
458
|
+
string, a bucket's S3 endpoint plus `/<bucket>`. The URL alone goes to
|
|
459
|
+
stdout, piped or not, so scripts use `url=$(prisma dev url gateway) && curl "$url"`
|
|
460
|
+
(`dev url`, `dev stop` and `emulator list` first ship in the `prisma`
|
|
461
|
+
release after 8.0.0-rc.23).
|
|
462
|
+
`--json` gives the full result or the error with its code. It fails with
|
|
464
463
|
`DEV.NOT_STARTED_HERE` (no `dev` ran here), `DEV.ADDRESS_UNKNOWN` (lists
|
|
465
464
|
the known addresses), `DEV.EMULATOR_UNREACHABLE`, or `DEV.NOT_RUNNING` (the
|
|
466
465
|
node is stopped, a service is crash-looping and its log is named, or the
|
|
@@ -468,7 +467,9 @@ that surprise:
|
|
|
468
467
|
`prisma dev stop` stops the app's services and database servers when `dev`
|
|
469
468
|
was killed without doing it; data and ports stay. `prisma emulator list`
|
|
470
469
|
shows every local emulator and its instances, from any directory; one that
|
|
471
|
-
runs but cannot be listed carries an `error` in its own entry.
|
|
470
|
+
runs but cannot be listed carries an `error` in its own entry. Piped, it
|
|
471
|
+
writes one tab-separated line per instance: emulator kind, instance id,
|
|
472
|
+
URL, state, node address, directory.
|
|
472
473
|
`prisma emulator start` and `stop` are planned.
|
|
473
474
|
For agents, scripts and CI, `prisma dev <entry> --detach` runs the app in
|
|
474
475
|
the background: it exits 0 once every service answers and prints the URLs,
|