@kubb/cli
Advanced tools
Comparing version 0.0.0-canary-20250124174549 to 0.0.0-canary-20250204223927
@@ -39,3 +39,3 @@ import { LogMapper, createLogger, randomCliColour } from '@kubb/core/logger'; | ||
detached: true, | ||
stdout: logger?.logLevel === LogMapper.silent ? void 0 : ["pipe", consolaWritable], | ||
stdout: logger?.logLevel === LogMapper.silent ? undefined : ["pipe", consolaWritable], | ||
stripFinalNewline: true | ||
@@ -79,3 +79,3 @@ }); | ||
plugins: status === "success" ? `${c3.green(`${buildStartPlugins.length} successful`)}, ${pluginsCount} total` : `${c3.red(`${failedPlugins?.length ?? 1} failed`)}, ${pluginsCount} total`, | ||
pluginsFailed: status === "failed" ? failedPlugins?.map((name) => randomCliColour(name))?.join(", ") : void 0, | ||
pluginsFailed: status === "failed" ? failedPlugins?.map((name) => randomCliColour(name))?.join(", ") : undefined, | ||
filesCreated, | ||
@@ -95,3 +95,3 @@ time: `${c3.yellow(`${elapsedSeconds}s`)}`, | ||
} | ||
return void 0; | ||
return undefined; | ||
}).filter(Boolean).join("\n") | ||
@@ -108,3 +108,3 @@ ); | ||
const { root = process.cwd(), ...userConfig } = config; | ||
const inputPath = input ?? ("path" in userConfig.input ? userConfig.input.path : void 0); | ||
const inputPath = input ?? ("path" in userConfig.input ? userConfig.input.path : undefined); | ||
if (logger.logLevel !== LogMapper.debug) { | ||
@@ -111,0 +111,0 @@ const progressCache = /* @__PURE__ */ new Map(); |
@@ -8,3 +8,3 @@ export { generate } from './chunk-LA3QWVJI.js'; | ||
// package.json | ||
var version = "3.5.5"; | ||
var version = "3.5.6"; | ||
var name = "kubb"; | ||
@@ -35,3 +35,3 @@ var main = defineCommand({ | ||
if (rawArgs[0] !== "generate") { | ||
const generateCommand = await import('./generate-ROINWVXB.js').then((r) => r.default); | ||
const generateCommand = await import('./generate-Q72KJ3UY.js').then((r) => r.default); | ||
await runCommand(generateCommand, { rawArgs }); | ||
@@ -42,3 +42,3 @@ process.exit(0); | ||
subCommands: { | ||
generate: () => import('./generate-ROINWVXB.js').then((r) => r.default) | ||
generate: () => import('./generate-Q72KJ3UY.js').then((r) => r.default) | ||
} | ||
@@ -45,0 +45,0 @@ }); |
{ | ||
"name": "@kubb/cli", | ||
"version": "0.0.0-canary-20250124174549", | ||
"version": "0.0.0-canary-20250204223927", | ||
"description": "Generator cli", | ||
@@ -51,17 +51,17 @@ "keywords": [ | ||
"p-queue": "^8.1.0", | ||
"semver": "^7.6.3", | ||
"semver": "^7.7.1", | ||
"string-argv": "^0.3.2", | ||
"tinyrainbow": "^1.2.0", | ||
"@kubb/core": "0.0.0-canary-20250124174549" | ||
"@kubb/core": "0.0.0-canary-20250204223927" | ||
}, | ||
"devDependencies": { | ||
"@types/cli-progress": "^3.11.6", | ||
"@types/node": "^20.17.16", | ||
"@types/node": "^20.17.17", | ||
"@types/semver": "^7.5.8", | ||
"source-map-support": "^0.5.21", | ||
"tsup": "^8.3.5", | ||
"tsup": "^8.3.6", | ||
"typescript": "^5.7.3", | ||
"@kubb/config-ts": "0.0.0-canary-20250124174549", | ||
"@kubb/config-tsup": "0.0.0-canary-20250124174549", | ||
"@kubb/plugin-oas": "0.0.0-canary-20250124174549" | ||
"@kubb/config-ts": "0.0.0-canary-20250204223927", | ||
"@kubb/config-tsup": "0.0.0-canary-20250204223927", | ||
"@kubb/plugin-oas": "0.0.0-canary-20250204223927" | ||
}, | ||
@@ -68,0 +68,0 @@ "engines": { |
import { defineCommand, showUsage } from 'citty' | ||
import type { ArgsDef, ParsedArgs } from 'citty' | ||
import { execa } from 'execa' | ||
import c from 'tinyrainbow' | ||
@@ -5,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1030069
9467
2
+ Added@kubb/core@0.0.0-canary-20250204223927(transitive)
+ Added@kubb/fs@0.0.0-canary-20250204223927(transitive)
+ Added@kubb/parser-ts@0.0.0-canary-20250204223927(transitive)
+ Added@kubb/types@0.0.0-canary-20250204223927(transitive)
- Removed@kubb/core@0.0.0-canary-20250124174549(transitive)
- Removed@kubb/fs@0.0.0-canary-20250124174549(transitive)
- Removed@kubb/parser-ts@0.0.0-canary-20250124174549(transitive)
- Removed@kubb/types@0.0.0-canary-20250124174549(transitive)
Updatedsemver@^7.7.1