@kubb/cli 0.44.0 → 0.44.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/index.js +1 -5
- package/dist/index.mjs +1 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -156,7 +156,7 @@ var getCosmiConfig = async (moduleName2, config) => {
|
|
|
156
156
|
};
|
|
157
157
|
|
|
158
158
|
// package.json
|
|
159
|
-
var version = "0.44.
|
|
159
|
+
var version = "0.44.1";
|
|
160
160
|
|
|
161
161
|
// src/index.ts
|
|
162
162
|
var moduleName = "kubb";
|
|
@@ -173,10 +173,6 @@ var program = new commander.Command(moduleName).description("Kubb").action(async
|
|
|
173
173
|
spinner.succeed("Config loaded");
|
|
174
174
|
if (options.watch) {
|
|
175
175
|
const config = await getConfig(result, options);
|
|
176
|
-
if (typeof config.input === "string") {
|
|
177
|
-
spinner.warn(pc3__default.default.red("Input as a string cannot be used together with watch "));
|
|
178
|
-
return;
|
|
179
|
-
}
|
|
180
176
|
startWatcher(
|
|
181
177
|
async (paths) => {
|
|
182
178
|
await run({ config, spinner, options });
|
package/dist/index.mjs
CHANGED
|
@@ -149,7 +149,7 @@ var getCosmiConfig = async (moduleName2, config) => {
|
|
|
149
149
|
};
|
|
150
150
|
|
|
151
151
|
// package.json
|
|
152
|
-
var version = "0.44.
|
|
152
|
+
var version = "0.44.1";
|
|
153
153
|
|
|
154
154
|
// src/index.ts
|
|
155
155
|
var moduleName = "kubb";
|
|
@@ -166,10 +166,6 @@ var program = new Command(moduleName).description("Kubb").action(async (options)
|
|
|
166
166
|
spinner.succeed("Config loaded");
|
|
167
167
|
if (options.watch) {
|
|
168
168
|
const config = await getConfig(result, options);
|
|
169
|
-
if (typeof config.input === "string") {
|
|
170
|
-
spinner.warn(pc3.red("Input as a string cannot be used together with watch "));
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
169
|
startWatcher(
|
|
174
170
|
async (paths) => {
|
|
175
171
|
await run({ config, spinner, options });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/cli",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.1",
|
|
4
4
|
"description": "Generator cli",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@humanwhocodes/module-importer": "^1.0.1",
|
|
31
|
-
"@kubb/core": "0.44.
|
|
31
|
+
"@kubb/core": "0.44.1",
|
|
32
32
|
"chokidar": "^3.5.3",
|
|
33
33
|
"commander": "^10.0.0",
|
|
34
34
|
"cosmiconfig": "^8.0.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"ts-node": "^10.9.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@kubb/swagger": "0.44.
|
|
43
|
+
"@kubb/swagger": "0.44.1",
|
|
44
44
|
"@types/node": "^18.14.0",
|
|
45
45
|
"tsup": "^6.6.3",
|
|
46
46
|
"typescript": "^4.9.5"
|