@prisma/orm-mongo 8.0.1-dev.4 → 8.0.1-dev.40

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.
Files changed (196) hide show
  1. package/README.md +6 -5
  2. package/dist/bson.d.mts +2 -1
  3. package/dist/components__runtime.d.mts +3 -1
  4. package/dist/config.d.mts +2 -1
  5. package/dist/config.d.mts.map +1 -1
  6. package/dist/contract-builder.d.mts +11 -12
  7. package/dist/contract-builder.d.mts.map +1 -1
  8. package/dist/contract-types.d.mts +5 -3
  9. package/dist/contract__types.d.mts +3 -1
  10. package/dist/control.d.mts +2 -1
  11. package/dist/control.d.mts.map +1 -1
  12. package/dist/family-contract.d.mts +3 -1
  13. package/dist/family-runtime.d.mts +3 -1
  14. package/dist/family.d.mts +2 -1
  15. package/dist/family__control.d.mts +3 -1
  16. package/dist/init.d.mts +2 -1
  17. package/dist/init.d.mts.map +1 -1
  18. package/dist/migration-tools__aggregate.d.mts +3 -1
  19. package/dist/migration-tools__hash.d.mts +3 -1
  20. package/dist/migration-tools__io.d.mts +3 -1
  21. package/dist/migration-tools__spaces.d.mts +3 -1
  22. package/dist/migration.d.mts +3 -1
  23. package/dist/{mongo-static-EoRI716B-BQd9qgyF.mjs → mongo-static-DjmABCwj-8F0oDGAV.mjs} +4 -4
  24. package/dist/mongo-static-DjmABCwj-8F0oDGAV.mjs.map +1 -0
  25. package/dist/orm.d.mts +3 -1
  26. package/dist/query-ast__execution.d.mts +3 -1
  27. package/dist/query-builder.d.mts +3 -1
  28. package/dist/runtime.d.mts +3 -1
  29. package/dist/runtime.d.mts.map +1 -1
  30. package/dist/runtime.mjs +6 -6
  31. package/dist/runtime.mjs.map +1 -1
  32. package/dist/static.d.mts +2 -1
  33. package/dist/static.d.mts.map +1 -1
  34. package/dist/static.mjs +1 -1
  35. package/dist/target.d.mts +2 -1
  36. package/dist/target__codec-ids.d.mts +3 -1
  37. package/dist/target__codec-types.d.mts +3 -1
  38. package/dist/target__migration.d.mts +3 -1
  39. package/dist/target__runtime.d.mts +2 -1
  40. package/dist/value.d.mts +3 -1
  41. package/dist/vite-plugin-contract-emit.d.mts +3 -1
  42. package/package.json +12 -81
  43. package/skills/prisma-8/SKILL.md +7 -7
  44. package/skills/prisma-8/references/contract.md +1 -1
  45. package/skills/prisma-8/references/debug.md +11 -11
  46. package/skills/prisma-8/references/migration-model.md +17 -17
  47. package/skills/prisma-8/references/migration-review.md +21 -21
  48. package/skills/prisma-8/references/migrations.md +58 -42
  49. package/skills/prisma-8/references/queries-postgres.md +51 -8
  50. package/skills/prisma-8/references/queries.md +2 -2
  51. package/skills/prisma-8/references/quickstart.md +11 -11
  52. package/skills/prisma-8/references/runtime.md +3 -3
  53. package/skills/prisma-8/references/upgrade-app.md +55 -17
  54. package/skills/prisma-8/references/upgrade-extension.md +34 -11
  55. package/skills/prisma-8/upgrading/extension/upgrades/0.11-to-0.12/instructions.md +1 -1
  56. package/skills/prisma-8/upgrading/extension/upgrades/0.8-to-0.9/instructions.md +1 -1
  57. package/skills/prisma-8/upgrading/extension/upgrades/0.9-to-0.10/instructions.md +1 -1
  58. package/dist/adapter.d.mts +0 -1
  59. package/dist/adapter.mjs +0 -2
  60. package/dist/adapter__control.d.mts +0 -3
  61. package/dist/adapter__control.mjs +0 -3
  62. package/dist/adapter__runtime.d.mts +0 -3
  63. package/dist/adapter__runtime.mjs +0 -3
  64. package/dist/components.d.mts +0 -1
  65. package/dist/components.mjs +0 -2
  66. package/dist/components__authoring.d.mts +0 -1
  67. package/dist/components__authoring.mjs +0 -2
  68. package/dist/components__codec.d.mts +0 -1
  69. package/dist/components__codec.mjs +0 -2
  70. package/dist/components__components.d.mts +0 -1
  71. package/dist/components__components.mjs +0 -2
  72. package/dist/components__control.d.mts +0 -1
  73. package/dist/components__control.mjs +0 -2
  74. package/dist/components__emission.d.mts +0 -1
  75. package/dist/components__emission.mjs +0 -2
  76. package/dist/components__execution.d.mts +0 -1
  77. package/dist/components__execution.mjs +0 -2
  78. package/dist/components__ir.d.mts +0 -1
  79. package/dist/components__ir.mjs +0 -2
  80. package/dist/components__psl-ast.d.mts +0 -1
  81. package/dist/components__psl-ast.mjs +0 -2
  82. package/dist/components__utils.d.mts +0 -1
  83. package/dist/components__utils.mjs +0 -2
  84. package/dist/contract.d.mts +0 -1
  85. package/dist/contract.mjs +0 -2
  86. package/dist/contract__apply-specifier-default-control-policy.d.mts +0 -1
  87. package/dist/contract__apply-specifier-default-control-policy.mjs +0 -2
  88. package/dist/contract__contract-validation-error.d.mts +0 -1
  89. package/dist/contract__contract-validation-error.mjs +0 -2
  90. package/dist/contract__default-namespace.d.mts +0 -1
  91. package/dist/contract__default-namespace.mjs +0 -2
  92. package/dist/contract__enum-accessor.d.mts +0 -1
  93. package/dist/contract__enum-accessor.mjs +0 -2
  94. package/dist/contract__format-version.d.mts +0 -1
  95. package/dist/contract__format-version.mjs +0 -2
  96. package/dist/contract__hashing-utils.d.mts +0 -1
  97. package/dist/contract__hashing-utils.mjs +0 -2
  98. package/dist/contract__hashing.d.mts +0 -1
  99. package/dist/contract__hashing.mjs +0 -2
  100. package/dist/contract__internal__format-version.d.mts +0 -1
  101. package/dist/contract__internal__format-version.mjs +0 -2
  102. package/dist/contract__is-plain-record.d.mts +0 -1
  103. package/dist/contract__is-plain-record.mjs +0 -2
  104. package/dist/contract__resolve-domain-model.d.mts +0 -1
  105. package/dist/contract__resolve-domain-model.mjs +0 -2
  106. package/dist/contract__validate-domain.d.mts +0 -1
  107. package/dist/contract__validate-domain.mjs +0 -2
  108. package/dist/contract__validate-once.d.mts +0 -1
  109. package/dist/contract__validate-once.mjs +0 -2
  110. package/dist/contract__validate-storage.d.mts +0 -1
  111. package/dist/contract__validate-storage.mjs +0 -2
  112. package/dist/driver.d.mts +0 -1
  113. package/dist/driver.mjs +0 -2
  114. package/dist/driver__control.d.mts +0 -3
  115. package/dist/driver__control.mjs +0 -3
  116. package/dist/driver__runtime.d.mts +0 -3
  117. package/dist/driver__runtime.mjs +0 -3
  118. package/dist/family-contract__canonicalization-hooks.d.mts +0 -1
  119. package/dist/family-contract__canonicalization-hooks.mjs +0 -2
  120. package/dist/family-contract__data-type.d.mts +0 -1
  121. package/dist/family-contract__data-type.mjs +0 -2
  122. package/dist/family-contract__entity-kinds.d.mts +0 -1
  123. package/dist/family-contract__entity-kinds.mjs +0 -2
  124. package/dist/family__control-adapter.d.mts +0 -1
  125. package/dist/family__control-adapter.mjs +0 -2
  126. package/dist/family__ir.d.mts +0 -1
  127. package/dist/family__ir.mjs +0 -2
  128. package/dist/family__migration.d.mts +0 -1
  129. package/dist/family__migration.mjs +0 -2
  130. package/dist/family__pack.d.mts +0 -3
  131. package/dist/family__pack.mjs +0 -3
  132. package/dist/family__runtime.d.mts +0 -1
  133. package/dist/family__runtime.mjs +0 -2
  134. package/dist/family__schema-verify.d.mts +0 -1
  135. package/dist/family__schema-verify.mjs +0 -2
  136. package/dist/migration-tools__contract-snapshot-store.d.mts +0 -1
  137. package/dist/migration-tools__contract-snapshot-store.mjs +0 -2
  138. package/dist/mongo-static-EoRI716B-BQd9qgyF.mjs.map +0 -1
  139. package/dist/query-ast.d.mts +0 -1
  140. package/dist/query-ast.mjs +0 -2
  141. package/dist/query-ast__control.d.mts +0 -1
  142. package/dist/query-ast__control.mjs +0 -2
  143. package/dist/query-builder__contract-free.d.mts +0 -1
  144. package/dist/query-builder__contract-free.mjs +0 -2
  145. package/dist/target__codecs.d.mts +0 -1
  146. package/dist/target__codecs.mjs +0 -2
  147. package/dist/target__control.d.mts +0 -1
  148. package/dist/target__control.mjs +0 -2
  149. package/dist/target__data-types.d.mts +0 -1
  150. package/dist/target__data-types.mjs +0 -2
  151. package/dist/target__pack.d.mts +0 -3
  152. package/dist/target__pack.mjs +0 -3
  153. package/dist/target__server-version.d.mts +0 -1
  154. package/dist/target__server-version.mjs +0 -2
  155. package/dist/utils.d.mts +0 -1
  156. package/dist/utils.mjs +0 -2
  157. package/dist/utils__abortable.d.mts +0 -1
  158. package/dist/utils__abortable.mjs +0 -2
  159. package/dist/utils__array-equal.d.mts +0 -1
  160. package/dist/utils__array-equal.mjs +0 -2
  161. package/dist/utils__assertions.d.mts +0 -1
  162. package/dist/utils__assertions.mjs +0 -2
  163. package/dist/utils__canonical-stringify.d.mts +0 -1
  164. package/dist/utils__canonical-stringify.mjs +0 -2
  165. package/dist/utils__casts.d.mts +0 -1
  166. package/dist/utils__casts.mjs +0 -2
  167. package/dist/utils__defined.d.mts +0 -1
  168. package/dist/utils__defined.mjs +0 -2
  169. package/dist/utils__guards.d.mts +0 -1
  170. package/dist/utils__guards.mjs +0 -2
  171. package/dist/utils__hash-content.d.mts +0 -1
  172. package/dist/utils__hash-content.mjs +0 -2
  173. package/dist/utils__internal-error.d.mts +0 -1
  174. package/dist/utils__internal-error.mjs +0 -2
  175. package/dist/utils__json.d.mts +0 -1
  176. package/dist/utils__json.mjs +0 -2
  177. package/dist/utils__promise.d.mts +0 -1
  178. package/dist/utils__promise.mjs +0 -2
  179. package/dist/utils__redact-db-url.d.mts +0 -1
  180. package/dist/utils__redact-db-url.mjs +0 -2
  181. package/dist/utils__result.d.mts +0 -1
  182. package/dist/utils__result.mjs +0 -2
  183. package/dist/utils__simplify-deep.d.mts +0 -1
  184. package/dist/utils__simplify-deep.mjs +0 -2
  185. package/dist/utils__structured-error.d.mts +0 -1
  186. package/dist/utils__structured-error.mjs +0 -2
  187. package/dist/utils__suppress-idle-connection-errors.d.mts +0 -1
  188. package/dist/utils__suppress-idle-connection-errors.mjs +0 -2
  189. package/dist/utils__text.d.mts +0 -1
  190. package/dist/utils__text.mjs +0 -2
  191. package/dist/utils__types.d.mts +0 -1
  192. package/dist/utils__types.mjs +0 -2
  193. package/dist/utils__upgrade-guides.d.mts +0 -1
  194. package/dist/utils__upgrade-guides.mjs +0 -2
  195. package/dist/value__mongodb-types.d.mts +0 -1
  196. package/dist/value__mongodb-types.mjs +0 -2
