@hey-api/openapi-ts 0.84.3 → 0.85.0
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/bin/index.cjs +2 -9
- package/dist/chunk-JIKOAZJ5.js +47 -0
- package/dist/chunk-JIKOAZJ5.js.map +1 -0
- package/dist/clients/angular/index.ts +1 -0
- package/dist/clients/axios/index.ts +1 -0
- package/dist/clients/core/queryKeySerializer.ts +134 -0
- package/dist/clients/fetch/index.ts +1 -0
- package/dist/clients/next/index.ts +1 -0
- package/dist/clients/nuxt/index.ts +1 -0
- package/dist/clients/ofetch/index.ts +1 -0
- package/dist/clients/ofetch/utils.ts +1 -0
- package/dist/index.cjs +87 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -12
- package/dist/index.d.ts +18 -12
- package/dist/index.js +182 -163
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +19 -19
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +26 -18
- package/dist/internal.d.ts +26 -18
- package/dist/internal.js +1 -1
- package/dist/{types.d-fB2fiwrL.d.cts → types.d-DIu3K5QP.d.cts} +253 -126
- package/dist/{types.d-fB2fiwrL.d.ts → types.d-DIu3K5QP.d.ts} +253 -126
- package/package.json +3 -3
- package/dist/chunk-7LVATX6U.js +0 -54
- package/dist/chunk-7LVATX6U.js.map +0 -1
package/bin/index.cjs
CHANGED
|
@@ -36,7 +36,7 @@ const params = program
|
|
|
36
36
|
.option('-s, --silent', 'Set log level to silent')
|
|
37
37
|
.option(
|
|
38
38
|
'--no-log-file',
|
|
39
|
-
'Disable writing a log file. Works like --silent but without
|
|
39
|
+
'Disable writing a log file. Works like --silent but without suppressing console output',
|
|
40
40
|
)
|
|
41
41
|
.option(
|
|
42
42
|
'-w, --watch [value]',
|
|
@@ -93,14 +93,6 @@ async function start() {
|
|
|
93
93
|
'useOptions',
|
|
94
94
|
]);
|
|
95
95
|
|
|
96
|
-
const isInteractive =
|
|
97
|
-
process.stdin.isTTY &&
|
|
98
|
-
process.stdout.isTTY &&
|
|
99
|
-
!process.env.CI &&
|
|
100
|
-
!process.env.NO_INTERACTIVE &&
|
|
101
|
-
!process.env.NO_INTERACTION;
|
|
102
|
-
userConfig.interactive = isInteractive;
|
|
103
|
-
|
|
104
96
|
if (params.plugins === true) {
|
|
105
97
|
userConfig.plugins = [];
|
|
106
98
|
} else if (params.plugins) {
|
|
@@ -127,6 +119,7 @@ async function start() {
|
|
|
127
119
|
}
|
|
128
120
|
|
|
129
121
|
userConfig.logs.file = userConfig.logFile;
|
|
122
|
+
delete userConfig.logFile;
|
|
130
123
|
|
|
131
124
|
if (typeof params.watch === 'string') {
|
|
132
125
|
userConfig.watch = Number.parseInt(params.watch, 10);
|