@sanity/schema 4.19.1-next.1 → 4.19.1-next.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/lib/_chunks-es/{Rule.mjs → Rule.js} +1 -1
- package/lib/{_chunks-cjs → _chunks-es}/Rule.js.map +1 -1
- package/lib/_internal.js +111 -99
- package/lib/_internal.js.map +1 -1
- package/lib/index.js +8 -7
- package/lib/index.js.map +1 -1
- package/package.json +8 -13
- package/lib/_chunks-cjs/Rule.js +0 -1723
- package/lib/_chunks-es/Rule.mjs.map +0 -1
- package/lib/_internal.d.mts +0 -407
- package/lib/_internal.mjs +0 -2723
- package/lib/_internal.mjs.map +0 -1
- package/lib/index.d.mts +0 -57
- package/lib/index.mjs +0 -9
- package/lib/index.mjs.map +0 -1
package/lib/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { DeprecatedDefaultSchema, Schema as Schema$1 } from "./_chunks-es/Rule.js";
|
|
2
|
+
import { Rule } from "./_chunks-es/Rule.js";
|
|
3
|
+
const Schema = Schema$1;
|
|
4
|
+
export {
|
|
5
|
+
Rule,
|
|
6
|
+
Schema,
|
|
7
|
+
DeprecatedDefaultSchema as default
|
|
8
|
+
};
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/_exports/index.ts"],"sourcesContent":["import {DeprecatedDefaultSchema, Schema as NamedSchema} from '../legacy/Schema'\n\nexport default DeprecatedDefaultSchema\nexport const Schema = NamedSchema\nexport {Rule} from '../legacy/Rule'\nexport {type SchemaValidationResult} from '../sanity/typedefs'\n"],"names":["NamedSchema"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/_exports/index.ts"],"sourcesContent":["import {DeprecatedDefaultSchema, Schema as NamedSchema} from '../legacy/Schema'\n\nexport default DeprecatedDefaultSchema\nexport const Schema = NamedSchema\nexport {Rule} from '../legacy/Rule'\nexport {type SchemaValidationResult} from '../sanity/typedefs'\n"],"names":["NamedSchema"],"mappings":";;AAGO,MAAM,SAASA;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/schema",
|
|
3
|
-
"version": "4.19.1-next.
|
|
3
|
+
"version": "4.19.1-next.11+f6c26b3ad2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -22,24 +22,19 @@
|
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"author": "Sanity.io <hello@sanity.io>",
|
|
24
24
|
"sideEffects": false,
|
|
25
|
-
"type": "
|
|
25
|
+
"type": "module",
|
|
26
26
|
"exports": {
|
|
27
27
|
".": {
|
|
28
28
|
"source": "./src/_exports/index.ts",
|
|
29
|
-
"import": "./lib/index.mjs",
|
|
30
|
-
"require": "./lib/index.js",
|
|
31
29
|
"default": "./lib/index.js"
|
|
32
30
|
},
|
|
33
31
|
"./_internal": {
|
|
34
32
|
"source": "./src/_exports/_internal.ts",
|
|
35
|
-
"import": "./lib/_internal.mjs",
|
|
36
|
-
"require": "./lib/_internal.js",
|
|
37
33
|
"default": "./lib/_internal.js"
|
|
38
34
|
},
|
|
39
35
|
"./package.json": "./package.json"
|
|
40
36
|
},
|
|
41
37
|
"main": "./lib/index.js",
|
|
42
|
-
"module": "./lib/index.mjs",
|
|
43
38
|
"types": "./lib/index.d.ts",
|
|
44
39
|
"typesVersions": {
|
|
45
40
|
"*": {
|
|
@@ -60,21 +55,21 @@
|
|
|
60
55
|
"leven": "^3.1.0",
|
|
61
56
|
"lodash": "^4.17.21",
|
|
62
57
|
"object-inspect": "^1.13.4",
|
|
63
|
-
"@sanity/types": "4.19.1-next.
|
|
58
|
+
"@sanity/types": "4.19.1-next.11+f6c26b3ad2"
|
|
64
59
|
},
|
|
65
60
|
"devDependencies": {
|
|
66
61
|
"@sanity/icons": "^3.7.4",
|
|
67
|
-
"@sanity/pkg-utils": "^
|
|
62
|
+
"@sanity/pkg-utils": "^9.1.4",
|
|
68
63
|
"@types/lodash": "^4.17.20",
|
|
69
64
|
"@types/object-inspect": "^1.13.0",
|
|
70
65
|
"@types/react": "^19.1.9",
|
|
71
66
|
"eslint": "^9.37.0",
|
|
72
67
|
"rimraf": "^5.0.10",
|
|
73
68
|
"vitest": "^3.2.4",
|
|
74
|
-
"@repo/
|
|
75
|
-
"@repo/
|
|
76
|
-
"@repo/
|
|
77
|
-
"@repo/
|
|
69
|
+
"@repo/eslint-config": "4.19.1-next.11+f6c26b3ad2",
|
|
70
|
+
"@repo/package.config": "4.19.1-next.11+f6c26b3ad2",
|
|
71
|
+
"@repo/test-config": "4.19.1-next.11+f6c26b3ad2",
|
|
72
|
+
"@repo/tsconfig": "4.19.1-next.11+f6c26b3ad2"
|
|
78
73
|
},
|
|
79
74
|
"scripts": {
|
|
80
75
|
"build": "pnpm clean && pkg-utils build --strict --check --clean",
|