@@ -30,6 +30,7 @@ If detection is ambiguous, ask the user which role to operate under.
30
30
  - **From-version.** Read the installed Prisma 8 version from `pnpm-lock.yaml` (or `package-lock.json` / `yarn.lock`): take the resolved version of any `@prisma/orm-*` platform package (`@prisma/orm-framework`, `@prisma/orm-family-*`, `@prisma/orm-target-*`, `@prisma/orm-toolchain`). Do not read it from an extension published by someone else, which has its own version.
31
31
  - **On the `8.0.0` release candidates,** compare the full version strings, including the part after the hyphen. `8.0.0-rc.10` and `8.0.0-rc.11` are different versions, and different steps in the chain below.
32
32
  - **From release 8.0,** a step is named by the release, which is the major and minor: `8.0-to-8.1`. So the from-version is the release that a package's version belongs to. `8.0.1-ea.0`, `8.0.1` and `8.0.2` all belong to release `8.0`. (A platform package below GA has a level suffix, such as `8.0.1-ea.0` for `@prisma/orm-family-mongo`.)
33
+ - **What counts as a version of a release.** Release 8.0 starts at `8.0.1` for a GA package and `8.0.1-ea.0` (or `-preview.0`, `-rc.0`) for one below GA. A version `8.0.0-rc.N` is a release candidate, which is a step of its own, not a version of release 8.0, although its major and minor are `8.0`. A version with `-dev.` in it is a development build and is not a version of any release. Wherever this reference says "a version in the `<to>` release" or "the first version in the `<to>` release", it means this.
33
34
  - If the lockfile shows the platform packages on different releases, the lowest is the from-version.
