@kubb/plugin-oas
Advanced tools
@@ -53,3 +53,3 @@ import { | ||
options, | ||
api() { | ||
context() { | ||
const { config, logger } = this; | ||
@@ -82,8 +82,2 @@ return { | ||
}, | ||
async writeFile(path2, source) { | ||
if (!path2.endsWith(".json") || !source) { | ||
return; | ||
} | ||
return this.fileManager.write(path2, source, { sanity: false }); | ||
}, | ||
async buildStart() { | ||
@@ -90,0 +84,0 @@ if (!output) { |
{ | ||
"name": "@kubb/plugin-oas", | ||
"version": "3.0.0-alpha.1", | ||
"version": "3.0.0-alpha.2", | ||
"description": "Generator swagger", | ||
@@ -71,6 +71,6 @@ "keywords": [ | ||
"remeda": "^2.11.0", | ||
"@kubb/core": "3.0.0-alpha.1", | ||
"@kubb/fs": "3.0.0-alpha.1", | ||
"@kubb/oas": "3.0.0-alpha.1", | ||
"@kubb/react": "3.0.0-alpha.1" | ||
"@kubb/core": "3.0.0-alpha.2", | ||
"@kubb/fs": "3.0.0-alpha.2", | ||
"@kubb/oas": "3.0.0-alpha.2", | ||
"@kubb/react": "3.0.0-alpha.2" | ||
}, | ||
@@ -83,8 +83,8 @@ "devDependencies": { | ||
"typescript": "^5.5.4", | ||
"@kubb/config-biome": "3.0.0-alpha.1", | ||
"@kubb/config-ts": "3.0.0-alpha.1", | ||
"@kubb/config-tsup": "3.0.0-alpha.1" | ||
"@kubb/config-biome": "3.0.0-alpha.2", | ||
"@kubb/config-ts": "3.0.0-alpha.2", | ||
"@kubb/config-tsup": "3.0.0-alpha.2" | ||
}, | ||
"peerDependencies": { | ||
"@kubb/react": "3.0.0-alpha.1" | ||
"@kubb/react": "3.0.0-alpha.2" | ||
}, | ||
@@ -91,0 +91,0 @@ "engines": { |
@@ -49,4 +49,3 @@ import path from 'node:path' | ||
options, | ||
api() { | ||
context() { | ||
const { config, logger } = this | ||
@@ -82,9 +81,2 @@ | ||
}, | ||
async writeFile(path, source) { | ||
if (!path.endsWith('.json') || !source) { | ||
return | ||
} | ||
return this.fileManager.write(path, source, { sanity: false }) | ||
}, | ||
async buildStart() { | ||
@@ -91,0 +83,0 @@ if (!output) { |
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
0
-100%1167629
-0.12%12242
-0.15%