orval 7.1.0 → 7.1.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 +14 -12
- package/dist/bin/orval.js.map +1 -1
- package/dist/index.js +14 -12
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -3228,6 +3228,7 @@ var generateClientImports = ({
|
|
|
3228
3228
|
hasSchemaDir,
|
|
3229
3229
|
isAllowSyntheticDefaultImports,
|
|
3230
3230
|
hasGlobalMutator,
|
|
3231
|
+
hasTagsMutator,
|
|
3231
3232
|
hasParamsSerializerOptions,
|
|
3232
3233
|
packageJson,
|
|
3233
3234
|
output
|
|
@@ -3240,7 +3241,8 @@ var generateClientImports = ({
|
|
|
3240
3241
|
hasGlobalMutator,
|
|
3241
3242
|
hasParamsSerializerOptions,
|
|
3242
3243
|
packageJson,
|
|
3243
|
-
output.httpClient
|
|
3244
|
+
output.httpClient,
|
|
3245
|
+
hasTagsMutator
|
|
3244
3246
|
),
|
|
3245
3247
|
...imports
|
|
3246
3248
|
] : imports,
|
|
@@ -3750,7 +3752,7 @@ var import_chalk2 = __toESM(require("chalk"));
|
|
|
3750
3752
|
var package_default = {
|
|
3751
3753
|
name: "orval",
|
|
3752
3754
|
description: "A swagger client generator for typescript",
|
|
3753
|
-
version: "7.1.
|
|
3755
|
+
version: "7.1.1",
|
|
3754
3756
|
license: "MIT",
|
|
3755
3757
|
files: [
|
|
3756
3758
|
"dist"
|
|
@@ -3804,15 +3806,15 @@ var package_default = {
|
|
|
3804
3806
|
},
|
|
3805
3807
|
dependencies: {
|
|
3806
3808
|
"@apidevtools/swagger-parser": "^10.1.0",
|
|
3807
|
-
"@orval/angular": "7.1.
|
|
3808
|
-
"@orval/axios": "7.1.
|
|
3809
|
-
"@orval/core": "7.1.
|
|
3810
|
-
"@orval/fetch": "7.1.
|
|
3811
|
-
"@orval/hono": "7.1.
|
|
3812
|
-
"@orval/mock": "7.1.
|
|
3813
|
-
"@orval/query": "7.1.
|
|
3814
|
-
"@orval/swr": "7.1.
|
|
3815
|
-
"@orval/zod": "7.1.
|
|
3809
|
+
"@orval/angular": "7.1.1",
|
|
3810
|
+
"@orval/axios": "7.1.1",
|
|
3811
|
+
"@orval/core": "7.1.1",
|
|
3812
|
+
"@orval/fetch": "7.1.1",
|
|
3813
|
+
"@orval/hono": "7.1.1",
|
|
3814
|
+
"@orval/mock": "7.1.1",
|
|
3815
|
+
"@orval/query": "7.1.1",
|
|
3816
|
+
"@orval/swr": "7.1.1",
|
|
3817
|
+
"@orval/zod": "7.1.1",
|
|
3816
3818
|
ajv: "^8.12.0",
|
|
3817
3819
|
cac: "^6.7.14",
|
|
3818
3820
|
chalk: "^4.1.2",
|
|
@@ -4720,7 +4722,7 @@ var writeSpecs = async (builder, workspace, options, projectName) => {
|
|
|
4720
4722
|
}
|
|
4721
4723
|
if (output.biome) {
|
|
4722
4724
|
try {
|
|
4723
|
-
await (0, import_execa2.default)("biome", ["check", "--
|
|
4725
|
+
await (0, import_execa2.default)("biome", ["check", "--write", ...paths]);
|
|
4724
4726
|
} catch (e) {
|
|
4725
4727
|
const message = e.exitCode === 1 ? e.stdout + e.stderr : `\u26A0\uFE0F ${projectTitle ? `${projectTitle} - ` : ""}biome not found`;
|
|
4726
4728
|
(0, import_core10.log)(import_chalk4.default.yellow(message));
|