34
35
  - **To-version.** Either the version the user specified, or whatever `npm view @prisma/orm-framework dist-tags.latest` reports. Do not assume that is a stable version: while Prisma 8 is a release candidate, `latest` tracks the newest release, `8.0.0-rc.N` included. If the user wants a stable version specifically, they must name it.
35
36
 
@@ -45,7 +46,7 @@ If the from-to delta spans more than one release (e.g. `0.6 → 0.8`), build the
45
46
 
46
47
  The [`../upgrading/extension/upgrades/`](../upgrading/extension/upgrades/) directories name the steps — read the chain off the directory names rather than deriving it arithmetically. Each directory is `<from>-to-<to>`. A step normally spans one stable minor (`0.7-to-0.8`) or one release candidate (`8.0.0-rc.1-to-8.0.0-rc.2`). When intermediate versions were not published, a guide may span a larger hop; follow the available directory chain rather than inventing missing steps. Moving onto the RC line from the last stable minor is a single step of its own (`0.17-to-8.0.0-rc.1`).
47
48
 
48
- Apply each step in order, fully: bump, install, run instructions, check pins, validate, commit — before moving to the next. Halt the chain on the first failed step.
49
+ Apply each step in order, fully: bump, install, run instructions, check pins, validate, commit — before moving to the next. The one exception is a step that a package with versions of its own, or `prisma`, has no release for; the bump step says when to take steps together. Halt the chain on the first failed step.
49
50
 
50
51
  ## Per-step flow
51
52
 
@@ -54,16 +55,37 @@ This flow assumes you are an **external extension author**: your extension lives
54
55
  For each `(from, to)` step in the chain:
55
56
 
56
57
  1. **Bump `@prisma/orm-*` deps.** What to write depends on the release:
57
- - **On the `8.0.0` release candidates,** rewrite every `@prisma/orm-*` entry in the extension's `package.json` to the exact `<to>` version, such as `"8.0.0-rc.11"`: no caret, no tilde, no range, and no `workspace:` specifier. The exact-pin rule below says why. All entries move to the same version. That includes another extension published from the Prisma repository, such as `@prisma/orm-extension-pgvector`: every `@prisma/orm-*` package is published at every release, and each lists the others at that release's version.
58
+ - **On the `8.0.0` release candidates,** rewrite every `@prisma/orm-*` entry in the extension's `package.json` to the exact `<to>` version, such as `"8.0.0-rc.11"`, except a package with versions of its own (below): no caret, no tilde, no range, and no `workspace:` specifier. The exact-pin rule below says why. All entries move to the same version. That includes another extension [released with the ORM](upgrade-app.md#pre-flight--extension-compatibility), such as `@prisma/orm-extension-pgvector`: each of those lists the others at that release's version.
58
59
  - **From release 8.0,** the two sections of `package.json` differ.
