@kubb/core 5.0.0-alpha.71 → 5.0.0-alpha.73
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.cjs +92 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +92 -7
- package/dist/index.js.map +1 -1
- package/dist/mocks.d.ts +1 -1
- package/dist/{types-DWtkW2RX.d.ts → types-bVvdPbki.d.ts} +3 -3
- package/package.json +4 -4
- package/src/createKubb.ts +2 -0
- package/src/types.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/core",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.73",
|
|
4
4
|
"description": "Core functionality for Kubb's plugin-based code generation system, providing the foundation for transforming OpenAPI specifications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ast",
|
|
@@ -65,15 +65,15 @@
|
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"fflate": "^0.8.2",
|
|
67
67
|
"tinyexec": "^1.1.1",
|
|
68
|
-
"@kubb/ast": "5.0.0-alpha.
|
|
68
|
+
"@kubb/ast": "5.0.0-alpha.73"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"p-limit": "^7.3.0",
|
|
72
72
|
"@internals/utils": "0.0.0",
|
|
73
|
-
"@kubb/renderer-jsx": "5.0.0-alpha.
|
|
73
|
+
"@kubb/renderer-jsx": "5.0.0-alpha.73"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"@kubb/renderer-jsx": "5.0.0-alpha.
|
|
76
|
+
"@kubb/renderer-jsx": "5.0.0-alpha.73"
|
|
77
77
|
},
|
|
78
78
|
"size-limit": [
|
|
79
79
|
{
|
package/src/createKubb.ts
CHANGED
|
@@ -110,6 +110,8 @@ async function setup(userConfig: UserConfig, options: SetupOptions = {}): Promis
|
|
|
110
110
|
parsers: userConfig.parsers ?? [],
|
|
111
111
|
adapter: userConfig.adapter,
|
|
112
112
|
output: {
|
|
113
|
+
format: false,
|
|
114
|
+
lint: false,
|
|
113
115
|
write: true,
|
|
114
116
|
extension: DEFAULT_EXTENSION,
|
|
115
117
|
defaultBanner: DEFAULT_BANNER,
|
package/src/types.ts
CHANGED
|
@@ -197,7 +197,7 @@ export type Config<TInput = Input> = {
|
|
|
197
197
|
* - 'prettier' uses Prettier for code formatting.
|
|
198
198
|
* - 'biome' uses Biome for code formatting.
|
|
199
199
|
* - false disables code formatting.
|
|
200
|
-
* @default
|
|
200
|
+
* @default false
|
|
201
201
|
*/
|
|
202
202
|
format?: 'auto' | 'prettier' | 'biome' | 'oxfmt' | false
|
|
203
203
|
/**
|
|
@@ -207,7 +207,7 @@ export type Config<TInput = Input> = {
|
|
|
207
207
|
* - 'eslint' uses ESLint for linting.
|
|
208
208
|
* - 'biome' uses Biome for linting.
|
|
209
209
|
* - false disables linting.
|
|
210
|
-
* @default
|
|
210
|
+
* @default false
|
|
211
211
|
*/
|
|
212
212
|
lint?: 'auto' | 'eslint' | 'biome' | 'oxlint' | false
|
|
213
213
|
/**
|