@prisma/orm-mongo 8.0.0-rc.1-dev.45 → 8.0.0-rc.1-dev.46
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/README.md +4 -4
- package/package.json +8 -12
- package/dist/bin__prisma-next.mjs +0 -3
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ The one package a MongoDB application installs. It wires the framework, the Mong
|
|
|
12
12
|
├── @prisma/orm-framework contracts, components, runtime core
|
|
13
13
|
├── @prisma/orm-family-mongo Mongo contract, query builders, runtime
|
|
14
14
|
├── @prisma/orm-target-mongo target descriptor + adapter + driver
|
|
15
|
-
└── @prisma/orm-toolchain
|
|
15
|
+
└── @prisma/orm-toolchain ORM command family for the `prisma` CLI, emitter, config loader
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
`mongodb` is a peer dependency: the driver is the application's, so a single connection pool and a single BSON implementation serve both Prisma Next and any direct `mongodb` use in the same process.
|
|
@@ -23,7 +23,7 @@ The one package a MongoDB application installs. It wires the framework, the Mong
|
|
|
23
23
|
| --- | --- |
|
|
24
24
|
| `/runtime` | `mongo(url)` — the lazy query client |
|
|
25
25
|
| `/static` | statically composed runtime for pre-wired deployments |
|
|
26
|
-
| `/config` | `defineConfig` for `prisma
|
|
26
|
+
| `/config` | `defineConfig` for `prisma.config.ts` |
|
|
27
27
|
| `/contract-builder` | `defineContract` and Mongo contract authoring |
|
|
28
28
|
| `/bson` | BSON value helpers (`ObjectId`, `Decimal128`, …) |
|
|
29
29
|
| `/target`, `/family` | the Mongo target pack and the Mongo family pack |
|
|
@@ -41,9 +41,9 @@ Generated contract files import their types from the facade, so an application n
|
|
|
41
41
|
|
|
42
42
|
These forward; they do not copy. `@prisma/orm-mongo/contract/types` and `@prisma/orm-framework/contract/types` are the same module, so shared registries and `instanceof` checks hold across the boundary.
|
|
43
43
|
|
|
44
|
-
## The
|
|
44
|
+
## The CLI
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
This package ships no bin. The ORM commands run inside the unified `prisma` CLI, which mounts the command family published at `@prisma/orm-toolchain/cli`.
|
|
47
47
|
|
|
48
48
|
## Responsibilities
|
|
49
49
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/orm-mongo",
|
|
3
|
-
"version": "8.0.0-rc.1-dev.
|
|
3
|
+
"version": "8.0.0-rc.1-dev.46",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@prisma/orm-family-mongo": "8.0.0-rc.1-dev.
|
|
13
|
-
"@prisma/orm-framework": "8.0.0-rc.1-dev.
|
|
14
|
-
"@prisma/orm-target-mongo": "8.0.0-rc.1-dev.
|
|
15
|
-
"@prisma/orm-toolchain": "8.0.0-rc.1-dev.
|
|
12
|
+
"@prisma/orm-family-mongo": "8.0.0-rc.1-dev.46",
|
|
13
|
+
"@prisma/orm-framework": "8.0.0-rc.1-dev.46",
|
|
14
|
+
"@prisma/orm-target-mongo": "8.0.0-rc.1-dev.46",
|
|
15
|
+
"@prisma/orm-toolchain": "8.0.0-rc.1-dev.46",
|
|
16
16
|
"pathe": "^2.0.3"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@internal/mongo": "8.0.0-rc.1-dev.
|
|
20
|
-
"@repo/tsconfig": "8.0.0-rc.1-dev.
|
|
21
|
-
"@repo/tsdown": "8.0.0-rc.1-dev.
|
|
19
|
+
"@internal/mongo": "8.0.0-rc.1-dev.46",
|
|
20
|
+
"@repo/tsconfig": "8.0.0-rc.1-dev.46",
|
|
21
|
+
"@repo/tsdown": "8.0.0-rc.1-dev.46",
|
|
22
22
|
"tsdown": "0.22.14",
|
|
23
23
|
"typescript": "5.9.3"
|
|
24
24
|
},
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
"./adapter/codecs": "./dist/adapter__codecs.mjs",
|
|
39
39
|
"./adapter/control": "./dist/adapter__control.mjs",
|
|
40
40
|
"./adapter/runtime": "./dist/adapter__runtime.mjs",
|
|
41
|
-
"./bin/prisma-next": "./dist/bin__prisma-next.mjs",
|
|
42
41
|
"./bson": "./dist/bson.mjs",
|
|
43
42
|
"./components": "./dist/components.mjs",
|
|
44
43
|
"./components/authoring": "./dist/components__authoring.mjs",
|
|
@@ -119,9 +118,6 @@
|
|
|
119
118
|
"./vite-plugin-contract-emit": "./dist/vite-plugin-contract-emit.mjs",
|
|
120
119
|
"./package.json": "./package.json"
|
|
121
120
|
},
|
|
122
|
-
"bin": {
|
|
123
|
-
"prisma-next": "./dist/bin__prisma-next.mjs"
|
|
124
|
-
},
|
|
125
121
|
"repository": {
|
|
126
122
|
"type": "git",
|
|
127
123
|
"url": "https://github.com/prisma/prisma.git",
|