@redocly/config 0.41.2 → 0.41.3
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/constants.d.ts +22 -0
- package/lib/constants.js +23 -1
- package/lib/default-theme-config-schema.d.ts +4 -1
- package/lib/entities-catalog-entity-file-schema.d.ts +105 -0
- package/lib/entities-catalog-entity-file-schema.js +27 -41
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -1
- package/lib/root-config-schema.d.ts +24 -6
- package/lib/scorecards-config-schema.d.ts +8 -2
- package/lib/scorecards-config-schema.js +2 -1
- package/lib-esm/constants.d.ts +22 -0
- package/lib-esm/constants.js +22 -0
- package/lib-esm/default-theme-config-schema.d.ts +4 -1
- package/lib-esm/entities-catalog-entity-file-schema.d.ts +105 -0
- package/lib-esm/entities-catalog-entity-file-schema.js +28 -42
- package/lib-esm/index.d.ts +1 -1
- package/lib-esm/index.js +1 -1
- package/lib-esm/root-config-schema.d.ts +24 -6
- package/lib-esm/scorecards-config-schema.d.ts +8 -2
- package/lib-esm/scorecards-config-schema.js +2 -1
- package/package.json +3 -3
- package/lib/types/scorecards-types.d.ts +0 -3
- package/lib/types/scorecards-types.js +0 -3
- package/lib-esm/types/scorecards-types.d.ts +0 -3
- package/lib-esm/types/scorecards-types.js +0 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ENTITY_RELATION_TYPES } from './constants';
|
|
1
|
+
import { ENTITY_RELATION_TYPES, NODE_TYPE_NAMES } from './constants';
|
|
2
2
|
export const userMetadataSchema = {
|
|
3
3
|
type: 'object',
|
|
4
|
+
nodeTypeName: NODE_TYPE_NAMES.USER_ENTITY_METADATA,
|
|
4
5
|
properties: {
|
|
5
6
|
email: {
|
|
6
7
|
type: 'string',
|
|
@@ -12,6 +13,7 @@ export const userMetadataSchema = {
|
|
|
12
13
|
};
|
|
13
14
|
export const apiDescriptionMetadataSchema = {
|
|
14
15
|
type: 'object',
|
|
16
|
+
nodeTypeName: NODE_TYPE_NAMES.API_DESCRIPTION_METADATA,
|
|
15
17
|
properties: {
|
|
16
18
|
specType: {
|
|
17
19
|
type: 'string',
|
|
@@ -28,6 +30,7 @@ export const apiDescriptionMetadataSchema = {
|
|
|
28
30
|
};
|
|
29
31
|
export const apiOperationMetadataSchema = {
|
|
30
32
|
type: 'object',
|
|
33
|
+
nodeTypeName: NODE_TYPE_NAMES.API_OPERATION_METADATA,
|
|
31
34
|
properties: {
|
|
32
35
|
method: {
|
|
33
36
|
type: 'string',
|
|
@@ -58,6 +61,7 @@ export const apiOperationMetadataSchema = {
|
|
|
58
61
|
};
|
|
59
62
|
export const dataSchemaMetadataSchema = {
|
|
60
63
|
type: 'object',
|
|
64
|
+
nodeTypeName: NODE_TYPE_NAMES.DATA_SCHEMA_METADATA,
|
|
61
65
|
properties: {
|
|
62
66
|
specType: {
|
|
63
67
|
type: 'string',
|
|
@@ -78,37 +82,33 @@ export const dataSchemaMetadataSchema = {
|
|
|
78
82
|
};
|
|
79
83
|
export const defaultMetadataSchema = {
|
|
80
84
|
type: 'object',
|
|
85
|
+
properties: {},
|
|
86
|
+
nodeTypeName: NODE_TYPE_NAMES.ENTITY_METADATA,
|
|
81
87
|
additionalProperties: true,
|
|
82
88
|
};
|
|
83
89
|
export const slackChannelFileSchema = {
|
|
84
90
|
type: 'object',
|
|
91
|
+
nodeTypeName: NODE_TYPE_NAMES.SLACK_CHANNEL,
|
|
85
92
|
properties: {
|
|
86
93
|
name: {
|
|
87
94
|
type: 'string',
|
|
88
95
|
minLength: 2,
|
|
89
96
|
maxLength: 150,
|
|
90
97
|
},
|
|
98
|
+
url: {
|
|
99
|
+
type: 'string',
|
|
100
|
+
},
|
|
91
101
|
},
|
|
92
102
|
required: ['name'],
|
|
93
103
|
additionalProperties: false,
|
|
94
104
|
};
|
|
95
105
|
export const slackContactFileSchema = {
|
|
96
106
|
type: 'object',
|
|
107
|
+
nodeTypeName: NODE_TYPE_NAMES.SLACK_CONTACT,
|
|
97
108
|
properties: {
|
|
98
109
|
channels: {
|
|
99
110
|
type: 'array',
|
|
100
|
-
items:
|
|
101
|
-
type: 'object',
|
|
102
|
-
properties: {
|
|
103
|
-
name: {
|
|
104
|
-
type: 'string',
|
|
105
|
-
minLength: 2,
|
|
106
|
-
maxLength: 150,
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
required: ['name'],
|
|
110
|
-
additionalProperties: false,
|
|
111
|
-
},
|
|
111
|
+
items: slackChannelFileSchema,
|
|
112
112
|
},
|
|
113
113
|
},
|
|
114
114
|
required: ['channels'],
|
|
@@ -116,37 +116,15 @@ export const slackContactFileSchema = {
|
|
|
116
116
|
};
|
|
117
117
|
export const entityContactFileSchema = {
|
|
118
118
|
type: 'object',
|
|
119
|
+
nodeTypeName: NODE_TYPE_NAMES.ENTITY_CONTACT,
|
|
119
120
|
properties: {
|
|
120
|
-
slack:
|
|
121
|
-
type: 'object',
|
|
122
|
-
properties: {
|
|
123
|
-
channels: {
|
|
124
|
-
type: 'array',
|
|
125
|
-
items: {
|
|
126
|
-
type: 'object',
|
|
127
|
-
properties: {
|
|
128
|
-
name: {
|
|
129
|
-
type: 'string',
|
|
130
|
-
minLength: 2,
|
|
131
|
-
maxLength: 150,
|
|
132
|
-
},
|
|
133
|
-
url: {
|
|
134
|
-
type: 'string',
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
required: ['name'],
|
|
138
|
-
additionalProperties: false,
|
|
139
|
-
},
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
required: ['channels'],
|
|
143
|
-
additionalProperties: false,
|
|
144
|
-
},
|
|
121
|
+
slack: slackContactFileSchema,
|
|
145
122
|
},
|
|
146
123
|
additionalProperties: false,
|
|
147
124
|
};
|
|
148
125
|
export const entityLinkFileSchema = {
|
|
149
126
|
type: 'object',
|
|
127
|
+
nodeTypeName: NODE_TYPE_NAMES.ENTITY_LINK,
|
|
150
128
|
properties: {
|
|
151
129
|
label: {
|
|
152
130
|
type: 'string',
|
|
@@ -162,6 +140,7 @@ export const entityLinkFileSchema = {
|
|
|
162
140
|
};
|
|
163
141
|
export const entityRelationFileSchema = {
|
|
164
142
|
type: 'object',
|
|
143
|
+
nodeTypeName: NODE_TYPE_NAMES.ENTITY_RELATION,
|
|
165
144
|
properties: {
|
|
166
145
|
type: {
|
|
167
146
|
type: 'string',
|
|
@@ -224,16 +203,15 @@ export const entityBaseProperties = {
|
|
|
224
203
|
contact: entityContactFileSchema,
|
|
225
204
|
links: {
|
|
226
205
|
type: 'array',
|
|
206
|
+
nodeTypeName: NODE_TYPE_NAMES.ENTITY_LINK_LIST,
|
|
227
207
|
items: entityLinkFileSchema,
|
|
228
208
|
},
|
|
229
209
|
relations: {
|
|
230
210
|
type: 'array',
|
|
211
|
+
nodeTypeName: NODE_TYPE_NAMES.ENTITY_RELATION_LIST,
|
|
231
212
|
items: entityRelationFileSchema,
|
|
232
213
|
},
|
|
233
|
-
metadata:
|
|
234
|
-
type: 'object',
|
|
235
|
-
additionalProperties: true,
|
|
236
|
-
},
|
|
214
|
+
metadata: defaultMetadataSchema,
|
|
237
215
|
};
|
|
238
216
|
export const entityFileSchema = {
|
|
239
217
|
type: 'object',
|
|
@@ -246,39 +224,46 @@ export const entityFileSchema = {
|
|
|
246
224
|
properties: Object.assign(Object.assign({}, entityBaseProperties), { type: { const: 'user' }, metadata: userMetadataSchema }),
|
|
247
225
|
required: ['key', 'title', 'type', 'metadata'],
|
|
248
226
|
additionalProperties: false,
|
|
227
|
+
nodeTypeName: NODE_TYPE_NAMES.USER_ENTITY,
|
|
249
228
|
},
|
|
250
229
|
{
|
|
251
230
|
type: 'object',
|
|
231
|
+
nodeTypeName: NODE_TYPE_NAMES.API_OPERATION_ENTITY,
|
|
252
232
|
properties: Object.assign(Object.assign({}, entityBaseProperties), { type: { const: 'api-operation' }, metadata: apiOperationMetadataSchema }),
|
|
253
233
|
required: ['key', 'title', 'type', 'metadata'],
|
|
254
234
|
additionalProperties: false,
|
|
255
235
|
},
|
|
256
236
|
{
|
|
257
237
|
type: 'object',
|
|
238
|
+
nodeTypeName: NODE_TYPE_NAMES.DATA_SCHEMA_ENTITY,
|
|
258
239
|
properties: Object.assign(Object.assign({}, entityBaseProperties), { type: { const: 'data-schema' }, metadata: dataSchemaMetadataSchema }),
|
|
259
240
|
required: ['key', 'title', 'type', 'metadata'],
|
|
260
241
|
additionalProperties: false,
|
|
261
242
|
},
|
|
262
243
|
{
|
|
263
244
|
type: 'object',
|
|
245
|
+
nodeTypeName: NODE_TYPE_NAMES.API_DESCRIPTION_ENTITY,
|
|
264
246
|
properties: Object.assign(Object.assign({}, entityBaseProperties), { type: { const: 'api-description' }, metadata: apiDescriptionMetadataSchema }),
|
|
265
247
|
required: ['key', 'title', 'type', 'metadata'],
|
|
266
248
|
additionalProperties: false,
|
|
267
249
|
},
|
|
268
250
|
{
|
|
269
251
|
type: 'object',
|
|
252
|
+
nodeTypeName: NODE_TYPE_NAMES.SERVICE_ENTITY,
|
|
270
253
|
properties: Object.assign(Object.assign({}, entityBaseProperties), { type: { const: 'service' } }),
|
|
271
254
|
required: ['key', 'title', 'type'],
|
|
272
255
|
additionalProperties: false,
|
|
273
256
|
},
|
|
274
257
|
{
|
|
275
258
|
type: 'object',
|
|
259
|
+
nodeTypeName: NODE_TYPE_NAMES.DOMAIN_ENTITY,
|
|
276
260
|
properties: Object.assign(Object.assign({}, entityBaseProperties), { type: { const: 'domain' } }),
|
|
277
261
|
required: ['key', 'title', 'type'],
|
|
278
262
|
additionalProperties: false,
|
|
279
263
|
},
|
|
280
264
|
{
|
|
281
265
|
type: 'object',
|
|
266
|
+
nodeTypeName: NODE_TYPE_NAMES.TEAM_ENTITY,
|
|
282
267
|
properties: Object.assign(Object.assign({}, entityBaseProperties), { type: { const: 'team' } }),
|
|
283
268
|
required: ['key', 'title', 'type'],
|
|
284
269
|
additionalProperties: false,
|
|
@@ -287,6 +272,7 @@ export const entityFileSchema = {
|
|
|
287
272
|
};
|
|
288
273
|
export const entityFileDefaultSchema = {
|
|
289
274
|
type: 'object',
|
|
275
|
+
nodeTypeName: NODE_TYPE_NAMES.ENTITY,
|
|
290
276
|
properties: Object.assign({}, entityBaseProperties),
|
|
291
277
|
required: ['key', 'title', 'type'],
|
|
292
278
|
additionalProperties: false,
|
package/lib-esm/index.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ export { rbacConfigSchema, rootRedoclyConfigSchema } from './root-config-schema'
|
|
|
3
3
|
export { redocConfigSchema } from './redoc-config-schema';
|
|
4
4
|
export * from './types';
|
|
5
5
|
export * from './common';
|
|
6
|
-
export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, DEFAULT_TEAM_CLAIM_NAME, LayoutVariant, REDOCLY_TEAMS_RBAC, REDOCLY_ROUTE_RBAC, ENTITY_RELATION_TYPES, } from './constants';
|
|
6
|
+
export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, DEFAULT_TEAM_CLAIM_NAME, LayoutVariant, REDOCLY_TEAMS_RBAC, REDOCLY_ROUTE_RBAC, ENTITY_RELATION_TYPES, NODE_TYPE_NAMES, } from './constants';
|
|
7
7
|
export * from './entities-catalog-entity-file-schema';
|
package/lib-esm/index.js
CHANGED
|
@@ -3,6 +3,6 @@ export { rbacConfigSchema, rootRedoclyConfigSchema } from './root-config-schema'
|
|
|
3
3
|
export { redocConfigSchema } from './redoc-config-schema';
|
|
4
4
|
export * from './types';
|
|
5
5
|
export * from './common';
|
|
6
|
-
export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, DEFAULT_TEAM_CLAIM_NAME, LayoutVariant, REDOCLY_TEAMS_RBAC, REDOCLY_ROUTE_RBAC, ENTITY_RELATION_TYPES, } from './constants';
|
|
6
|
+
export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, DEFAULT_TEAM_CLAIM_NAME, LayoutVariant, REDOCLY_TEAMS_RBAC, REDOCLY_ROUTE_RBAC, ENTITY_RELATION_TYPES, NODE_TYPE_NAMES, } from './constants';
|
|
7
7
|
export * from './entities-catalog-entity-file-schema';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -12344,6 +12344,9 @@ export declare const redoclyConfigSchema: {
|
|
|
12344
12344
|
readonly name: {
|
|
12345
12345
|
readonly type: "string";
|
|
12346
12346
|
};
|
|
12347
|
+
readonly key: {
|
|
12348
|
+
readonly type: "string";
|
|
12349
|
+
};
|
|
12347
12350
|
readonly description: {
|
|
12348
12351
|
readonly type: "string";
|
|
12349
12352
|
};
|
|
@@ -12873,7 +12876,7 @@ export declare const redoclyConfigSchema: {
|
|
|
12873
12876
|
}];
|
|
12874
12877
|
};
|
|
12875
12878
|
};
|
|
12876
|
-
readonly required: readonly ["name", "entities", "levels"];
|
|
12879
|
+
readonly required: readonly ["name", "key", "entities", "levels"];
|
|
12877
12880
|
readonly additionalProperties: false;
|
|
12878
12881
|
};
|
|
12879
12882
|
};
|
|
@@ -18873,6 +18876,9 @@ export declare const redoclyConfigSchema: {
|
|
|
18873
18876
|
readonly name: {
|
|
18874
18877
|
readonly type: "string";
|
|
18875
18878
|
};
|
|
18879
|
+
readonly key: {
|
|
18880
|
+
readonly type: "string";
|
|
18881
|
+
};
|
|
18876
18882
|
readonly description: {
|
|
18877
18883
|
readonly type: "string";
|
|
18878
18884
|
};
|
|
@@ -19402,7 +19408,7 @@ export declare const redoclyConfigSchema: {
|
|
|
19402
19408
|
}];
|
|
19403
19409
|
};
|
|
19404
19410
|
};
|
|
19405
|
-
readonly required: readonly ["name", "entities", "levels"];
|
|
19411
|
+
readonly required: readonly ["name", "key", "entities", "levels"];
|
|
19406
19412
|
readonly additionalProperties: false;
|
|
19407
19413
|
};
|
|
19408
19414
|
};
|
|
@@ -29076,6 +29082,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
29076
29082
|
description: {
|
|
29077
29083
|
type: "string";
|
|
29078
29084
|
};
|
|
29085
|
+
key: {
|
|
29086
|
+
type: "string";
|
|
29087
|
+
};
|
|
29079
29088
|
entities: {
|
|
29080
29089
|
oneOf: ({
|
|
29081
29090
|
items: {
|
|
@@ -29171,7 +29180,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
29171
29180
|
};
|
|
29172
29181
|
additionalProperties: false;
|
|
29173
29182
|
type: "object";
|
|
29174
|
-
required: ("name" | "entities" | "levels")[];
|
|
29183
|
+
required: ("name" | "key" | "entities" | "levels")[];
|
|
29175
29184
|
};
|
|
29176
29185
|
type: "array";
|
|
29177
29186
|
};
|
|
@@ -35089,6 +35098,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
35089
35098
|
description: {
|
|
35090
35099
|
type: "string";
|
|
35091
35100
|
};
|
|
35101
|
+
key: {
|
|
35102
|
+
type: "string";
|
|
35103
|
+
};
|
|
35092
35104
|
entities: {
|
|
35093
35105
|
oneOf: ({
|
|
35094
35106
|
items: {
|
|
@@ -35249,7 +35261,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
35249
35261
|
};
|
|
35250
35262
|
additionalProperties: false;
|
|
35251
35263
|
type: "object";
|
|
35252
|
-
required: ("name" | "entities" | "levels")[];
|
|
35264
|
+
required: ("name" | "key" | "entities" | "levels")[];
|
|
35253
35265
|
};
|
|
35254
35266
|
type: "array";
|
|
35255
35267
|
};
|
|
@@ -44063,6 +44075,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
44063
44075
|
readonly name: {
|
|
44064
44076
|
readonly type: "string";
|
|
44065
44077
|
};
|
|
44078
|
+
readonly key: {
|
|
44079
|
+
readonly type: "string";
|
|
44080
|
+
};
|
|
44066
44081
|
readonly description: {
|
|
44067
44082
|
readonly type: "string";
|
|
44068
44083
|
};
|
|
@@ -44592,7 +44607,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
44592
44607
|
}];
|
|
44593
44608
|
};
|
|
44594
44609
|
};
|
|
44595
|
-
readonly required: readonly ["name", "entities", "levels"];
|
|
44610
|
+
readonly required: readonly ["name", "key", "entities", "levels"];
|
|
44596
44611
|
readonly additionalProperties: false;
|
|
44597
44612
|
};
|
|
44598
44613
|
};
|
|
@@ -50592,6 +50607,9 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
50592
50607
|
readonly name: {
|
|
50593
50608
|
readonly type: "string";
|
|
50594
50609
|
};
|
|
50610
|
+
readonly key: {
|
|
50611
|
+
readonly type: "string";
|
|
50612
|
+
};
|
|
50595
50613
|
readonly description: {
|
|
50596
50614
|
readonly type: "string";
|
|
50597
50615
|
};
|
|
@@ -51121,7 +51139,7 @@ export declare const rootRedoclyConfigSchema: {
|
|
|
51121
51139
|
}];
|
|
51122
51140
|
};
|
|
51123
51141
|
};
|
|
51124
|
-
readonly required: readonly ["name", "entities", "levels"];
|
|
51142
|
+
readonly required: readonly ["name", "key", "entities", "levels"];
|
|
51125
51143
|
readonly additionalProperties: false;
|
|
51126
51144
|
};
|
|
51127
51145
|
};
|
|
@@ -4,6 +4,9 @@ export declare const scorecardSchema: {
|
|
|
4
4
|
readonly name: {
|
|
5
5
|
readonly type: "string";
|
|
6
6
|
};
|
|
7
|
+
readonly key: {
|
|
8
|
+
readonly type: "string";
|
|
9
|
+
};
|
|
7
10
|
readonly description: {
|
|
8
11
|
readonly type: "string";
|
|
9
12
|
};
|
|
@@ -533,7 +536,7 @@ export declare const scorecardSchema: {
|
|
|
533
536
|
}];
|
|
534
537
|
};
|
|
535
538
|
};
|
|
536
|
-
readonly required: readonly ["name", "entities", "levels"];
|
|
539
|
+
readonly required: readonly ["name", "key", "entities", "levels"];
|
|
537
540
|
readonly additionalProperties: false;
|
|
538
541
|
};
|
|
539
542
|
export declare const scorecardsConfigSchema: {
|
|
@@ -544,6 +547,9 @@ export declare const scorecardsConfigSchema: {
|
|
|
544
547
|
readonly name: {
|
|
545
548
|
readonly type: "string";
|
|
546
549
|
};
|
|
550
|
+
readonly key: {
|
|
551
|
+
readonly type: "string";
|
|
552
|
+
};
|
|
547
553
|
readonly description: {
|
|
548
554
|
readonly type: "string";
|
|
549
555
|
};
|
|
@@ -1073,7 +1079,7 @@ export declare const scorecardsConfigSchema: {
|
|
|
1073
1079
|
}];
|
|
1074
1080
|
};
|
|
1075
1081
|
};
|
|
1076
|
-
readonly required: readonly ["name", "entities", "levels"];
|
|
1082
|
+
readonly required: readonly ["name", "key", "entities", "levels"];
|
|
1077
1083
|
readonly additionalProperties: false;
|
|
1078
1084
|
};
|
|
1079
1085
|
};
|
|
@@ -205,6 +205,7 @@ export const scorecardSchema = {
|
|
|
205
205
|
type: 'object',
|
|
206
206
|
properties: {
|
|
207
207
|
name: { type: 'string' },
|
|
208
|
+
key: { type: 'string' },
|
|
208
209
|
description: { type: 'string' },
|
|
209
210
|
entities: {
|
|
210
211
|
oneOf: [
|
|
@@ -227,7 +228,7 @@ export const scorecardSchema = {
|
|
|
227
228
|
},
|
|
228
229
|
trigger: triggerSchema,
|
|
229
230
|
},
|
|
230
|
-
required: ['name', 'entities', 'levels'],
|
|
231
|
+
required: ['name', 'key', 'entities', 'levels'],
|
|
231
232
|
additionalProperties: false,
|
|
232
233
|
};
|
|
233
234
|
export const scorecardsConfigSchema = {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/config",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib-esm/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@markdoc/markdoc": "0.5.2",
|
|
10
|
-
"@redocly/openapi-core": "
|
|
10
|
+
"@redocly/openapi-core": "0.0.0-snapshot.1769511679",
|
|
11
11
|
"@types/node": "22.18.13",
|
|
12
12
|
"@types/react": "^19.2.7",
|
|
13
13
|
"@vitest/coverage-v8": "4.0.10",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"scripts": {
|
|
23
23
|
"clean": "rimraf lib",
|
|
24
24
|
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.lib-esm.json",
|
|
25
|
-
"build": "
|
|
25
|
+
"build": "pnpm run clean && pnpm run compile",
|
|
26
26
|
"test": "vitest run src"
|
|
27
27
|
}
|
|
28
28
|
}
|