@kubb/cli
Advanced tools
Comparing version 3.0.0-alpha.29 to 3.0.0-alpha.30
@@ -1,2 +0,2 @@ | ||
export { generate } from './chunk-BB43CQBG.js'; | ||
export { generate } from './chunk-2UGBJEKD.js'; | ||
import { defineCommand, runCommand, runMain } from 'citty'; | ||
@@ -8,3 +8,3 @@ import getLatestVersion from 'latest-version'; | ||
// package.json | ||
var version = "3.0.0-alpha.29"; | ||
var version = "3.0.0-alpha.30"; | ||
var name = "kubb"; | ||
@@ -35,3 +35,3 @@ var main = defineCommand({ | ||
if (rawArgs[0] !== "generate") { | ||
const generateCommand = await import('./generate-7D7P47IS.js').then((r) => r.default); | ||
const generateCommand = await import('./generate-5JRBGXVI.js').then((r) => r.default); | ||
await runCommand(generateCommand, { rawArgs }); | ||
@@ -42,3 +42,3 @@ process.exit(0); | ||
subCommands: { | ||
generate: () => import('./generate-7D7P47IS.js').then((r) => r.default) | ||
generate: () => import('./generate-5JRBGXVI.js').then((r) => r.default) | ||
} | ||
@@ -45,0 +45,0 @@ }); |
{ | ||
"name": "@kubb/cli", | ||
"version": "3.0.0-alpha.29", | ||
"version": "3.0.0-alpha.30", | ||
"description": "Generator cli", | ||
@@ -55,7 +55,7 @@ "keywords": [ | ||
"tinyrainbow": "^1.2.0", | ||
"@kubb/core": "3.0.0-alpha.29" | ||
"@kubb/core": "3.0.0-alpha.30" | ||
}, | ||
"devDependencies": { | ||
"@types/cli-progress": "^3.11.6", | ||
"@types/node": "^20.16.7", | ||
"@types/node": "^20.16.10", | ||
"@types/semver": "^7.5.8", | ||
@@ -65,5 +65,5 @@ "source-map-support": "^0.5.21", | ||
"typescript": "^5.6.2", | ||
"@kubb/config-ts": "3.0.0-alpha.29", | ||
"@kubb/config-tsup": "3.0.0-alpha.29", | ||
"@kubb/plugin-oas": "3.0.0-alpha.29" | ||
"@kubb/config-ts": "3.0.0-alpha.30", | ||
"@kubb/config-tsup": "3.0.0-alpha.30", | ||
"@kubb/plugin-oas": "3.0.0-alpha.30" | ||
}, | ||
@@ -70,0 +70,0 @@ "engines": { |
@@ -10,5 +10,5 @@ import { LogMapper } from '@kubb/core/logger' | ||
import { createLogger } from '@kubb/core/logger' | ||
import { Presets, SingleBar } from 'cli-progress' | ||
import type { Args } from './commands/generate.ts' | ||
import { createLogger } from '@kubb/core/logger' | ||
@@ -77,3 +77,8 @@ type GenerateProps = { | ||
write: true, | ||
exportType: 'barrelNamed', | ||
barrelType: 'named', | ||
extension() { | ||
return { | ||
'.ts': '.ts', | ||
} | ||
}, | ||
...userConfig.output, | ||
@@ -80,0 +85,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
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
1043896
9403
2
+ Added@kubb/core@3.0.0-alpha.30(transitive)
+ Added@kubb/fs@3.0.0-alpha.30(transitive)
+ Added@kubb/parser-ts@3.0.0-alpha.30(transitive)
+ Added@kubb/types@3.0.0-alpha.30(transitive)
- Removed@kubb/core@3.0.0-alpha.29(transitive)
- Removed@kubb/fs@3.0.0-alpha.29(transitive)
- Removed@kubb/parser-ts@3.0.0-alpha.29(transitive)
- Removed@kubb/types@3.0.0-alpha.29(transitive)
Updated@kubb/core@3.0.0-alpha.30