orval 6.27.1 → 6.28.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/dist/bin/orval.js CHANGED
@@ -3810,7 +3810,7 @@ var import_chalk2 = __toESM(require("chalk"));
3810
3810
  var package_default = {
3811
3811
  name: "orval",
3812
3812
  description: "A swagger client generator for typescript",
3813
- version: "6.27.1",
3813
+ version: "6.28.1",
3814
3814
  license: "MIT",
3815
3815
  files: [
3816
3816
  "dist"
@@ -3864,14 +3864,14 @@ var package_default = {
3864
3864
  },
3865
3865
  dependencies: {
3866
3866
  "@apidevtools/swagger-parser": "^10.1.0",
3867
- "@orval/angular": "6.27.1",
3868
- "@orval/axios": "6.27.1",
3869
- "@orval/core": "6.27.1",
3870
- "@orval/mock": "6.27.1",
3871
- "@orval/query": "6.27.1",
3872
- "@orval/swr": "6.27.1",
3873
- "@orval/zod": "6.27.1",
3874
- "@orval/hono": "6.27.1",
3867
+ "@orval/angular": "6.28.1",
3868
+ "@orval/axios": "6.28.1",
3869
+ "@orval/core": "6.28.1",
3870
+ "@orval/mock": "6.28.1",
3871
+ "@orval/query": "6.28.1",
3872
+ "@orval/swr": "6.28.1",
3873
+ "@orval/zod": "6.28.1",
3874
+ "@orval/hono": "6.28.1",
3875
3875
  ajv: "^8.12.0",
3876
3876
  cac: "^6.7.14",
3877
3877
  chalk: "^4.1.2",
@@ -4096,7 +4096,7 @@ var loadTsconfig = async (tsconfig, workspace = process.cwd()) => {
4096
4096
 
4097
4097
  // src/utils/options.ts
4098
4098
  var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOptions = {}) => {
4099
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma;
4099
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa, _Ta, _Ua, _Va, _Wa, _Xa, _Ya, _Za, __a, _$a, _ab, _bb, _cb, _db, _eb, _fb, _gb;
4100
4100
  const options = await ((0, import_core7.isFunction)(optionsExport) ? optionsExport() : optionsExport);
4101
4101
  if (!options.input) {
4102
4102
  (0, import_core7.createLogger)().error(import_chalk2.default.red(`Config require an input`));
@@ -4112,7 +4112,7 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
4112
4112
  outputOptions.workspace || "",
4113
4113
  workspace
4114
4114
  );
4115
- const { clean, prettier, client, mode, tslint } = globalOptions;
4115
+ const { clean, prettier, client, mode, tslint, biome } = globalOptions;
4116
4116
  const tsconfig = await loadTsconfig(
4117
4117
  outputOptions.tsconfig || globalOptions.tsconfig,
4118
4118
  workspace
@@ -4124,6 +4124,7 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
4124
4124
  let mock2 = (_a = outputOptions.mock) != null ? _a : globalOptions.mock;
4125
4125
  if (typeof mock2 === "boolean" && mock2) {
4126
4126
  mock2 = import_mock2.DEFAULT_MOCK_OPTIONS;
4127
+ } else if ((0, import_core7.isFunction)(mock2)) {
4127
4128
  } else if (!mock2) {
4128
4129
  mock2 = void 0;
4129
4130
  } else {
@@ -4132,6 +4133,7 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
4132
4133
  ...mock2
4133
4134
  };
4134
4135
  }
4136
+ const defaultFileExtension = ".ts";
4135
4137
  const normalizedOptions = {
4136
4138
  input: {
4137
4139
  target: globalOptions.input ? normalizePathOrUrl(globalOptions.input, process.cwd()) : normalizePathOrUrl(inputOptions.target, workspace),
@@ -4152,6 +4154,7 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
4152
4154
  output: {
4153
4155
  target: globalOptions.output ? normalizePath(globalOptions.output, process.cwd()) : normalizePath(outputOptions.target, outputWorkspace),
4154
4156
  schemas: normalizePath(outputOptions.schemas, outputWorkspace),
4157
+ fileExtension: outputOptions.fileExtension || defaultFileExtension,
4155
4158
  workspace: outputOptions.workspace ? outputWorkspace : void 0,
4156
4159
  client: (_f = (_e = outputOptions.client) != null ? _e : client) != null ? _f : import_core7.OutputClient.AXIOS_FUNCTIONS,
4157
4160
  mode: normalizeOutputMode((_g = outputOptions.mode) != null ? _g : mode),
@@ -4159,93 +4162,101 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
4159
4162
  clean: (_i = (_h = outputOptions.clean) != null ? _h : clean) != null ? _i : false,
4160
4163
  prettier: (_k = (_j = outputOptions.prettier) != null ? _j : prettier) != null ? _k : false,
4161
4164
  tslint: (_m = (_l = outputOptions.tslint) != null ? _l : tslint) != null ? _m : false,
4165
+ biome: (_o = (_n = outputOptions.biome) != null ? _n : biome) != null ? _o : false,
4162
4166
  tsconfig,
4163
4167
  packageJson,
4164
- headers: (_n = outputOptions.headers) != null ? _n : false,
4165
- indexFiles: (_o = outputOptions.indexFiles) != null ? _o : true,
4168
+ headers: (_p = outputOptions.headers) != null ? _p : false,
4169
+ indexFiles: (_q = outputOptions.indexFiles) != null ? _q : true,
4166
4170
  baseUrl: outputOptions.baseUrl,
4167
- unionAddMissingProperties: (_p = outputOptions.unionAddMissingProperties) != null ? _p : false,
4171
+ unionAddMissingProperties: (_r = outputOptions.unionAddMissingProperties) != null ? _r : false,
4168
4172
  override: {
4169
4173
  ...outputOptions.override,
4170
4174
  mock: {
4171
- arrayMin: (_s = (_r = (_q = outputOptions.override) == null ? void 0 : _q.mock) == null ? void 0 : _r.arrayMin) != null ? _s : 1,
4172
- arrayMax: (_v = (_u = (_t = outputOptions.override) == null ? void 0 : _t.mock) == null ? void 0 : _u.arrayMax) != null ? _v : 10,
4173
- ...(_x = (_w = outputOptions.override) == null ? void 0 : _w.mock) != null ? _x : {}
4175
+ arrayMin: (_u = (_t = (_s = outputOptions.override) == null ? void 0 : _s.mock) == null ? void 0 : _t.arrayMin) != null ? _u : 1,
4176
+ arrayMax: (_x = (_w = (_v = outputOptions.override) == null ? void 0 : _v.mock) == null ? void 0 : _w.arrayMax) != null ? _x : 10,
4177
+ ...(_z = (_y = outputOptions.override) == null ? void 0 : _y.mock) != null ? _z : {}
4174
4178
  },
4175
4179
  operations: normalizeOperationsAndTags(
4176
- (_z = (_y = outputOptions.override) == null ? void 0 : _y.operations) != null ? _z : {},
4180
+ (_B = (_A = outputOptions.override) == null ? void 0 : _A.operations) != null ? _B : {},
4177
4181
  outputWorkspace
4178
4182
  ),
4179
4183
  tags: normalizeOperationsAndTags(
4180
- (_B = (_A = outputOptions.override) == null ? void 0 : _A.tags) != null ? _B : {},
4184
+ (_D = (_C = outputOptions.override) == null ? void 0 : _C.tags) != null ? _D : {},
4181
4185
  outputWorkspace
4182
4186
  ),
4183
4187
  mutator: normalizeMutator(
4184
4188
  outputWorkspace,
4185
- (_C = outputOptions.override) == null ? void 0 : _C.mutator
4189
+ (_E = outputOptions.override) == null ? void 0 : _E.mutator
4186
4190
  ),
4187
- formData: (_G = !(0, import_core7.isBoolean)((_D = outputOptions.override) == null ? void 0 : _D.formData) ? normalizeMutator(
4191
+ formData: (_I = !(0, import_core7.isBoolean)((_F = outputOptions.override) == null ? void 0 : _F.formData) ? normalizeMutator(
4188
4192
  outputWorkspace,
4189
- (_E = outputOptions.override) == null ? void 0 : _E.formData
4190
- ) : (_F = outputOptions.override) == null ? void 0 : _F.formData) != null ? _G : true,
4191
- formUrlEncoded: (_K = !(0, import_core7.isBoolean)((_H = outputOptions.override) == null ? void 0 : _H.formUrlEncoded) ? normalizeMutator(
4193
+ (_G = outputOptions.override) == null ? void 0 : _G.formData
4194
+ ) : (_H = outputOptions.override) == null ? void 0 : _H.formData) != null ? _I : true,
4195
+ formUrlEncoded: (_M = !(0, import_core7.isBoolean)((_J = outputOptions.override) == null ? void 0 : _J.formUrlEncoded) ? normalizeMutator(
4192
4196
  outputWorkspace,
4193
- (_I = outputOptions.override) == null ? void 0 : _I.formUrlEncoded
4194
- ) : (_J = outputOptions.override) == null ? void 0 : _J.formUrlEncoded) != null ? _K : true,
4197
+ (_K = outputOptions.override) == null ? void 0 : _K.formUrlEncoded
4198
+ ) : (_L = outputOptions.override) == null ? void 0 : _L.formUrlEncoded) != null ? _M : true,
4195
4199
  paramsSerializer: normalizeMutator(
4196
4200
  outputWorkspace,
4197
- (_L = outputOptions.override) == null ? void 0 : _L.paramsSerializer
4201
+ (_N = outputOptions.override) == null ? void 0 : _N.paramsSerializer
4198
4202
  ),
4199
- header: ((_M = outputOptions.override) == null ? void 0 : _M.header) === false ? false : (0, import_core7.isFunction)((_N = outputOptions.override) == null ? void 0 : _N.header) ? (_O = outputOptions.override) == null ? void 0 : _O.header : getDefaultFilesHeader,
4200
- requestOptions: (_Q = (_P = outputOptions.override) == null ? void 0 : _P.requestOptions) != null ? _Q : true,
4203
+ header: ((_O = outputOptions.override) == null ? void 0 : _O.header) === false ? false : (0, import_core7.isFunction)((_P = outputOptions.override) == null ? void 0 : _P.header) ? (_Q = outputOptions.override) == null ? void 0 : _Q.header : getDefaultFilesHeader,
4204
+ requestOptions: (_S = (_R = outputOptions.override) == null ? void 0 : _R.requestOptions) != null ? _S : true,
4201
4205
  components: {
4202
4206
  schemas: {
4203
4207
  suffix: import_core7.RefComponentSuffix.schemas,
4204
- itemSuffix: (_U = (_T = (_S = (_R = outputOptions.override) == null ? void 0 : _R.components) == null ? void 0 : _S.schemas) == null ? void 0 : _T.itemSuffix) != null ? _U : "Item",
4205
- ...(_X = (_W = (_V = outputOptions.override) == null ? void 0 : _V.components) == null ? void 0 : _W.schemas) != null ? _X : {}
4208
+ itemSuffix: (_W = (_V = (_U = (_T = outputOptions.override) == null ? void 0 : _T.components) == null ? void 0 : _U.schemas) == null ? void 0 : _V.itemSuffix) != null ? _W : "Item",
4209
+ ...(_Z = (_Y = (_X = outputOptions.override) == null ? void 0 : _X.components) == null ? void 0 : _Y.schemas) != null ? _Z : {}
4206
4210
  },
4207
4211
  responses: {
4208
4212
  suffix: import_core7.RefComponentSuffix.responses,
4209
- ...(__ = (_Z = (_Y = outputOptions.override) == null ? void 0 : _Y.components) == null ? void 0 : _Z.responses) != null ? __ : {}
4213
+ ...(_aa = (_$ = (__ = outputOptions.override) == null ? void 0 : __.components) == null ? void 0 : _$.responses) != null ? _aa : {}
4210
4214
  },
4211
4215
  parameters: {
4212
4216
  suffix: import_core7.RefComponentSuffix.parameters,
4213
- ...(_ba = (_aa = (_$ = outputOptions.override) == null ? void 0 : _$.components) == null ? void 0 : _aa.parameters) != null ? _ba : {}
4217
+ ...(_da = (_ca = (_ba = outputOptions.override) == null ? void 0 : _ba.components) == null ? void 0 : _ca.parameters) != null ? _da : {}
4214
4218
  },
4215
4219
  requestBodies: {
4216
4220
  suffix: import_core7.RefComponentSuffix.requestBodies,
4217
- ...(_ea = (_da = (_ca = outputOptions.override) == null ? void 0 : _ca.components) == null ? void 0 : _da.requestBodies) != null ? _ea : {}
4221
+ ...(_ga = (_fa = (_ea = outputOptions.override) == null ? void 0 : _ea.components) == null ? void 0 : _fa.requestBodies) != null ? _ga : {}
4218
4222
  }
4219
4223
  },
4220
- hono: normalizeHonoOptions((_fa = outputOptions.override) == null ? void 0 : _fa.hono, workspace),
4224
+ hono: normalizeHonoOptions((_ha = outputOptions.override) == null ? void 0 : _ha.hono, workspace),
4221
4225
  query: {
4222
4226
  useQuery: true,
4223
4227
  useMutation: true,
4224
4228
  signal: true,
4225
4229
  shouldExportMutatorHooks: true,
4226
- ...normalizeQueryOptions((_ga = outputOptions.override) == null ? void 0 : _ga.query, workspace)
4230
+ ...normalizeQueryOptions((_ia = outputOptions.override) == null ? void 0 : _ia.query, workspace)
4227
4231
  },
4228
4232
  zod: {
4229
4233
  strict: {
4230
- param: (_ka = (_ja = (_ia = (_ha = outputOptions.override) == null ? void 0 : _ha.zod) == null ? void 0 : _ia.strict) == null ? void 0 : _ja.param) != null ? _ka : false,
4231
- query: (_oa = (_na = (_ma = (_la = outputOptions.override) == null ? void 0 : _la.zod) == null ? void 0 : _ma.strict) == null ? void 0 : _na.query) != null ? _oa : false,
4232
- header: (_sa = (_ra = (_qa = (_pa = outputOptions.override) == null ? void 0 : _pa.zod) == null ? void 0 : _qa.strict) == null ? void 0 : _ra.header) != null ? _sa : false,
4233
- body: (_wa = (_va = (_ua = (_ta = outputOptions.override) == null ? void 0 : _ta.zod) == null ? void 0 : _ua.strict) == null ? void 0 : _va.body) != null ? _wa : false,
4234
- response: (_Aa = (_za = (_ya = (_xa = outputOptions.override) == null ? void 0 : _xa.zod) == null ? void 0 : _ya.strict) == null ? void 0 : _za.response) != null ? _Aa : false
4234
+ param: (_ma = (_la = (_ka = (_ja = outputOptions.override) == null ? void 0 : _ja.zod) == null ? void 0 : _ka.strict) == null ? void 0 : _la.param) != null ? _ma : false,
4235
+ query: (_qa = (_pa = (_oa = (_na = outputOptions.override) == null ? void 0 : _na.zod) == null ? void 0 : _oa.strict) == null ? void 0 : _pa.query) != null ? _qa : false,
4236
+ header: (_ua = (_ta = (_sa = (_ra = outputOptions.override) == null ? void 0 : _ra.zod) == null ? void 0 : _sa.strict) == null ? void 0 : _ta.header) != null ? _ua : false,
4237
+ body: (_ya = (_xa = (_wa = (_va = outputOptions.override) == null ? void 0 : _va.zod) == null ? void 0 : _wa.strict) == null ? void 0 : _xa.body) != null ? _ya : false,
4238
+ response: (_Ca = (_Ba = (_Aa = (_za = outputOptions.override) == null ? void 0 : _za.zod) == null ? void 0 : _Aa.strict) == null ? void 0 : _Ba.response) != null ? _Ca : false
4239
+ },
4240
+ coerce: {
4241
+ param: (_Ga = (_Fa = (_Ea = (_Da = outputOptions.override) == null ? void 0 : _Da.zod) == null ? void 0 : _Ea.coerce) == null ? void 0 : _Fa.param) != null ? _Ga : false,
4242
+ query: (_Ka = (_Ja = (_Ia = (_Ha = outputOptions.override) == null ? void 0 : _Ha.zod) == null ? void 0 : _Ia.coerce) == null ? void 0 : _Ja.query) != null ? _Ka : false,
4243
+ header: (_Oa = (_Na = (_Ma = (_La = outputOptions.override) == null ? void 0 : _La.zod) == null ? void 0 : _Ma.coerce) == null ? void 0 : _Na.header) != null ? _Oa : false,
4244
+ body: (_Sa = (_Ra = (_Qa = (_Pa = outputOptions.override) == null ? void 0 : _Pa.zod) == null ? void 0 : _Qa.coerce) == null ? void 0 : _Ra.body) != null ? _Sa : false,
4245
+ response: (_Wa = (_Va = (_Ua = (_Ta = outputOptions.override) == null ? void 0 : _Ta.zod) == null ? void 0 : _Ua.coerce) == null ? void 0 : _Va.response) != null ? _Wa : false
4235
4246
  }
4236
4247
  },
4237
4248
  swr: {
4238
- ...(_Ca = (_Ba = outputOptions.override) == null ? void 0 : _Ba.swr) != null ? _Ca : {}
4249
+ ...(_Ya = (_Xa = outputOptions.override) == null ? void 0 : _Xa.swr) != null ? _Ya : {}
4239
4250
  },
4240
4251
  angular: {
4241
- provideIn: (_Fa = (_Ea = (_Da = outputOptions.override) == null ? void 0 : _Da.angular) == null ? void 0 : _Ea.provideIn) != null ? _Fa : "root"
4252
+ provideIn: (_$a = (__a = (_Za = outputOptions.override) == null ? void 0 : _Za.angular) == null ? void 0 : __a.provideIn) != null ? _$a : "root"
4242
4253
  },
4243
- useDates: ((_Ga = outputOptions.override) == null ? void 0 : _Ga.useDates) || false,
4244
- useDeprecatedOperations: (_Ia = (_Ha = outputOptions.override) == null ? void 0 : _Ha.useDeprecatedOperations) != null ? _Ia : true,
4245
- useNativeEnums: (_Ka = (_Ja = outputOptions.override) == null ? void 0 : _Ja.useNativeEnums) != null ? _Ka : false
4254
+ useDates: ((_ab = outputOptions.override) == null ? void 0 : _ab.useDates) || false,
4255
+ useDeprecatedOperations: (_cb = (_bb = outputOptions.override) == null ? void 0 : _bb.useDeprecatedOperations) != null ? _cb : true,
4256
+ useNativeEnums: (_eb = (_db = outputOptions.override) == null ? void 0 : _db.useNativeEnums) != null ? _eb : false
4246
4257
  },
4247
- allParamsOptional: (_La = outputOptions.allParamsOptional) != null ? _La : false,
4248
- urlEncodeParameters: (_Ma = outputOptions.urlEncodeParameters) != null ? _Ma : false
4258
+ allParamsOptional: (_fb = outputOptions.allParamsOptional) != null ? _fb : false,
4259
+ urlEncodeParameters: (_gb = outputOptions.urlEncodeParameters) != null ? _gb : false
4249
4260
  },
4250
4261
  hooks: options.hooks ? normalizeHooks(options.hooks) : {}
4251
4262
  };
@@ -4314,7 +4325,7 @@ var normalizeOperationsAndTags = (operationsOrTags, workspace) => {
4314
4325
  ...rest
4315
4326
  }
4316
4327
  ]) => {
4317
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
4328
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
4318
4329
  return [
4319
4330
  key,
4320
4331
  {
@@ -4330,6 +4341,13 @@ var normalizeOperationsAndTags = (operationsOrTags, workspace) => {
4330
4341
  header: (_f = (_e = zod2.strict) == null ? void 0 : _e.header) != null ? _f : false,
4331
4342
  body: (_h = (_g = zod2.strict) == null ? void 0 : _g.body) != null ? _h : false,
4332
4343
  response: (_j = (_i = zod2.strict) == null ? void 0 : _i.response) != null ? _j : false
4344
+ },
4345
+ coerce: {
4346
+ param: (_l = (_k = zod2.coerce) == null ? void 0 : _k.param) != null ? _l : false,
4347
+ query: (_n = (_m = zod2.coerce) == null ? void 0 : _m.query) != null ? _n : false,
4348
+ header: (_p = (_o = zod2.coerce) == null ? void 0 : _o.header) != null ? _p : false,
4349
+ body: (_r = (_q = zod2.coerce) == null ? void 0 : _q.body) != null ? _r : false,
4350
+ response: (_t = (_s = zod2.coerce) == null ? void 0 : _s.response) != null ? _t : false
4333
4351
  }
4334
4352
  }
4335
4353
  } : {},
@@ -4630,6 +4648,14 @@ var writeSpecs = async (builder, workspace, options, projectName) => {
4630
4648
  );
4631
4649
  }
4632
4650
  }
4651
+ if (output.biome) {
4652
+ try {
4653
+ await (0, import_execa2.default)("biome", ["check", "--apply", ...paths]);
4654
+ } catch (e) {
4655
+ const message = e.exitCode === 1 ? e.stdout + e.stderr : `\u26A0\uFE0F ${projectTitle ? `${projectTitle} - ` : ""}biome not found`;
4656
+ (0, import_core10.log)(import_chalk4.default.yellow(message));
4657
+ }
4658
+ }
4633
4659
  (0, import_core10.createSuccessMessage)(projectTitle);
4634
4660
  };
4635
4661
  var getWriteMode = (mode) => {
@@ -4753,7 +4779,7 @@ cli.command(
4753
4779
  ).option("-o, --output <path>", "output file destination").option("-i, --input <path>", "input file (yaml or json openapi specs)").option("-c, --config <path>", "override flags by a config file").option("-p, --project <name>", "focus a project of the config").option("-m, --mode <name>", "default mode that will be used").option("-c, --client <name>", "default client that will be used").option("--mock", "activate the mock").option(
4754
4780
  "-w, --watch [path]",
4755
4781
  "Watch mode, if path is not specified, it watches the input target"
4756
- ).option("--clean [path]", "Clean output directory").option("--prettier [path]", "Prettier generated files").option("--tslint [path]", "tslint generated files").option("--tsconfig [path]", "path to your tsconfig file").action(async (paths, cmd) => {
4782
+ ).option("--clean [path]", "Clean output directory").option("--prettier [path]", "Prettier generated files").option("--tslint [path]", "tslint generated files").option("--biome [path]", "biome generated files").option("--tsconfig [path]", "path to your tsconfig file").action(async (paths, cmd) => {
4757
4783
  if (!cmd.config && (0, import_core12.isString)(cmd.input) && (0, import_core12.isString)(cmd.output)) {
4758
4784
  const normalizedOptions = await normalizeOptions({
4759
4785
  input: cmd.input,
@@ -4762,6 +4788,7 @@ cli.command(
4762
4788
  clean: cmd.clean,
4763
4789
  prettier: cmd.prettier,
4764
4790
  tslint: cmd.tslint,
4791
+ biome: cmd.biome,
4765
4792
  mock: cmd.mock,
4766
4793
  client: cmd.client,
4767
4794
  mode: cmd.mode,
@@ -4794,6 +4821,7 @@ cli.command(
4794
4821
  clean: cmd.clean,
4795
4822
  prettier: cmd.prettier,
4796
4823
  tslint: cmd.tslint,
4824
+ biome: cmd.biome,
4797
4825
  mock: cmd.mock,
4798
4826
  client: cmd.client,
4799
4827
  mode: cmd.mode,