@prisma/orm-extension-arktype-json 8.0.0-rc.8 → 8.0.0-rc.8-dev.2
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 +0 -8
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -21,11 +21,3 @@ pnpm add @prisma/orm-extension-arktype-json
|
|
|
21
21
|
Given an arktype `Type`, `arktypeJson(schema)` produces a column that stores `jsonb`, carries the schema's serialized form in `typeParams`, and renders the schema's TypeScript expression as the column's type in `contract.d.ts`. At runtime the framework rehydrates the schema from that serialized form and validates wire payloads on decode; a validation failure raises `RUNTIME.JSON_SCHEMA_VALIDATION_FAILED`. Encoding only checks JSON representability.
|
|
22
22
|
|
|
23
23
|
JSON-with-schema is deliberately a per-library extension — this pack covers arktype; other validators get their own packs once each has a clean serialize-and-rehydrate story. Raw, untyped JSON columns stay in the Postgres target.
|
|
24
|
-
|
|
25
|
-
## Dependencies
|
|
26
|
-
|
|
27
|
-
`@prisma/orm-framework` and `@prisma/orm-family-sql` at exact lockstep versions, plus `arktype` and `@standard-schema/spec`.
|
|
28
|
-
|
|
29
|
-
`arktype` is an ordinary dependency, not a peer: a column carries its schema as a serialized form and the runtime rehydrates it from that, so this pack never compares schema objects with the copy an application authored against. The application's own `arktype` and this pack's may be separate instances.
|
|
30
|
-
|
|
31
|
-
`@prisma/orm-target-postgres` is an exact-pinned **peer** dependency: the application supplies it, directly or through a facade, and everyone shares that one copy. A hard dependency would let an application upgrade the facade without upgrading this pack and end up with two target copies whose codec and operation registries have quietly diverged; as a peer that combination fails to install instead.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/orm-extension-arktype-json",
|
|
3
|
-
"version": "8.0.0-rc.8",
|
|
3
|
+
"version": "8.0.0-rc.8-dev.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -9,21 +9,21 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@prisma/orm-family-sql": "8.0.0-rc.8",
|
|
13
|
-
"@prisma/orm-framework": "8.0.0-rc.8",
|
|
12
|
+
"@prisma/orm-family-sql": "8.0.0-rc.8-dev.2",
|
|
13
|
+
"@prisma/orm-framework": "8.0.0-rc.8-dev.2",
|
|
14
14
|
"@standard-schema/spec": "^1.1.0",
|
|
15
15
|
"arktype": "~2.2.2"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@internal/extension-arktype-json": "8.0.0-rc.8",
|
|
19
|
-
"@repo/tsconfig": "8.0.0-rc.8",
|
|
20
|
-
"@repo/tsdown": "8.0.0-rc.8",
|
|
21
|
-
"@prisma/orm-target-postgres": "8.0.0-rc.8",
|
|
18
|
+
"@internal/extension-arktype-json": "8.0.0-rc.8-dev.2",
|
|
19
|
+
"@repo/tsconfig": "8.0.0-rc.8-dev.2",
|
|
20
|
+
"@repo/tsdown": "8.0.0-rc.8-dev.2",
|
|
21
|
+
"@prisma/orm-target-postgres": "8.0.0-rc.8-dev.2",
|
|
22
22
|
"tsdown": "0.22.14",
|
|
23
23
|
"typescript": "5.9.3"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@prisma/orm-target-postgres": "8.0.0-rc.8",
|
|
26
|
+
"@prisma/orm-target-postgres": "8.0.0-rc.8-dev.2",
|
|
27
27
|
"typescript": ">=5.9"
|
|
28
28
|
},
|
|
29
29
|
"peerDependenciesMeta": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"repository": {
|
|
44
44
|
"type": "git",
|
|
45
|
-
"url": "https://github.com/prisma/
|
|
45
|
+
"url": "https://github.com/prisma/orm.git",
|
|
46
46
|
"directory": "packages/9-public/@prisma/orm-extension-arktype-json"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|