@contractspec/lib.schema 1.59.0 → 1.60.0

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 (1) hide show
  1. package/package.json +101 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.schema",
3
- "version": "1.59.0",
3
+ "version": "1.60.0",
4
4
  "description": "Schema utilities for Zod, JSON Schema, and GraphQL",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -26,9 +26,9 @@
26
26
  "typecheck": "tsc --noEmit"
27
27
  },
28
28
  "devDependencies": {
29
- "@contractspec/tool.typescript": "1.59.0",
29
+ "@contractspec/tool.typescript": "1.60.0",
30
30
  "typescript": "^5.9.3",
31
- "@contractspec/tool.bun": "1.58.0"
31
+ "@contractspec/tool.bun": "1.59.0"
32
32
  },
33
33
  "dependencies": {
34
34
  "zod": "^4.3.5",
@@ -41,20 +41,104 @@
41
41
  "type": "module",
42
42
  "types": "./dist/index.d.ts",
43
43
  "exports": {
44
- ".": "./src/index.ts",
45
- "./entity": "./src/entity/index.ts",
46
- "./entity/defineEntity": "./src/entity/defineEntity.ts",
47
- "./entity/generator": "./src/entity/generator.ts",
48
- "./entity/index": "./src/entity/index.ts",
49
- "./entity/types": "./src/entity/types.ts",
50
- "./EnumType": "./src/EnumType.ts",
51
- "./FieldType": "./src/FieldType.ts",
52
- "./GraphQLSchemaType": "./src/GraphQLSchemaType.ts",
53
- "./JsonSchemaType": "./src/JsonSchemaType.ts",
54
- "./ScalarTypeEnum": "./src/ScalarTypeEnum.ts",
55
- "./SchemaModel": "./src/SchemaModel.ts",
56
- "./SchemaModelType": "./src/SchemaModelType.ts",
57
- "./ZodSchemaType": "./src/ZodSchemaType.ts"
44
+ ".": {
45
+ "types": "./dist/index.d.ts",
46
+ "bun": "./dist/index.js",
47
+ "node": "./dist/node/index.mjs",
48
+ "browser": "./dist/browser/index.js",
49
+ "default": "./dist/index.js"
50
+ },
51
+ "./entity": {
52
+ "types": "./dist/entity/index.d.ts",
53
+ "bun": "./dist/entity/index.js",
54
+ "node": "./dist/node/entity/index.mjs",
55
+ "browser": "./dist/browser/entity/index.js",
56
+ "default": "./dist/entity/index.js"
57
+ },
58
+ "./entity/defineEntity": {
59
+ "types": "./dist/entity/defineEntity.d.ts",
60
+ "bun": "./dist/entity/defineEntity.js",
61
+ "node": "./dist/node/entity/defineEntity.mjs",
62
+ "browser": "./dist/browser/entity/defineEntity.js",
63
+ "default": "./dist/entity/defineEntity.js"
64
+ },
65
+ "./entity/generator": {
66
+ "types": "./dist/entity/generator.d.ts",
67
+ "bun": "./dist/entity/generator.js",
68
+ "node": "./dist/node/entity/generator.mjs",
69
+ "browser": "./dist/browser/entity/generator.js",
70
+ "default": "./dist/entity/generator.js"
71
+ },
72
+ "./entity/index": {
73
+ "types": "./dist/entity/index.d.ts",
74
+ "bun": "./dist/entity/index.js",
75
+ "node": "./dist/node/entity/index.mjs",
76
+ "browser": "./dist/browser/entity/index.js",
77
+ "default": "./dist/entity/index.js"
78
+ },
79
+ "./entity/types": {
80
+ "types": "./dist/entity/types.d.ts",
81
+ "bun": "./dist/entity/types.js",
82
+ "node": "./dist/node/entity/types.mjs",
83
+ "browser": "./dist/browser/entity/types.js",
84
+ "default": "./dist/entity/types.js"
85
+ },
86
+ "./EnumType": {
87
+ "types": "./dist/EnumType.d.ts",
88
+ "bun": "./dist/EnumType.js",
89
+ "node": "./dist/node/EnumType.mjs",
90
+ "browser": "./dist/browser/EnumType.js",
91
+ "default": "./dist/EnumType.js"
92
+ },
93
+ "./FieldType": {
94
+ "types": "./dist/FieldType.d.ts",
95
+ "bun": "./dist/FieldType.js",
96
+ "node": "./dist/node/FieldType.mjs",
97
+ "browser": "./dist/browser/FieldType.js",
98
+ "default": "./dist/FieldType.js"
99
+ },
100
+ "./GraphQLSchemaType": {
101
+ "types": "./dist/GraphQLSchemaType.d.ts",
102
+ "bun": "./dist/GraphQLSchemaType.js",
103
+ "node": "./dist/node/GraphQLSchemaType.mjs",
104
+ "browser": "./dist/browser/GraphQLSchemaType.js",
105
+ "default": "./dist/GraphQLSchemaType.js"
106
+ },
107
+ "./JsonSchemaType": {
108
+ "types": "./dist/JsonSchemaType.d.ts",
109
+ "bun": "./dist/JsonSchemaType.js",
110
+ "node": "./dist/node/JsonSchemaType.mjs",
111
+ "browser": "./dist/browser/JsonSchemaType.js",
112
+ "default": "./dist/JsonSchemaType.js"
113
+ },
114
+ "./ScalarTypeEnum": {
115
+ "types": "./dist/ScalarTypeEnum.d.ts",
116
+ "bun": "./dist/ScalarTypeEnum.js",
117
+ "node": "./dist/node/ScalarTypeEnum.mjs",
118
+ "browser": "./dist/browser/ScalarTypeEnum.js",
119
+ "default": "./dist/ScalarTypeEnum.js"
120
+ },
121
+ "./SchemaModel": {
122
+ "types": "./dist/SchemaModel.d.ts",
123
+ "bun": "./dist/SchemaModel.js",
124
+ "node": "./dist/node/SchemaModel.mjs",
125
+ "browser": "./dist/browser/SchemaModel.js",
126
+ "default": "./dist/SchemaModel.js"
127
+ },
128
+ "./SchemaModelType": {
129
+ "types": "./dist/SchemaModelType.d.ts",
130
+ "bun": "./dist/SchemaModelType.js",
131
+ "node": "./dist/node/SchemaModelType.mjs",
132
+ "browser": "./dist/browser/SchemaModelType.js",
133
+ "default": "./dist/SchemaModelType.js"
134
+ },
135
+ "./ZodSchemaType": {
136
+ "types": "./dist/ZodSchemaType.d.ts",
137
+ "bun": "./dist/ZodSchemaType.js",
138
+ "node": "./dist/node/ZodSchemaType.mjs",
139
+ "browser": "./dist/browser/ZodSchemaType.js",
140
+ "default": "./dist/ZodSchemaType.js"
141
+ }
58
142
  },
59
143
  "publishConfig": {
60
144
  "access": "public",