orval 7.0.1 → 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/bin/orval.js
CHANGED
|
@@ -3217,6 +3217,7 @@ var generateClientImports = ({
|
|
|
3217
3217
|
hasSchemaDir,
|
|
3218
3218
|
isAllowSyntheticDefaultImports,
|
|
3219
3219
|
hasGlobalMutator,
|
|
3220
|
+
hasTagsMutator,
|
|
3220
3221
|
hasParamsSerializerOptions,
|
|
3221
3222
|
packageJson,
|
|
3222
3223
|
output
|
|
@@ -3229,7 +3230,8 @@ var generateClientImports = ({
|
|
|
3229
3230
|
hasGlobalMutator,
|
|
3230
3231
|
hasParamsSerializerOptions,
|
|
3231
3232
|
packageJson,
|
|
3232
|
-
output.httpClient
|
|
3233
|
+
output.httpClient,
|
|
3234
|
+
hasTagsMutator
|
|
3233
3235
|
),
|
|
3234
3236
|
...imports
|
|
3235
3237
|
] : imports,
|
|
@@ -3739,7 +3741,7 @@ var import_chalk2 = __toESM(require("chalk"));
|
|
|
3739
3741
|
var package_default = {
|
|
3740
3742
|
name: "orval",
|
|
3741
3743
|
description: "A swagger client generator for typescript",
|
|
3742
|
-
version: "7.
|
|
3744
|
+
version: "7.1.1",
|
|
3743
3745
|
license: "MIT",
|
|
3744
3746
|
files: [
|
|
3745
3747
|
"dist"
|
|
@@ -3793,15 +3795,15 @@ var package_default = {
|
|
|
3793
3795
|
},
|
|
3794
3796
|
dependencies: {
|
|
3795
3797
|
"@apidevtools/swagger-parser": "^10.1.0",
|
|
3796
|
-
"@orval/angular": "7.
|
|
3797
|
-
"@orval/axios": "7.
|
|
3798
|
-
"@orval/core": "7.
|
|
3799
|
-
"@orval/fetch": "7.
|
|
3800
|
-
"@orval/hono": "7.
|
|
3801
|
-
"@orval/mock": "7.
|
|
3802
|
-
"@orval/query": "7.
|
|
3803
|
-
"@orval/swr": "7.
|
|
3804
|
-
"@orval/zod": "7.
|
|
3798
|
+
"@orval/angular": "7.1.1",
|
|
3799
|
+
"@orval/axios": "7.1.1",
|
|
3800
|
+
"@orval/core": "7.1.1",
|
|
3801
|
+
"@orval/fetch": "7.1.1",
|
|
3802
|
+
"@orval/hono": "7.1.1",
|
|
3803
|
+
"@orval/mock": "7.1.1",
|
|
3804
|
+
"@orval/query": "7.1.1",
|
|
3805
|
+
"@orval/swr": "7.1.1",
|
|
3806
|
+
"@orval/zod": "7.1.1",
|
|
3805
3807
|
ajv: "^8.12.0",
|
|
3806
3808
|
cac: "^6.7.14",
|
|
3807
3809
|
chalk: "^4.1.2",
|
|
@@ -4706,7 +4708,7 @@ var writeSpecs = async (builder, workspace, options, projectName) => {
|
|
|
4706
4708
|
}
|
|
4707
4709
|
if (output.biome) {
|
|
4708
4710
|
try {
|
|
4709
|
-
await (0, import_execa2.default)("biome", ["check", "--
|
|
4711
|
+
await (0, import_execa2.default)("biome", ["check", "--write", ...paths]);
|
|
4710
4712
|
} catch (e) {
|
|
4711
4713
|
const message = e.exitCode === 1 ? e.stdout + e.stderr : `\u26A0\uFE0F ${projectTitle ? `${projectTitle} - ` : ""}biome not found`;
|
|
4712
4714
|
(0, import_core10.log)(import_chalk4.default.yellow(message));
|