@prisma/composer 0.14.0-dev.6 → 0.15.0-dev.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/package.json +10 -10
- package/skills/prisma-composer/SKILL.md +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/composer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0-dev.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 `prisma-composer` CLI lives in @prisma/composer-cli.",
|
|
6
6
|
"exports": {
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@effect/vitest": "4.0.0-rc.112",
|
|
42
|
-
"@internal/assemble": "0.
|
|
43
|
-
"@internal/cli": "0.
|
|
44
|
-
"@internal/core": "0.
|
|
45
|
-
"@internal/foundation": "0.
|
|
46
|
-
"@internal/lowering": "0.
|
|
47
|
-
"@internal/nextjs": "0.
|
|
48
|
-
"@internal/node": "0.
|
|
49
|
-
"@internal/service-rpc": "0.
|
|
50
|
-
"@internal/tsdown-config": "0.
|
|
42
|
+
"@internal/assemble": "0.15.0-dev.1",
|
|
43
|
+
"@internal/cli": "0.15.0-dev.1",
|
|
44
|
+
"@internal/core": "0.15.0-dev.1",
|
|
45
|
+
"@internal/foundation": "0.15.0-dev.1",
|
|
46
|
+
"@internal/lowering": "0.15.0-dev.1",
|
|
47
|
+
"@internal/nextjs": "0.15.0-dev.1",
|
|
48
|
+
"@internal/node": "0.15.0-dev.1",
|
|
49
|
+
"@internal/service-rpc": "0.15.0-dev.1",
|
|
50
|
+
"@internal/tsdown-config": "0.15.0-dev.1",
|
|
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
|
|
3
3
|
metadata:
|
|
4
4
|
library: "@prisma/composer"
|
|
5
|
-
library_version: "0.
|
|
5
|
+
library_version: "0.15.0-dev.1"
|
|
6
6
|
description: >-
|
|
7
7
|
How to write, test, and deploy an app with Prisma Composer
|
|
8
8
|
(`@prisma/composer`): declare services with `compute()` and typed
|
|
@@ -328,13 +328,13 @@ export const catalogData = pnContract<Contract>(contractJson);
|
|
|
328
328
|
|
|
329
329
|
The dependency end is `deps: { db: pnPostgres(catalogData) }`. The resource
|
|
330
330
|
end (inside the module that owns the database) also names the
|
|
331
|
-
`prisma
|
|
331
|
+
`prisma.config.ts` path, which the deploy's migration step loads to find
|
|
332
332
|
`migrations/` — committed migrations are replayed at deploy, before the
|
|
333
333
|
service starts:
|
|
334
334
|
|
|
335
335
|
```ts
|
|
336
336
|
const db = provision(
|
|
337
|
-
pnPostgres({ name: 'database', contract: catalogData, config: './prisma
|
|
337
|
+
pnPostgres({ name: 'database', contract: catalogData, config: './prisma.config.ts' }),
|
|
338
338
|
);
|
|
339
339
|
```
|
|
340
340
|
|