orval 6.8.0 → 6.9.1
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 +1 -1
- package/dist/bin/orval.js +1 -1
- package/dist/chunk-XC24MY5U.js +352 -0
- package/dist/index.d.ts +81 -15
- package/dist/index.js +1 -1
- package/package.json +15 -14
- package/dist/chunk-RWT44D3M.js +0 -343
package/dist/index.d.ts
CHANGED
|
@@ -54,6 +54,14 @@ declare type GetterParams = GetterParam[];
|
|
|
54
54
|
declare type GetterQueryParam = {
|
|
55
55
|
schema: GeneratorSchema;
|
|
56
56
|
deps: GeneratorSchema[];
|
|
57
|
+
isOptional: boolean;
|
|
58
|
+
};
|
|
59
|
+
declare type GetterPropType = 'param' | 'body' | 'queryParam' | 'header';
|
|
60
|
+
declare const GetterPropType: {
|
|
61
|
+
PARAM: GetterPropType;
|
|
62
|
+
BODY: GetterPropType;
|
|
63
|
+
QUERY_PARAM: GetterPropType;
|
|
64
|
+
HEADER: GetterPropType;
|
|
57
65
|
};
|
|
58
66
|
declare type GetterProp = {
|
|
59
67
|
name: string;
|
|
@@ -61,7 +69,7 @@ declare type GetterProp = {
|
|
|
61
69
|
implementation: string;
|
|
62
70
|
default: boolean;
|
|
63
71
|
required: boolean;
|
|
64
|
-
type:
|
|
72
|
+
type: GetterPropType;
|
|
65
73
|
};
|
|
66
74
|
declare type GetterProps = GetterProp[];
|
|
67
75
|
|
|
@@ -124,6 +132,9 @@ declare type GeneratorOperation = {
|
|
|
124
132
|
formData?: GeneratorMutator;
|
|
125
133
|
formUrlEncoded?: GeneratorMutator;
|
|
126
134
|
operationName: string;
|
|
135
|
+
types?: {
|
|
136
|
+
result: (title?: string) => string;
|
|
137
|
+
};
|
|
127
138
|
};
|
|
128
139
|
declare type GeneratorVerbOptions = {
|
|
129
140
|
verb: Verbs;
|
|
@@ -134,13 +145,14 @@ declare type GeneratorVerbOptions = {
|
|
|
134
145
|
operationName: string;
|
|
135
146
|
response: GetterResponse;
|
|
136
147
|
body: GetterBody;
|
|
148
|
+
headers?: GetterQueryParam;
|
|
137
149
|
queryParams?: GetterQueryParam;
|
|
138
150
|
params: GetterParams;
|
|
139
151
|
props: GetterProps;
|
|
140
152
|
mutator?: GeneratorMutator;
|
|
141
153
|
formData?: GeneratorMutator;
|
|
142
154
|
formUrlEncoded?: GeneratorMutator;
|
|
143
|
-
override:
|
|
155
|
+
override: NormalizedOverrideOutput;
|
|
144
156
|
};
|
|
145
157
|
declare type GeneratorVerbsOptions = GeneratorVerbOptions[];
|
|
146
158
|
declare type GeneratorOptions = {
|
|
@@ -153,6 +165,9 @@ declare type GeneratorOptions = {
|
|
|
153
165
|
declare type GeneratorClient = {
|
|
154
166
|
implementation: string;
|
|
155
167
|
imports: GeneratorImport[];
|
|
168
|
+
types?: {
|
|
169
|
+
result: (title?: string) => string;
|
|
170
|
+
};
|
|
156
171
|
};
|
|
157
172
|
declare type GeneratorClientExtra = {
|
|
158
173
|
implementation: string;
|
|
@@ -179,7 +194,6 @@ declare type ClientHeaderBuilder = (params: {
|
|
|
179
194
|
isMutator: boolean;
|
|
180
195
|
noFunction?: boolean;
|
|
181
196
|
isGlobalMutator: boolean;
|
|
182
|
-
provideInRoot: boolean;
|
|
183
197
|
provideIn: boolean | 'root' | 'any';
|
|
184
198
|
hasAwaitedType: boolean;
|
|
185
199
|
}) => string;
|
|
@@ -187,9 +201,11 @@ declare type ClientFooterBuilder = (params: {
|
|
|
187
201
|
noFunction?: boolean | undefined;
|
|
188
202
|
operationNames: string[];
|
|
189
203
|
title?: string;
|
|
204
|
+
hasAwaitedType: boolean;
|
|
205
|
+
hasMutator: boolean;
|
|
190
206
|
}) => string;
|
|
191
207
|
declare type ClientTitleBuilder = (title: string) => string;
|
|
192
|
-
declare type ClientDependenciesBuilder = (hasGlobalMutator: boolean) => GeneratorDependency[];
|
|
208
|
+
declare type ClientDependenciesBuilder = (hasGlobalMutator: boolean, packageJson?: PackageJson) => GeneratorDependency[];
|
|
193
209
|
declare type ClientMSWBuilder = (verbOptions: GeneratorVerbOptions, generatorOptions: GeneratorOptions) => {
|
|
194
210
|
imports: string[];
|
|
195
211
|
implementation: string;
|
|
@@ -206,6 +222,7 @@ declare type GeneratorClients = Record<OutputClient, ClientGeneratorsBuilder>;
|
|
|
206
222
|
interface Options {
|
|
207
223
|
output?: string | OutputOptions;
|
|
208
224
|
input?: string | InputOptions;
|
|
225
|
+
hooks?: Partial<HooksOptions>;
|
|
209
226
|
}
|
|
210
227
|
declare type OptionsFn = () => Options | Promise<Options>;
|
|
211
228
|
declare type OptionsExport = Options | Promise<Options> | OptionsFn;
|
|
@@ -231,7 +248,9 @@ declare type NormalizedOverrideOutput = {
|
|
|
231
248
|
};
|
|
232
249
|
required?: boolean;
|
|
233
250
|
baseUrl?: string;
|
|
251
|
+
delay?: number;
|
|
234
252
|
};
|
|
253
|
+
contentType?: OverrideOutputContentType;
|
|
235
254
|
header: false | ((info: InfoObject) => string[] | string);
|
|
236
255
|
formData: boolean | NormalizedMutator;
|
|
237
256
|
formUrlEncoded: boolean | NormalizedMutator;
|
|
@@ -250,10 +269,14 @@ declare type NormalizedOverrideOutput = {
|
|
|
250
269
|
};
|
|
251
270
|
};
|
|
252
271
|
query: QueryOptions;
|
|
253
|
-
angular:
|
|
272
|
+
angular: Required<AngularOptions>;
|
|
273
|
+
swr: {
|
|
274
|
+
options?: any;
|
|
275
|
+
};
|
|
254
276
|
operationName?: (operation: OperationObject, route: string, verb: Verbs) => string;
|
|
255
277
|
requestOptions: Record<string, any> | boolean;
|
|
256
278
|
useDates?: boolean;
|
|
279
|
+
useTypeOverInterfaces?: boolean;
|
|
257
280
|
};
|
|
258
281
|
declare type NormalizedMutator = {
|
|
259
282
|
path: string;
|
|
@@ -268,11 +291,16 @@ declare type NormalizedOperationOptions = {
|
|
|
268
291
|
data?: MockProperties;
|
|
269
292
|
properties?: MockProperties;
|
|
270
293
|
};
|
|
294
|
+
contentType?: OverrideOutputContentType;
|
|
271
295
|
query?: QueryOptions;
|
|
296
|
+
angular?: Required<AngularOptions>;
|
|
297
|
+
swr?: {
|
|
298
|
+
options?: any;
|
|
299
|
+
};
|
|
272
300
|
operationName?: (operation: OperationObject, route: string, verb: Verbs) => string;
|
|
273
|
-
formData
|
|
274
|
-
formUrlEncoded
|
|
275
|
-
requestOptions
|
|
301
|
+
formData?: boolean | NormalizedMutator;
|
|
302
|
+
formUrlEncoded?: boolean | NormalizedMutator;
|
|
303
|
+
requestOptions?: object | boolean;
|
|
276
304
|
};
|
|
277
305
|
declare type OutputClientFunc = (clients: GeneratorClients) => ClientGeneratorsBuilder;
|
|
278
306
|
declare type OutputOptions = {
|
|
@@ -288,6 +316,7 @@ declare type OutputOptions = {
|
|
|
288
316
|
tslint?: boolean;
|
|
289
317
|
tsconfig?: string | Tsconfig;
|
|
290
318
|
packageJson?: string;
|
|
319
|
+
headers?: boolean;
|
|
291
320
|
};
|
|
292
321
|
declare type SwaggerParserOptions = Omit<SwaggerParser.Options, 'validate'> & {
|
|
293
322
|
validate?: boolean;
|
|
@@ -347,6 +376,7 @@ declare type OverrideOutput = {
|
|
|
347
376
|
required?: boolean;
|
|
348
377
|
baseUrl?: string;
|
|
349
378
|
};
|
|
379
|
+
contentType?: OverrideOutputContentType;
|
|
350
380
|
header?: boolean | ((info: InfoObject) => string[] | string);
|
|
351
381
|
formData?: boolean | Mutator;
|
|
352
382
|
formUrlEncoded?: boolean | Mutator;
|
|
@@ -365,19 +395,27 @@ declare type OverrideOutput = {
|
|
|
365
395
|
};
|
|
366
396
|
};
|
|
367
397
|
query?: QueryOptions;
|
|
398
|
+
swr?: {
|
|
399
|
+
options?: any;
|
|
400
|
+
};
|
|
368
401
|
angular?: AngularOptions;
|
|
369
402
|
operationName?: (operation: OperationObject, route: string, verb: Verbs) => string;
|
|
370
403
|
requestOptions?: Record<string, any> | boolean;
|
|
371
404
|
useDates?: boolean;
|
|
405
|
+
useTypeOverInterfaces?: boolean;
|
|
406
|
+
};
|
|
407
|
+
declare type OverrideOutputContentType = {
|
|
408
|
+
include?: string[];
|
|
409
|
+
exclude?: string[];
|
|
372
410
|
};
|
|
373
411
|
declare type QueryOptions = {
|
|
374
412
|
useQuery?: boolean;
|
|
375
413
|
useInfinite?: boolean;
|
|
376
414
|
useInfiniteQueryParam?: string;
|
|
377
415
|
options?: any;
|
|
416
|
+
signal?: boolean;
|
|
378
417
|
};
|
|
379
418
|
declare type AngularOptions = {
|
|
380
|
-
provideInRoot?: boolean;
|
|
381
419
|
provideIn?: 'root' | 'any' | boolean;
|
|
382
420
|
};
|
|
383
421
|
declare type InputTransformerFn = (spec: OpenAPIObject) => OpenAPIObject;
|
|
@@ -393,11 +431,20 @@ declare type OperationOptions = {
|
|
|
393
431
|
properties?: MockProperties;
|
|
394
432
|
};
|
|
395
433
|
query?: QueryOptions;
|
|
434
|
+
angular?: Required<AngularOptions>;
|
|
435
|
+
swr?: {
|
|
436
|
+
options?: any;
|
|
437
|
+
};
|
|
396
438
|
operationName?: (operation: OperationObject, route: string, verb: Verbs) => string;
|
|
397
439
|
formData?: boolean | Mutator;
|
|
398
440
|
formUrlEncoded?: boolean | Mutator;
|
|
399
441
|
requestOptions?: object | boolean;
|
|
400
442
|
};
|
|
443
|
+
declare type Hook = 'afterAllFilesWrite';
|
|
444
|
+
declare type HookFunction = (...args: any[]) => void | Promise<void>;
|
|
445
|
+
declare type HookCommand = string | HookFunction | (string | HookFunction)[];
|
|
446
|
+
declare type NormalizedHookCommand = HookCommand[];
|
|
447
|
+
declare type HooksOptions<T = HookCommand | NormalizedHookCommand> = Partial<Record<Hook, T>>;
|
|
401
448
|
declare type Verbs = 'post' | 'put' | 'get' | 'patch' | 'delete' | 'head';
|
|
402
449
|
declare const Verbs: {
|
|
403
450
|
POST: Verbs;
|
|
@@ -434,11 +481,13 @@ interface Tsconfig {
|
|
|
434
481
|
compilerOptions?: {
|
|
435
482
|
esModuleInterop?: boolean;
|
|
436
483
|
allowSyntheticDefaultImports?: boolean;
|
|
484
|
+
exactOptionalPropertyTypes?: boolean;
|
|
437
485
|
paths?: Record<string, string[]>;
|
|
438
486
|
};
|
|
439
487
|
}
|
|
440
488
|
interface PackageJson {
|
|
441
489
|
dependencies?: Record<string, string>;
|
|
490
|
+
devDependencies?: Record<string, string>;
|
|
442
491
|
}
|
|
443
492
|
|
|
444
493
|
/**
|
|
@@ -458,7 +507,11 @@ declare const generateImports: ({ imports, target, isRootKey, specsName, }: {
|
|
|
458
507
|
isRootKey: boolean;
|
|
459
508
|
specsName: Record<string, string>;
|
|
460
509
|
}) => string;
|
|
461
|
-
declare const generateMutatorImports: (mutators
|
|
510
|
+
declare const generateMutatorImports: ({ mutators, implementation, oneMore, }: {
|
|
511
|
+
mutators: GeneratorMutator[];
|
|
512
|
+
implementation?: string | undefined;
|
|
513
|
+
oneMore?: boolean | undefined;
|
|
514
|
+
}) => string;
|
|
462
515
|
declare const addDependency: ({ implementation, exports, dependency, specsName, hasSchemaDir, isAllowSyntheticDefaultImports, }: {
|
|
463
516
|
implementation: string;
|
|
464
517
|
exports: GeneratorImport[];
|
|
@@ -471,13 +524,21 @@ declare const generateDependencyImports: (implementation: string, imports: {
|
|
|
471
524
|
exports: GeneratorImport[];
|
|
472
525
|
dependency: string;
|
|
473
526
|
}[], specsName: Record<string, string>, hasSchemaDir: boolean, isAllowSyntheticDefaultImports: boolean) => string;
|
|
474
|
-
declare const generateVerbImports: ({ response, body, queryParams, params, }: GeneratorVerbOptions) => GeneratorImport[];
|
|
527
|
+
declare const generateVerbImports: ({ response, body, queryParams, headers, params, }: GeneratorVerbOptions) => GeneratorImport[];
|
|
475
528
|
|
|
476
529
|
declare const generateBodyOptions: (body: GetterBody, isFormData: boolean, isFormUrlEncoded: boolean) => string;
|
|
477
|
-
declare const generateAxiosOptions: (response
|
|
478
|
-
|
|
530
|
+
declare const generateAxiosOptions: ({ response, isExactOptionalPropertyTypes, queryParams, headers, requestOptions, hasSignal, }: {
|
|
531
|
+
response: GetterResponse;
|
|
532
|
+
isExactOptionalPropertyTypes: boolean;
|
|
533
|
+
queryParams?: GeneratorSchema | undefined;
|
|
534
|
+
headers?: GeneratorSchema | undefined;
|
|
535
|
+
requestOptions?: boolean | object | undefined;
|
|
536
|
+
hasSignal: boolean;
|
|
537
|
+
}) => string;
|
|
538
|
+
declare const generateOptions: ({ route, body, headers, queryParams, response, verb, requestOptions, isFormData, isFormUrlEncoded, isAngular, isExactOptionalPropertyTypes, hasSignal, }: {
|
|
479
539
|
route: string;
|
|
480
540
|
body: GetterBody;
|
|
541
|
+
headers?: GetterQueryParam | undefined;
|
|
481
542
|
queryParams?: GetterQueryParam | undefined;
|
|
482
543
|
response: GetterResponse;
|
|
483
544
|
verb: Verbs;
|
|
@@ -485,12 +546,15 @@ declare const generateOptions: ({ route, body, queryParams, response, verb, requ
|
|
|
485
546
|
isFormData: boolean;
|
|
486
547
|
isFormUrlEncoded: boolean;
|
|
487
548
|
isAngular?: boolean | undefined;
|
|
549
|
+
isExactOptionalPropertyTypes: boolean;
|
|
550
|
+
hasSignal: boolean;
|
|
488
551
|
}) => string;
|
|
489
552
|
declare const generateBodyMutatorConfig: (body: GetterBody, isFormData: boolean, isFormUrlEncoded: boolean) => string;
|
|
490
|
-
declare const generateQueryParamsAxiosConfig: (response: GetterResponse, queryParams?:
|
|
491
|
-
declare const generateMutatorConfig: ({ route, body, queryParams, response, verb, isFormData, isFormUrlEncoded, isBodyVerb, hasSignal, }: {
|
|
553
|
+
declare const generateQueryParamsAxiosConfig: (response: GetterResponse, queryParams?: GetterQueryParam | undefined) => string;
|
|
554
|
+
declare const generateMutatorConfig: ({ route, body, headers, queryParams, response, verb, isFormData, isFormUrlEncoded, isBodyVerb, hasSignal, isExactOptionalPropertyTypes, }: {
|
|
492
555
|
route: string;
|
|
493
556
|
body: GetterBody;
|
|
557
|
+
headers?: GetterQueryParam | undefined;
|
|
494
558
|
queryParams?: GetterQueryParam | undefined;
|
|
495
559
|
response: GetterResponse;
|
|
496
560
|
verb: Verbs;
|
|
@@ -498,6 +562,7 @@ declare const generateMutatorConfig: ({ route, body, queryParams, response, verb
|
|
|
498
562
|
isFormUrlEncoded: boolean;
|
|
499
563
|
isBodyVerb: boolean;
|
|
500
564
|
hasSignal: boolean;
|
|
565
|
+
isExactOptionalPropertyTypes: boolean;
|
|
501
566
|
}) => string;
|
|
502
567
|
declare const generateMutatorRequestOptions: (requestOptions: boolean | object | undefined, hasSecondArgument: boolean) => string | undefined;
|
|
503
568
|
declare const generateFormDataAndUrlEncodedFunction: ({ body, formData, formUrlEncoded, isFormData, isFormUrlEncoded, }: {
|
|
@@ -520,6 +585,7 @@ declare const sanitize: (value: string, options?: {
|
|
|
520
585
|
dot?: string | true | undefined;
|
|
521
586
|
dash?: string | true | undefined;
|
|
522
587
|
es5keyword?: boolean | undefined;
|
|
588
|
+
special?: boolean | undefined;
|
|
523
589
|
} | undefined) => string;
|
|
524
590
|
declare const toObjectString: <T>(props: T[], path?: keyof T | undefined) => string;
|
|
525
591
|
declare const getNumberWord: (num: number) => string;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use strict";var _chunkXC24MY5Ujs = require('./chunk-XC24MY5U.js');_chunkXC24MY5Ujs.b.call(void 0, );var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);_chunkXC24MY5Ujs.b.call(void 0, );var c=async(t,o=process.cwd(),e)=>{if(!t||_chunkXC24MY5Ujs.c.call(void 0, t))return _chunkXC24MY5Ujs.M.call(void 0, t,e);let n=await _chunkXC24MY5Ujs.H.call(void 0, t,o,e);if(e!=null&&e.watch)_chunkXC24MY5Ujs.K.call(void 0, e==null?void 0:e.watch,async()=>{try{await _chunkXC24MY5Ujs.L.call(void 0, o,n)}catch(a){_chunkXC24MY5Ujs.d.call(void 0, _chalk2.default.red(`\u{1F6D1} ${e!=null&&e.projectName?`${e==null?void 0:e.projectName} - `:""}${a}`))}},n.input.target);else try{return await _chunkXC24MY5Ujs.L.call(void 0, o,n)}catch(a){_chunkXC24MY5Ujs.d.call(void 0, _chalk2.default.red(`\u{1F6D1} ${e!=null&&e.projectName?`${e==null?void 0:e.projectName} - `:""}${a}`))}};var te=c;exports.URL_REGEX = _chunkXC24MY5Ujs.s; exports.VERBS_WITH_BODY = _chunkXC24MY5Ujs.r; exports.addDependency = _chunkXC24MY5Ujs.v; exports.camel = _chunkXC24MY5Ujs.g; exports.default = te; exports.defineConfig = _chunkXC24MY5Ujs.G; exports.escape = _chunkXC24MY5Ujs.o; exports.generalJSTypes = _chunkXC24MY5Ujs.p; exports.generalJSTypesWithArray = _chunkXC24MY5Ujs.q; exports.generate = c; exports.generateAxiosOptions = _chunkXC24MY5Ujs.z; exports.generateBodyMutatorConfig = _chunkXC24MY5Ujs.B; exports.generateBodyOptions = _chunkXC24MY5Ujs.y; exports.generateDependencyImports = _chunkXC24MY5Ujs.w; exports.generateFormDataAndUrlEncodedFunction = _chunkXC24MY5Ujs.F; exports.generateImports = _chunkXC24MY5Ujs.t; exports.generateMutatorConfig = _chunkXC24MY5Ujs.D; exports.generateMutatorImports = _chunkXC24MY5Ujs.u; exports.generateMutatorRequestOptions = _chunkXC24MY5Ujs.E; exports.generateOptions = _chunkXC24MY5Ujs.A; exports.generateQueryParamsAxiosConfig = _chunkXC24MY5Ujs.C; exports.generateVerbImports = _chunkXC24MY5Ujs.x; exports.getNumberWord = _chunkXC24MY5Ujs.n; exports.isSyntheticDefaultImportsAllow = _chunkXC24MY5Ujs.J; exports.kebab = _chunkXC24MY5Ujs.i; exports.loadTsconfig = _chunkXC24MY5Ujs.I; exports.pascal = _chunkXC24MY5Ujs.f; exports.sanitize = _chunkXC24MY5Ujs.l; exports.snake = _chunkXC24MY5Ujs.h; exports.stringify = _chunkXC24MY5Ujs.k; exports.toObjectString = _chunkXC24MY5Ujs.m; exports.upper = _chunkXC24MY5Ujs.j;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orval",
|
|
3
3
|
"description": "A swagger client generator for typescript",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.9.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"update-samples": "zx ./scripts/update-samples.mjs"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@commitlint/cli": "^
|
|
60
|
-
"@commitlint/config-conventional": "^
|
|
61
|
-
"@faker-js/faker": "^
|
|
62
|
-
"@release-it/conventional-changelog": "^
|
|
59
|
+
"@commitlint/cli": "^17.0.2",
|
|
60
|
+
"@commitlint/config-conventional": "^17.0.3",
|
|
61
|
+
"@faker-js/faker": "^7.3.0",
|
|
62
|
+
"@release-it/conventional-changelog": "^5.0.0",
|
|
63
63
|
"@types/chalk": "^2.2.0",
|
|
64
64
|
"@types/commander": "^2.12.2",
|
|
65
65
|
"@types/fs-extra": "^9.0.12",
|
|
@@ -71,30 +71,30 @@
|
|
|
71
71
|
"@types/lodash.uniqby": "^4.7.6",
|
|
72
72
|
"@types/lodash.uniqwith": "^4.5.6",
|
|
73
73
|
"@types/micromatch": "^4.0.2",
|
|
74
|
-
"@types/node": "^
|
|
74
|
+
"@types/node": "^18.0.0",
|
|
75
75
|
"@types/prettier": "^2.4.4",
|
|
76
76
|
"@types/request": "^2.48.8",
|
|
77
77
|
"@types/validator": "^13.7.1",
|
|
78
78
|
"@typescript-eslint/eslint-plugin": "^5.14.0",
|
|
79
79
|
"@typescript-eslint/parser": "^5.14.0",
|
|
80
|
-
"dotenv-cli": "^
|
|
80
|
+
"dotenv-cli": "^5.1.0",
|
|
81
81
|
"eslint": "^8.10.0",
|
|
82
82
|
"eslint-config-prettier": "^8.5.0",
|
|
83
83
|
"eslint-plugin-prettier": "^4.0.0",
|
|
84
|
-
"husky": "^
|
|
85
|
-
"lint-staged": "^
|
|
84
|
+
"husky": "^8.0.1",
|
|
85
|
+
"lint-staged": "^13.0.3",
|
|
86
86
|
"npm-run-all": "^4.1.5",
|
|
87
87
|
"prettier": "2.6.2",
|
|
88
88
|
"pretty-quick": "^3.1.3",
|
|
89
|
-
"release-it": "^
|
|
89
|
+
"release-it": "^15.1.0",
|
|
90
90
|
"rimraf": "^3.0.2",
|
|
91
91
|
"tsup": "^5.12.0",
|
|
92
92
|
"typescript": "^4.6.2",
|
|
93
93
|
"vitest": "^0.6.0",
|
|
94
|
-
"zx": "^
|
|
94
|
+
"zx": "^7.0.2"
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
|
-
"@apidevtools/swagger-parser": "^10.0
|
|
97
|
+
"@apidevtools/swagger-parser": "^10.1.0",
|
|
98
98
|
"acorn": "^8.7.0",
|
|
99
99
|
"cac": "^6.7.12",
|
|
100
100
|
"chalk": "^4.1.2",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"find-up": "5.0.0",
|
|
109
109
|
"fs-extra": "^10.0.1",
|
|
110
110
|
"globby": "11.0.4",
|
|
111
|
-
"ibm-openapi-validator": "^0.
|
|
111
|
+
"ibm-openapi-validator": "^0.83.0",
|
|
112
112
|
"inquirer": "^8.2.0",
|
|
113
113
|
"lodash.get": "^4.4.2",
|
|
114
114
|
"lodash.omit": "^4.5.0",
|
|
@@ -118,8 +118,9 @@
|
|
|
118
118
|
"lodash.uniqwith": "^4.5.0",
|
|
119
119
|
"micromatch": "^4.0.4",
|
|
120
120
|
"openapi3-ts": "^2.0.2",
|
|
121
|
+
"string-argv": "^0.3.1",
|
|
121
122
|
"swagger2openapi": "^7.0.8",
|
|
122
|
-
"tsconfck": "^
|
|
123
|
+
"tsconfck": "^2.0.1",
|
|
123
124
|
"upath": "^2.0.1",
|
|
124
125
|
"url": "^0.11.0",
|
|
125
126
|
"validator": "^13.7.0"
|