59
- - Under `peerDependencies`, write the ranges that [the last section](#from-release-80-number-your-package-and-declare-ranges) gives. They say which releases your package accepts, and a caret there need not change at every step.
60
- - Under `devDependencies`, write each package's first version in the `<to>` release, so that your build and tests run against `<to>`: `8.2.0` for a GA package at the step to release 8.2, whatever the peer range says. Put a tilde in front of every one, such as `~8.2.0` or `~8.2.0-ea.0`. A tilde stays within `<to>` and still takes its fixes. A caret would let the install take a later release, whose instructions have not been applied, and would let a GA package move ahead of a package below GA that the tests use.
60
+ - Under `peerDependencies`, write the ranges that [the last section](#from-release-80-number-your-package-and-declare-ranges) gives, except for a package with versions of its own (below). They say which releases your package accepts, and a caret there need not change at every step.
61
+ - Under `devDependencies`, write each package's first version in the `<to>` release, again except for a package with versions of its own, so that your build and tests run against `<to>`: `8.2.0` for a GA package at the step to release 8.2, whatever the peer range says. Put a tilde in front of every one, such as `~8.2.0` or `~8.2.0-ea.0`. A tilde stays within `<to>` and still takes its fixes. A caret would let the install take a later release, whose instructions have not been applied, and would let a GA package move ahead of a package below GA that the tests use.
61
62
 
62
63
  Where each entry goes is the same on every release:
63
64
  - A package that the extension's shipped code imports belongs under `peerDependencies`, and again under `devDependencies`.
64
65
  - A package that only the extension's tests use, such as a database package the tests run against, belongs under `devDependencies` alone.
65
66
  - Move any entry that is still under `dependencies` or `optionalDependencies`. An extension written for an earlier release had the framework, the family and the toolchain as ordinary dependencies.
66
67
 
68
+ **A package with versions of its own.** A Prisma package is released with the ORM at this step only when it has a version in the `<to>` release, as [Version detection](#version-detection) defines it, whose `repository.url` names `prisma/orm` itself, as [the application pre-flight](upgrade-app.md#pre-flight--extension-compatibility) describes. Any other package your extension uses has versions of its own, even when its name starts with `@prisma/orm-`: an extension published by someone else, a package Prisma publishes from another repository, or one that moved out of the ORM repository. If you cannot tell which kind a package is, treat it as one with versions of its own; the search below finds the right version for either kind. Do not write `<to>`, or a version derived from it, for such a package: that version may never be published. Find the newest release of it whose every entry accepts this step's versions, reading its entries on `@prisma/orm-*` packages and on the other packages with versions of their own as step 3 of the application pre-flight does. If it has none, but has one for a later step of the chain, take the steps up to that later step together, as [Steps taken together](upgrade-app.md#steps-taken-together) describes for an application. In this flow that means: do step 1, the bump, once, to the later step's versions; step 2, the install, once; step 3, the pin check, once, after the install; then steps 4 and 5, reading and applying the upgrade instructions, for every step from the first of them to the later one, in order; then step 6, validation, and step 7, the commit, once. If no later step has one either, halt before this step's install and tell the user which package has no release for which Prisma version. Write the release you found:
69
+ - on the `8.0.0` release candidates, as its exact version, under `devDependencies`, and also under `peerDependencies` when the extension's shipped code imports it, as above;
70
+ - from release 8.0, under `devDependencies`, with a tilde on that release's version, such as `~8.0.1-ea.0`, or as the exact version when the tilde would also accept a later release of it that does not accept this step, because the install takes the newest release a range accepts; under `peerDependencies`, when the shipped code imports it, the range [the last section](#from-release-80-number-your-package-and-declare-ranges) gives for that package's level, taken from that release's version and not from `<to>`, such as `^8.0.1` for a GA version `8.0.1` or `~8.0.1-ea.0` for a version below GA.
71
+
72
+ **The `prisma` command-line tool.** If the extension lists `prisma` under `devDependencies`, to run `prisma` commands such as `prisma contract emit` in its build or tests, choose its version as [Choosing the `prisma` version](upgrade-app.md#choosing-the-prisma-version) describes: on the `8.0.0` release candidates its toolchain must be exactly `<to>`, and so must its framework where it lists one; from release 8.0 they must be in the `<to>` release, which no `8.0.0-rc.N` version is. This matters more for an extension than for an application: the files your build ships and the commands your tests run come from the toolchain that `prisma` brings, not from the one your extension lists.
73
+
74
+ If no `prisma` version fits a step that is not the last of the chain, take that step, and every step after it that no `prisma` version fits either, together with the next step that a `prisma` version fits, as for a package with versions of its own above: a `prisma` command must run on the toolchain of the packages installed at that time. If no `prisma` version fits any of the remaining steps, take the run together with the last step of the chain, which then uses the overrides below. If none fits the last step, which is normal on the day of a release, because `prisma` is published after the ORM, move `prisma` to its `latest` version and make it use this step's versions with pnpm overrides. Use `<to>` on the release candidates, and from release 8.0 the versions your `devDependencies` resolve to:
75
+
76
+ ```json
77
+ "pnpm": {
78
+ "overrides": {
79
+ "prisma>@prisma/orm-toolchain": "<version this step installs>",
80
+ "prisma>@prisma/orm-framework": "<version this step installs>"
81
+ }
82
+ }
83
+ ```
84
+
85
+ The toolchain names one exact `@prisma/cli-engine` as a peer dependency. Under the overrides it runs on the engine that `prisma` brings, and the install may print a peer dependency warning for it when the two versions differ. Leave the engine alone: `prisma` itself runs on that engine, and ADR 329 says the toolchain still reads a config made by an engine of another version.
86
+
87
+ The overrides can also go under the `overrides` key of `pnpm-workspace.yaml`, or in your package manager's equivalent. They run `prisma` with a toolchain it was not released with, so they are a stopgap. Do not publish a release of your extension built while they are in place. Once a `prisma` version that fits is published, move `prisma` to it, remove the overrides, and run the install and validation again.
88
+
67
89
  The skill itself ships inside the Prisma packages, so bumping them is what updates it. There is no separate skill package to bump.
68
90
 
69
91
  2. **Install.** Run `pnpm install` (or the project's lockfile-managing command). The extension's source is now broken against the new SPI — the upgrade instructions for `<from> → <to>` exist to fix it.
@@ -73,10 +95,10 @@ For each `(from, to)` step in the chain:
73
95
  - every such peer dependency must also be under `devDependencies`;
74
96
  - none may be under `dependencies` or `optionalDependencies`.
75
97
 
76
- A development dependency with no peer entry is one that only the tests use, and passes. This prints any entry that breaks the rule, and exits 1:
98
+ A development dependency with no peer entry is one that only the tests use, and passes. A package with versions of its own keeps the version the bump step chose; name each one after `<to>` so the check does not compare its version with `<to>`. It still checks where the package is listed, that its version is exact, and that its peer and development entries are the same version, also for a named package whose name does not start with `@prisma/orm-`. This prints any entry that breaks the rule, and exits 1:
77
99
 
78
100
  ```bash
79
- node -e 'const p=require("./package.json");const to=process.argv[1];const ours=(n)=>n.startsWith("@prisma/orm-");const bad=[];for(const f of ["dependencies","optionalDependencies"])for(const n of Object.keys(p[f]??{}))if(ours(n))bad.push(f+": "+n+" belongs in peerDependencies, or in devDependencies alone if only tests use it");for(const f of ["peerDependencies","devDependencies"])for(const [n,v] of Object.entries(p[f]??{}))if(ours(n)&&v!==to)bad.push(f+": "+n+"@"+v);for(const n of Object.keys(p.peerDependencies??{}))if(ours(n)&&!(n in (p.devDependencies??{})))bad.push("devDependencies: "+n+" is missing");if(bad.length){console.error(bad.join("\n"));process.exit(1)}' <to>
101
+ node -e 'const p=require("./package.json");const [to,...own]=process.argv.slice(1);const ours=(n)=>n.startsWith("@prisma/orm-");const bad=[];for(const f of ["dependencies","optionalDependencies"])for(const n of Object.keys(p[f]??{}))if(ours(n)||own.includes(n))bad.push(f+": "+n+" belongs in peerDependencies, or in devDependencies alone if only tests use it");for(const f of ["peerDependencies","devDependencies"])for(const [n,v] of Object.entries(p[f]??{}))if((ours(n)||own.includes(n))&&(own.includes(n)?!/^\d+\.\d+\.\d+(-[0-9A-Za-z.-]+)?$/.test(v)||(f==="peerDependencies"&&n in (p.devDependencies??{})&&p.devDependencies[n]!==v):v!==to))bad.push(f+": "+n+"@"+v);for(const n of Object.keys(p.peerDependencies??{}))if((ours(n)||own.includes(n))&&!(n in (p.devDependencies??{})))bad.push("devDependencies: "+n+" is missing");if(bad.length){console.error(bad.join("\n"));process.exit(1)}' <to> [<package with versions of its own> ...]
80
102
  ```
81
103
 
82
104
  If it fails, the bump step did not rewrite every entry. Fix the entries it printed and run it again before going on.
@@ -103,7 +125,7 @@ For each `(from, to)` step in the chain:
103
125
  chore: upgrade @prisma/orm-* to <to-version>
104
126
  ```
105
127
 
106
- (Or the extension's own commit-message convention, if it has one.) One commit per step — never squash steps.
128
+ (Or the extension's own commit-message convention, if it has one.) One commit per step — never squash steps, except that [steps taken together](upgrade-app.md#steps-taken-together) are one commit, which names each of them.
107
129
 
108
130
  Move on to the next step. Repeat.
109
131
 
@@ -111,7 +133,7 @@ Move on to the next step. Repeat.
111
133
 
112
134
  This rule holds until release 8.0, while every Prisma 8 package is published as `8.0.0-rc.N`. From release 8.0, ranges replace it; see [the last section](#from-release-80-number-your-package-and-declare-ranges).
113
135
 
114
- A Prisma 8 extension names every `@prisma/orm-*` package its shipped code uses, another extension published from the Prisma repository included, as a **peer dependency** at a single **exact** version (no `^`, no `~`, no range, no wildcard, no `workspace:` specifier in the published `package.json`), and lists the same packages under `devDependencies` at that version, so its own build and tests install them. A package of ours that only its tests use is a development dependency alone, at that version. None of them is an ordinary dependency. All of those entries share the same version. The pin advances after each successful upgrade step, release-candidate steps included.
136
+ A Prisma 8 extension names every `@prisma/orm-*` package its shipped code uses, another extension published from the Prisma repository included, as a **peer dependency** at a single **exact** version (no `^`, no `~`, no range, no wildcard, no `workspace:` specifier in the published `package.json`), and lists the same packages under `devDependencies` at that version, so its own build and tests install them. A package of ours that only its tests use is a development dependency alone, at that version. None of them is an ordinary dependency. All of those entries share the same version. A package with versions of its own is the exception: it goes in the same places, a development dependency always and a peer dependency when the shipped code imports it, but at its own version, which the bump step says how to choose. The pin advances after each successful upgrade step, release-candidate steps included.
115
137
 
116
138
  The version is the one the application's database package (`@prisma/orm-postgres`, `@prisma/orm-mongo`, …) uses.
117
139
 
@@ -119,7 +141,7 @@ An application must have one copy of each Prisma package, and peer dependencies
119
141
 
120
142
  To list every copy and the package that brought it, run `npm ls @prisma/orm-framework`, `pnpm why @prisma/orm-framework` or `bun why @prisma/orm-framework`. [ADR 329](https://github.com/prisma/orm/blob/main/docs/architecture%20docs/adrs/ADR%20329%20-%20An%20application%20lists%20the%20platform%20packages%20and%20our%20packages%20name%20each%20other%20as%20peers.md) explains the reasons, and the one case peer dependencies do not cover, a monorepo with applications on different Prisma releases.
121
143
 
122
- The one-line check in step 3 of the per-step flow enforces the rule; the `prisma-8-check-pins` guard the monorepo uses for its own extensions is not published. Wire the check into the extension's CI alongside the build/test step so an accidental range pin fails the PR before it lands.
144
+ The one-line check in step 3 of the per-step flow enforces the rule. Wire the check into the extension's CI alongside the build/test step so an accidental range pin fails the PR before it lands.
123
145
 
124
146
  ## From release 8.0: number your package and declare ranges
125
147
 
@@ -133,7 +155,8 @@ From release 8.0, Prisma's packages share a release number, which is the major a
133
155
  | --- | --- | --- |
134
156
  | A GA package, and you use only its GA functions | A caret on the first release your package works with | `^8.1.0` |
135
157
  | A GA package, and you use a function below GA, such as `preview_search` | A tilde: that function may change in the next release | `~8.1.0` |
136
- | A package below GA | A tilde on its first version in that release | `~8.1.0-preview.0` |
158
+ | A package below GA, released with the ORM | A tilde on its first version in that release | `~8.1.0-preview.0` |
159
+ | A package with versions of its own | The range for its level, on the newest release of it that accepts the step, found as the bump step says | `^1.4.0` |
137
160
 
138
161
  With a caret, your package keeps working when an application moves to a later release: a package at `8.1.2` that lists `^8.1.0` works in an application on `8.4`. An application on a release below `8.1` gets a mismatch reported at install. With a tilde, you publish a new version of your package for each Prisma release.
139
162
 
@@ -143,7 +166,7 @@ The convention has two costs. A feature of yours that needs no newer Prisma rele
143
166
 
144
167
  ## When the chain is done
145
168
 
146
- Report back to the user: the number of steps applied, the SHAs of the commits you made, and any open follow-ups.
169
+ Report back to the user: the number of steps applied, the SHAs of the commits you made, and any open follow-ups. If the overrides for `prisma` are in place, say so: do not publish a release built with them. Once a `prisma` version that fits is published, move `prisma` to it, remove the overrides, and install and validate again.
147
170
 
148
171
  ## Failure surfaces
149
172
 
@@ -564,7 +564,7 @@ Run the codemod in dry-run mode to confirm no committed manifest still carries t
564
564
  pnpm exec tsx ./strip-migration-labels-hints.ts --check
565
565
  ```
566
566
 
567
- `--check` lists every manifest that still needs fixing and exits non-zero if any remain, so wire it into your extension's CI alongside `prisma-8-check-pins`. A fully migrated tree reports `0 needing fix` and exits `0`.
567
+ `--check` lists every manifest that still needs fixing and exits non-zero if any remain, so wire it into your extension's CI. A fully migrated tree reports `0 needing fix` and exits `0`.
568
568
 
569
569
  ### Validation
570
570
 
@@ -54,4 +54,4 @@ While at it, scan any seed `migration.ts` doc-comments in your extension for sta
54
54
 
55
55
  ### Validation
56
56
 
57
- After running the script and applying the source-level rules above, run `pnpm typecheck && pnpm test` (or your extension's own equivalent). `prisma-8-check-pins` should also pass, since it does not look at `MigrationMetadata` shape.
57
+ After running the script and applying the source-level rules above, run `pnpm typecheck && pnpm test` (or your extension's own equivalent).
@@ -145,6 +145,6 @@ There is no codemod for this — extensions construct `SqlStorage` via too many
145
145
 
146
146
  ### Validation
147
147
 
148
- After running the JSON codemod and applying the source-level rules above, run `pnpm typecheck && pnpm test` (or your extension's equivalent). `prisma-8-check-pins` should also pass — the pin set is unchanged for this transition; the breaking change is in runtime construction behaviour, not the dependency contract.
148
+ After running the JSON codemod and applying the source-level rules above, run `pnpm typecheck && pnpm test` (or your extension's equivalent). The pin set is unchanged for this transition; the breaking change is in runtime construction behaviour, not the dependency contract.
149
149
 
150
150
  If your extension ships seed migrations under `packages/<extension>/migrations/`, also run the codemod with `--check` against the project root to confirm the seed snapshots all stamp correctly. The user-facing copy of the same codemod (under `../../../app/upgrades/0.9-to-0.10/`) operates on the user's app-space migrations; this copy operates on your extension's seed migrations.
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/adapter";
package/dist/adapter.mjs DELETED
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/adapter";
2
- export {};
@@ -1,3 +0,0 @@
1
- import control_default from "@prisma/orm-target-mongo/adapter/control";
2
- export * from "@prisma/orm-target-mongo/adapter/control";
3
- export { control_default as default };
@@ -1,3 +0,0 @@
1
- import control_default from "@prisma/orm-target-mongo/adapter/control";
2
- export * from "@prisma/orm-target-mongo/adapter/control";
3
- export { control_default as default };
@@ -1,3 +0,0 @@
1
- import runtime_default from "@prisma/orm-target-mongo/adapter/runtime";
2
- export * from "@prisma/orm-target-mongo/adapter/runtime";
3
- export { runtime_default as default };
@@ -1,3 +0,0 @@
1
- import runtime_default from "@prisma/orm-target-mongo/adapter/runtime";
2
- export * from "@prisma/orm-target-mongo/adapter/runtime";
3
- export { runtime_default as default };
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/components";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/components";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/components/authoring";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/components/authoring";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/components/codec";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/components/codec";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/components/components";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/components/components";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/components/control";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/components/control";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/components/emission";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/components/emission";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/components/execution";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/components/execution";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/components/ir";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/components/ir";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/components/psl-ast";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/components/psl-ast";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/components/utils";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/components/utils";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract";
package/dist/contract.mjs DELETED
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/apply-specifier-default-control-policy";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/apply-specifier-default-control-policy";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/contract-validation-error";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/contract-validation-error";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/default-namespace";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/default-namespace";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/enum-accessor";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/enum-accessor";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/format-version";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/format-version";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/hashing-utils";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/hashing-utils";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/hashing";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/hashing";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/internal/format-version";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/internal/format-version";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/is-plain-record";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/is-plain-record";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/resolve-domain-model";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/resolve-domain-model";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/validate-domain";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/validate-domain";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/validate-once";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/validate-once";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/validate-storage";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/contract/validate-storage";
2
- export {};
package/dist/driver.d.mts DELETED
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/driver";
package/dist/driver.mjs DELETED
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/driver";
2
- export {};
@@ -1,3 +0,0 @@
1
- import control_default from "@prisma/orm-target-mongo/driver/control";
2
- export * from "@prisma/orm-target-mongo/driver/control";
3
- export { control_default as default };
@@ -1,3 +0,0 @@
1
- import control_default from "@prisma/orm-target-mongo/driver/control";
2
- export * from "@prisma/orm-target-mongo/driver/control";
3
- export { control_default as default };
@@ -1,3 +0,0 @@
1
- import runtime_default from "@prisma/orm-target-mongo/driver/runtime";
2
- export * from "@prisma/orm-target-mongo/driver/runtime";
3
- export { runtime_default as default };
@@ -1,3 +0,0 @@
1
- import runtime_default from "@prisma/orm-target-mongo/driver/runtime";
2
- export * from "@prisma/orm-target-mongo/driver/runtime";
3
- export { runtime_default as default };
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/contract/canonicalization-hooks";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/contract/canonicalization-hooks";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/contract/data-type";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/contract/data-type";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/contract/entity-kinds";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/contract/entity-kinds";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/family/control-adapter";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/family/control-adapter";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/family/ir";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/family/ir";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/family/migration";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/family/migration";
2
- export {};
@@ -1,3 +0,0 @@
1
- import pack_default from "@prisma/orm-family-mongo/family/pack";
2
- export * from "@prisma/orm-family-mongo/family/pack";
3
- export { pack_default as default };
@@ -1,3 +0,0 @@
1
- import pack_default from "@prisma/orm-family-mongo/family/pack";
2
- export * from "@prisma/orm-family-mongo/family/pack";
3
- export { pack_default as default };
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/family/runtime";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/family/runtime";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/family/schema-verify";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/family/schema-verify";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-toolchain/migration-tools/contract-snapshot-store";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-toolchain/migration-tools/contract-snapshot-store";
2
- export {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"mongo-static-EoRI716B-BQd9qgyF.mjs","names":[],"sources":["../../../../3-targets/mongo/9-facade/dist/mongo-static-EoRI716B.mjs"],"sourcesContent":["import mongoRuntimeAdapter from \"@internal/adapter-mongo/runtime\";\nimport { mongoRaw } from \"@internal/mongo-orm\";\nimport { createMongoExecutionContext, createMongoExecutionStack, enumMemberCodecFor } from \"@internal/mongo-runtime\";\nimport mongoRuntimeTarget from \"@internal/target-mongo/runtime\";\nimport { isContractBuiltInMemory } from \"@internal/contract/internal/format-version\";\nimport { validateContractOnce } from \"@internal/contract/validate-once\";\nimport { MongoContractSerializer } from \"@internal/family-mongo/ir\";\nimport { buildNamespacedEnums } from \"@internal/contract/enum-accessor\";\nimport { UNBOUND_NAMESPACE_ID } from \"@internal/framework-components/ir\";\nimport { mongoQuery } from \"@internal/mongo-query-builder\";\nimport { assertDefined } from \"@internal/utils/assertions\";\n//#region package.json\nvar version = \"8.0.1-dev.4\";\n//#endregion\n//#region src/static/contract-from-json.ts\nconst serializer = new MongoContractSerializer();\nconst validator = `${mongoRuntimeTarget.targetId}@${version}`;\n/**\n* Validates an emitted Mongo `contract.json` and returns it as the contract type the application\n* names, ready to pass to `mongo({ contract })` and `mongoStatic({ contract })`. Clients built from\n* the result do not validate it again.\n*\n* The returned value's top level is frozen; its nested objects are not. Do not change `json` or the\n* returned value after the call: clients built from the value later do not validate it again.\n*\n* @example\n* ```ts\n* import type { Contract } from './contract.d';\n* import contractJson from './contract.json' with { type: 'json' };\n*\n* export const contract = contractFromJson<Contract>(contractJson);\n* ```\n*/\nfunction contractFromJson(json) {\n\treturn validateContractOnce(json, validator, (input) => serializer.deserializeContract(input));\n}\n/** Validates a contract value for a Mongo client, once per value. */\nfunction validateMongoContract(contract) {\n\treturn validateContractOnce(contract, validator, () => serializer.deserializeContract(isContractBuiltInMemory(contract) ? serializer.serializeContract(contract) : contract));\n}\n//#endregion\n//#region src/static/mongo-static.ts\nfunction buildMongoStaticContext(contract, stack) {\n\tconst context = createMongoExecutionContext({\n\t\tcontract,\n\t\tstack\n\t});\n\tconst enums = Object.freeze(buildNamespacedEnums(context.contract.domain, enumMemberCodecFor(context.codecs)))[UNBOUND_NAMESPACE_ID];\n\tassertDefined(enums, \"the unbound namespace always exists on a mongo builder output\");\n\treturn {\n\t\tcontext,\n\t\tcontract,\n\t\tenums,\n\t\tquery: mongoQuery({ context }),\n\t\traw: mongoRaw({ context })\n\t};\n}\n/**\n* The query surfaces of a Mongo client without a driver: `query`, `raw` and `enums`. Use it where\n* loading `mongodb` is not wanted.\n*\n* @example\n* ```ts\n* const { enums } = mongoStatic({ contract: contractFromJson<Contract>(contractJson) });\n* ```\n*/\nfunction mongoStatic(options) {\n\tconst stack = createMongoExecutionStack({\n\t\ttarget: mongoRuntimeTarget,\n\t\tadapter: mongoRuntimeAdapter,\n\t\textensions: options.extensions ?? []\n\t});\n\treturn buildMongoStaticContext(validateMongoContract(options.contract), stack);\n}\n//#endregion\nexport { validateMongoContract as i, mongoStatic as n, contractFromJson as r, buildMongoStaticContext as t };\n\n//# sourceMappingURL=mongo-static-EoRI716B.mjs.map"],"mappings":";;;;;;;;;;;;AAYA,IAAI,UAAU;AAGd,MAAM,aAAa,IAAI,wBAAwB;AAC/C,MAAM,YAAY,GAAG,mBAAmB,SAAS,GAAG;;;;;;;;;;;;;;;;;AAiBpD,SAAS,iBAAiB,MAAM;CAC/B,OAAO,qBAAqB,MAAM,YAAY,UAAU,WAAW,oBAAoB,KAAK,CAAC;AAC9F;;AAEA,SAAS,sBAAsB,UAAU;CACxC,OAAO,qBAAqB,UAAU,iBAAiB,WAAW,oBAAoB,wBAAwB,QAAQ,IAAI,WAAW,kBAAkB,QAAQ,IAAI,QAAQ,CAAC;AAC7K;AAGA,SAAS,wBAAwB,UAAU,OAAO;CACjD,MAAM,UAAU,4BAA4B;EAC3C;EACA;CACD,CAAC;CACD,MAAM,QAAQ,OAAO,OAAO,qBAAqB,QAAQ,SAAS,QAAQ,mBAAmB,QAAQ,MAAM,CAAC,CAAC,CAAC,CAAC;CAC/G,cAAc,OAAO,+DAA+D;CACpF,OAAO;EACN;EACA;EACA;EACA,OAAO,WAAW,EAAE,QAAQ,CAAC;EAC7B,KAAK,SAAS,EAAE,QAAQ,CAAC;CAC1B;AACD;;;;;;;;;;AAUA,SAAS,YAAY,SAAS;CAC7B,MAAM,QAAQ,0BAA0B;EACvC,QAAQ;EACR,SAAS;EACT,YAAY,QAAQ,cAAc,CAAC;CACpC,CAAC;CACD,OAAO,wBAAwB,sBAAsB,QAAQ,QAAQ,GAAG,KAAK;AAC9E"}
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/query-ast";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/query-ast";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/query-ast/control";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/query-ast/control";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/query-builder/contract-free";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-family-mongo/query-builder/contract-free";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/target/codecs";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/target/codecs";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/target/control";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/target/control";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/target/data-types";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/target/data-types";
2
- export {};
@@ -1,3 +0,0 @@
1
- import pack_default from "@prisma/orm-target-mongo/target/pack";
2
- export * from "@prisma/orm-target-mongo/target/pack";
3
- export { pack_default as default };
@@ -1,3 +0,0 @@
1
- import pack_default from "@prisma/orm-target-mongo/target/pack";
2
- export * from "@prisma/orm-target-mongo/target/pack";
3
- export { pack_default as default };
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/target/server-version";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-target-mongo/target/server-version";
2
- export {};
package/dist/utils.d.mts DELETED
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/utils";
package/dist/utils.mjs DELETED
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/utils";
2
- export {};
@@ -1 +0,0 @@
1
- export * from "@prisma/orm-framework/utils/abortable";
@@ -1,2 +0,0 @@
1
- export * from "@prisma/orm-framework/utils/abortable";
2
- export {};