@portabletext/sanity-bridge 1.2.10 → 1.2.11
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 -6
- package/package.json +3 -7
package/README.md
CHANGED
|
@@ -8,12 +8,6 @@ A TypeScript library for converting between Sanity schemas and Portable Text sch
|
|
|
8
8
|
npm install @portabletext/sanity-bridge
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
**Peer Dependencies:**
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npm install @sanity/schema @sanity/types
|
|
15
|
-
```
|
|
16
|
-
|
|
17
11
|
## Usage
|
|
18
12
|
|
|
19
13
|
### Convert Sanity Schema to Portable Text Schema
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portabletext/sanity-bridge",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11",
|
|
4
4
|
"description": "Convert a Sanity Schema to a Portable Text Schema",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -33,22 +33,18 @@
|
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
+
"@sanity/schema": "^4.20.3",
|
|
37
|
+
"@sanity/types": "^4.20.3",
|
|
36
38
|
"lodash.startcase": "^4.4.0",
|
|
37
39
|
"@portabletext/schema": "^2.0.0"
|
|
38
40
|
},
|
|
39
41
|
"devDependencies": {
|
|
40
42
|
"@sanity/pkg-utils": "^10.1.1",
|
|
41
|
-
"@sanity/schema": "^4.20.3",
|
|
42
43
|
"@sanity/tsconfig": "^1.0.0",
|
|
43
|
-
"@sanity/types": "^4.20.3",
|
|
44
44
|
"@types/lodash.startcase": "^4.4.9",
|
|
45
45
|
"typescript": "5.9.3",
|
|
46
46
|
"vitest": "^4.0.14"
|
|
47
47
|
},
|
|
48
|
-
"peerDependencies": {
|
|
49
|
-
"@sanity/schema": "^4.20.3",
|
|
50
|
-
"@sanity/types": "^4.20.3"
|
|
51
|
-
},
|
|
52
48
|
"engines": {
|
|
53
49
|
"node": ">=20.19 <22 || >=22.12"
|
|
54
50
|
},
|