@kubb/cli
Advanced tools
Comparing version 3.0.0-alpha.19 to 3.0.0-alpha.20
@@ -26,8 +26,2 @@ import { Config } from '@kubb/core'; | ||
}; | ||
readonly bun: { | ||
readonly type: "boolean"; | ||
readonly description: "Run Kubb with Bun"; | ||
readonly alias: "b"; | ||
readonly default: false; | ||
}; | ||
readonly debug: { | ||
@@ -34,0 +28,0 @@ readonly type: "boolean"; |
@@ -8,3 +8,3 @@ export { generate } from './chunk-BB43CQBG.js'; | ||
// package.json | ||
var version = "3.0.0-alpha.19"; | ||
var version = "3.0.0-alpha.20"; | ||
var name = "kubb"; | ||
@@ -35,3 +35,3 @@ var main = defineCommand({ | ||
if (rawArgs[0] !== "generate") { | ||
const generateCommand = await import('./generate-WAEFR5I3.js').then((r) => r.default); | ||
const generateCommand = await import('./generate-7D7P47IS.js').then((r) => r.default); | ||
await runCommand(generateCommand, { rawArgs }); | ||
@@ -42,3 +42,3 @@ process.exit(0); | ||
subCommands: { | ||
generate: () => import('./generate-WAEFR5I3.js').then((r) => r.default) | ||
generate: () => import('./generate-7D7P47IS.js').then((r) => r.default) | ||
} | ||
@@ -45,0 +45,0 @@ }); |
{ | ||
"name": "@kubb/cli", | ||
"version": "3.0.0-alpha.19", | ||
"version": "3.0.0-alpha.20", | ||
"description": "Generator cli", | ||
@@ -32,3 +32,2 @@ "keywords": [ | ||
"bin": { | ||
"bkubb": "bin/bkubb.cjs", | ||
"kubb": "bin/kubb.cjs" | ||
@@ -45,3 +44,3 @@ }, | ||
"bundle-require": "^5.0.0", | ||
"chokidar": "^3.6.0", | ||
"chokidar": "^4.0.0", | ||
"citty": "^0.1.6", | ||
@@ -58,3 +57,3 @@ "cli-progress": "^3.12.0", | ||
"tinyrainbow": "^1.2.0", | ||
"@kubb/core": "3.0.0-alpha.19" | ||
"@kubb/core": "3.0.0-alpha.20" | ||
}, | ||
@@ -68,5 +67,5 @@ "devDependencies": { | ||
"typescript": "^5.6.2", | ||
"@kubb/config-ts": "3.0.0-alpha.19", | ||
"@kubb/config-tsup": "3.0.0-alpha.19", | ||
"@kubb/plugin-oas": "3.0.0-alpha.19" | ||
"@kubb/config-ts": "3.0.0-alpha.20", | ||
"@kubb/config-tsup": "3.0.0-alpha.20", | ||
"@kubb/plugin-oas": "3.0.0-alpha.20" | ||
}, | ||
@@ -73,0 +72,0 @@ "engines": { |
@@ -39,8 +39,2 @@ import { defineCommand, showUsage } from 'citty' | ||
}, | ||
bun: { | ||
type: 'boolean', | ||
description: 'Run Kubb with Bun', | ||
alias: 'b', | ||
default: false, | ||
}, | ||
debug: { | ||
@@ -81,9 +75,2 @@ type: 'boolean', | ||
if (args.bun) { | ||
const command = process.argv.splice(2).filter((item) => item !== '--bun') | ||
await execa('bkubb', command, { stdout: process.stdout, stderr: process.stderr }) | ||
return | ||
} | ||
const logLevel = LogMapper[args.logLevel as keyof typeof LogMapper] || 3 | ||
@@ -90,0 +77,0 @@ const logger = createLogger({ |
@@ -0,3 +1,3 @@ | ||
import { createLogger } from '@kubb/core/logger' | ||
import c from 'tinyrainbow' | ||
import { createLogger } from '@kubb/core/logger' | ||
@@ -8,3 +8,3 @@ export async function startWatcher(path: string[], cb: (path: string[]) => Promise<void>): Promise<void> { | ||
const ignored = ['**/{.git,node_modules}/**'] | ||
const ignored = '**/{.git,node_modules}/**' | ||
@@ -24,4 +24,2 @@ const watcher = watch(path, { | ||
}) | ||
return | ||
} |
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
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
1040193
30
9367
+ Added@kubb/core@3.0.0-alpha.20(transitive)
+ Added@kubb/fs@3.0.0-alpha.20(transitive)
+ Added@kubb/parser-ts@3.0.0-alpha.20(transitive)
+ Added@kubb/types@3.0.0-alpha.20(transitive)
+ Addedchokidar@4.0.3(transitive)
+ Addedreaddirp@4.1.1(transitive)
- Removed@kubb/core@3.0.0-alpha.19(transitive)
- Removed@kubb/fs@3.0.0-alpha.19(transitive)
- Removed@kubb/parser-ts@3.0.0-alpha.19(transitive)
- Removed@kubb/types@3.0.0-alpha.19(transitive)
- Removedanymatch@3.1.3(transitive)
- Removedbinary-extensions@2.3.0(transitive)
- Removedbraces@3.0.3(transitive)
- Removedchokidar@3.6.0(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedfsevents@2.3.3(transitive)
- Removedglob-parent@5.1.2(transitive)
- Removedis-binary-path@2.1.0(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-number@7.0.0(transitive)
- Removednormalize-path@3.0.0(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedreaddirp@3.6.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
Updated@kubb/core@3.0.0-alpha.20
Updatedchokidar@^4.0.0