@prisma/composer 0.30.0-dev.2 → 0.30.0-dev.3

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.2",
3
+ "version": "0.30.0-dev.3",
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.2",
43
- "@internal/cli": "0.30.0-dev.2",
44
- "@internal/core": "0.30.0-dev.2",
45
- "@internal/foundation": "0.30.0-dev.2",
46
- "@internal/lowering": "0.30.0-dev.2",
47
- "@internal/nextjs": "0.30.0-dev.2",
48
- "@internal/node": "0.30.0-dev.2",
49
- "@internal/service-rpc": "0.30.0-dev.2",
50
- "@internal/tsdown-config": "0.30.0-dev.2",
42
+ "@internal/assemble": "0.30.0-dev.3",
43
+ "@internal/cli": "0.30.0-dev.3",
44
+ "@internal/core": "0.30.0-dev.3",
45
+ "@internal/foundation": "0.30.0-dev.3",
46
+ "@internal/lowering": "0.30.0-dev.3",
47
+ "@internal/nextjs": "0.30.0-dev.3",
48
+ "@internal/node": "0.30.0-dev.3",
49
+ "@internal/service-rpc": "0.30.0-dev.3",
50
+ "@internal/tsdown-config": "0.30.0-dev.3",
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.2"
5
+ library_version: "0.30.0-dev.3"
6
6
  version: 2026.9.1
7
7
  description: >-
8
8
  Use when deploying or managing an app that uses Prisma Composer
@@ -443,6 +443,7 @@ that surprise:
443
443
  changes.
444
444
  `ready` prints only once every service accepts connections on its port, except a service declared `compute({ ..., listens: false })` (one that never listens, like the cron scheduler), which counts as running once its process starts. A service that exits before it listens, or does not listen within 30 seconds, fails `dev` (and stops the app's other services) with a message naming the service, its port, and its log file: on a first start it is in the deploy engine's output, before the error that the deploy engine exited (`DEV.CONVERGE_FAILED` from the `dev` operation); on a warm start it is the `DEV.SERVICE_START_FAILED` message. `PRISMA_COMPOSER_SERVICE_READY_TIMEOUT_MS` raises the 30-second limit (milliseconds); the compute emulator reads it when it starts, so a running emulator keeps its old value until its process ends. An emulator that does not accept connections fails `dev` and `log` with `DEV.EMULATOR_UNREACHABLE` after a few seconds of retries; nothing else is retried.
445
445
  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.
446
+ Services belong to the directory `dev` runs in: two checkouts of one app (two git worktrees) run separate processes on separate ports and never restart each other's. `.prisma-composer/dev/emulator-instances.json` records which local service backs each service. A service keeps its port in its directory across runs, even while stopped. If its local service is gone (a Composer upgrade discarded the compute emulator's state), the next `dev` re-creates it and asks for the old port; when another directory has taken it, the service gets the lowest free port and `dev` prints `[dev] service "<address>" now uses port <new>: its previous port <old> is in use`. A directory runs one app at a time: running a different app there removes the previous app's local services and prints `[dev] removed the local services of "<app>", the app run here before`. A stopped service keeps its port reserved, so a deleted checkout's services keep theirs; there is no command to remove them yet. Local databases and buckets are still keyed by the app's name, so two checkouts of one app share them.
446
447
  3. `dev` does not print service logs. The `log` operation follows the
447
448
  already-running app's merged logs; it never builds, provisions, starts, or
448
449
  stops anything: