kubb 5.10.3 → 5.11.0
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/config.cjs +1 -1
- package/dist/{defineConfig-wAz42i-Y.cjs → defineConfig-CAlKKmP5.cjs} +14 -2
- package/dist/{defineConfig-wAz42i-Y.cjs.map → defineConfig-CAlKKmP5.cjs.map} +1 -1
- package/dist/index.cjs +1 -2
- package/package.json +33 -93
- package/dist/astro.cjs +0 -4
- package/dist/astro.d.cts +0 -2
- package/dist/defineConfig-APkA8IxV.cjs +0 -60
- package/dist/defineConfig-APkA8IxV.cjs.map +0 -1
- package/dist/esbuild.cjs +0 -4
- package/dist/esbuild.d.cts +0 -2
- package/dist/farm.cjs +0 -4
- package/dist/farm.d.cts +0 -2
- package/dist/kit/testing.cjs +0 -9
- package/dist/kit/testing.d.cts +0 -1
- package/dist/nuxt.cjs +0 -4
- package/dist/nuxt.d.cts +0 -2
- package/dist/rolldown-runtime-VH7oDXx4.cjs +0 -28
- package/dist/rolldown-runtime-qbf5tadS.cjs +0 -38
- package/dist/rolldown.cjs +0 -4
- package/dist/rolldown.d.cts +0 -2
- package/dist/rollup.cjs +0 -4
- package/dist/rollup.d.cts +0 -2
- package/dist/rspack.cjs +0 -4
- package/dist/rspack.d.cts +0 -2
- package/dist/vite.cjs +0 -4
- package/dist/vite.d.cts +0 -2
- package/dist/webpack.cjs +0 -4
- package/dist/webpack.d.cts +0 -2
package/dist/config.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_defineConfig = require("./defineConfig-
|
|
2
|
+
const require_defineConfig = require("./defineConfig-CAlKKmP5.cjs");
|
|
3
3
|
exports.defineConfig = require_defineConfig.defineConfig;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __name = (target, value) => __defProp(target, "name", {
|
|
4
|
+
value,
|
|
5
|
+
configurable: true
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
2
8
|
let unplugin_kubb = require("unplugin-kubb");
|
|
3
9
|
//#region src/defineConfig.ts
|
|
4
10
|
function normalizeConfig(config) {
|
|
@@ -51,6 +57,12 @@ function defineConfig(config) {
|
|
|
51
57
|
return normalizeConfig(config);
|
|
52
58
|
}
|
|
53
59
|
//#endregion
|
|
60
|
+
Object.defineProperty(exports, "__name", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function() {
|
|
63
|
+
return __name;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
54
66
|
Object.defineProperty(exports, "defineConfig", {
|
|
55
67
|
enumerable: true,
|
|
56
68
|
get: function() {
|
|
@@ -58,4 +70,4 @@ Object.defineProperty(exports, "defineConfig", {
|
|
|
58
70
|
}
|
|
59
71
|
});
|
|
60
72
|
|
|
61
|
-
//# sourceMappingURL=defineConfig-
|
|
73
|
+
//# sourceMappingURL=defineConfig-CAlKKmP5.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defineConfig-
|
|
1
|
+
{"version":3,"file":"defineConfig-CAlKKmP5.cjs","names":["applyDefaults"],"sources":["../src/defineConfig.ts"],"sourcesContent":["import type { PossiblePromise } from '@internals/utils'\nimport type { CLIOptions, UserConfig } from '@kubb/core'\nimport { applyDefaults } from 'unplugin-kubb'\n\ntype AnyConfigResult = UserConfig<unknown> | Array<UserConfig<unknown>>\ntype ConfigInput = AnyConfigResult | Promise<AnyConfigResult> | ((cli: CLIOptions) => PossiblePromise<AnyConfigResult>)\ntype NormalizeConfig<TConfig> =\n TConfig extends Array<UserConfig<infer TInput>> ? Array<UserConfig<TInput>> : TConfig extends UserConfig<infer TInput> ? UserConfig<TInput> : never\ntype DefinedConfig<TConfig extends ConfigInput> = TConfig extends (cli: CLIOptions) => PossiblePromise<infer TResult>\n ? (cli: CLIOptions) => Promise<NormalizeConfig<TResult>>\n : TConfig extends Promise<infer TResult>\n ? Promise<NormalizeConfig<TResult>>\n : NormalizeConfig<TConfig>\n\nfunction normalizeConfig<TInput>(config: UserConfig<TInput> | Array<UserConfig<TInput>>): UserConfig<TInput> | Array<UserConfig<TInput>> {\n if (Array.isArray(config)) {\n return config.map(applyDefaults)\n }\n\n return applyDefaults(config)\n}\n\n/**\n * Defines a Kubb build configuration and fills in defaults for any omitted fields.\n *\n * Defaults applied when omitted:\n * - `adapter` → `adapterOas()` (OpenAPI 2.0/3.0/3.1).\n * - `parsers` → `[parserTs(), parserTsx(), parserMd()]`.\n * - `reporters` → `[cliReporter, jsonReporter, fileReporter, htmlReporter]`.\n * - `plugins` → `pluginBarrel()` is appended when not already present.\n * - `output.barrel` → `false` when not set.\n * - `output.format` and `output.lint` → `false`.\n *\n * Accepts a config object, an array of configs, a Promise resolving to one,\n * or a function that receives the parsed CLI options and returns any of the\n * above. The return type is preserved so async/array variants stay typed.\n *\n * @example\n * ```ts\n * import { defineConfig } from 'kubb'\n * import { pluginTs } from '@kubb/plugin-ts'\n *\n * export default defineConfig({\n * input: './petStore.yaml',\n * output: { path: './src/gen' },\n * plugins: [pluginTs()],\n * })\n * ```\n *\n * @example Function form with CLI options\n * ```ts\n * import { defineConfig } from 'kubb'\n *\n * export default defineConfig(({ input }) => ({\n * input: input ?? './petStore.yaml',\n * output: { path: './src/gen' },\n * plugins: [],\n * }))\n * ```\n */\nexport function defineConfig<TConfig extends ConfigInput>(config: TConfig): DefinedConfig<TConfig> {\n if (typeof config === 'function') {\n return (async (cli: CLIOptions) => {\n return normalizeConfig(await config(cli))\n }) as DefinedConfig<TConfig>\n }\n\n if (config instanceof Promise) {\n return config.then(normalizeConfig) as DefinedConfig<TConfig>\n }\n\n return normalizeConfig(config) as DefinedConfig<TConfig>\n}\n"],"mappings":";;;;;;;;;AAcA,SAAS,gBAAwB,QAAwG;CACvI,IAAI,MAAM,QAAQ,MAAM,GACtB,OAAO,OAAO,IAAIA,cAAAA,aAAa;CAGjC,QAAA,GAAOA,cAAAA,cAAAA,CAAc,MAAM;AAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA,SAAgB,aAA0C,QAAyC;CACjG,IAAI,OAAO,WAAW,YACpB,QAAQ,OAAO,QAAoB;EACjC,OAAO,gBAAgB,MAAM,OAAO,GAAG,CAAC;CAC1C;CAGF,IAAI,kBAAkB,SACpB,OAAO,OAAO,KAAK,eAAe;CAGpC,OAAO,gBAAgB,MAAM;AAC/B"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./
|
|
3
|
-
const require_defineConfig = require("./defineConfig-wAz42i-Y.cjs");
|
|
2
|
+
const require_defineConfig = require("./defineConfig-CAlKKmP5.cjs");
|
|
4
3
|
let _kubb_core = require("@kubb/core");
|
|
5
4
|
//#region src/createKubb.ts
|
|
6
5
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kubb",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.11.0",
|
|
4
4
|
"description": "Turn your API spec into type-safe code. Generate TypeScript types, API clients, hooks, validators and mocks from a spec such as OpenAPI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api-client",
|
|
@@ -72,14 +72,8 @@
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
"./astro": {
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
"default": "./dist/astro.js"
|
|
78
|
-
},
|
|
79
|
-
"require": {
|
|
80
|
-
"types": "./dist/astro.d.cts",
|
|
81
|
-
"default": "./dist/astro.cjs"
|
|
82
|
-
}
|
|
75
|
+
"types": "./dist/astro.d.ts",
|
|
76
|
+
"default": "./dist/astro.js"
|
|
83
77
|
},
|
|
84
78
|
"./config": {
|
|
85
79
|
"import": {
|
|
@@ -92,24 +86,12 @@
|
|
|
92
86
|
}
|
|
93
87
|
},
|
|
94
88
|
"./esbuild": {
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
"default": "./dist/esbuild.js"
|
|
98
|
-
},
|
|
99
|
-
"require": {
|
|
100
|
-
"types": "./dist/esbuild.d.cts",
|
|
101
|
-
"default": "./dist/esbuild.cjs"
|
|
102
|
-
}
|
|
89
|
+
"types": "./dist/esbuild.d.ts",
|
|
90
|
+
"default": "./dist/esbuild.js"
|
|
103
91
|
},
|
|
104
92
|
"./farm": {
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
"default": "./dist/farm.js"
|
|
108
|
-
},
|
|
109
|
-
"require": {
|
|
110
|
-
"types": "./dist/farm.d.cts",
|
|
111
|
-
"default": "./dist/farm.cjs"
|
|
112
|
-
}
|
|
93
|
+
"types": "./dist/farm.d.ts",
|
|
94
|
+
"default": "./dist/farm.js"
|
|
113
95
|
},
|
|
114
96
|
"./jsx": {
|
|
115
97
|
"import": {
|
|
@@ -152,74 +134,32 @@
|
|
|
152
134
|
}
|
|
153
135
|
},
|
|
154
136
|
"./kit/testing": {
|
|
155
|
-
"
|
|
156
|
-
|
|
157
|
-
"default": "./dist/kit/testing.js"
|
|
158
|
-
},
|
|
159
|
-
"require": {
|
|
160
|
-
"types": "./dist/kit/testing.d.cts",
|
|
161
|
-
"default": "./dist/kit/testing.cjs"
|
|
162
|
-
}
|
|
137
|
+
"types": "./dist/kit/testing.d.ts",
|
|
138
|
+
"default": "./dist/kit/testing.js"
|
|
163
139
|
},
|
|
164
140
|
"./nuxt": {
|
|
165
|
-
"
|
|
166
|
-
|
|
167
|
-
"default": "./dist/nuxt.js"
|
|
168
|
-
},
|
|
169
|
-
"require": {
|
|
170
|
-
"types": "./dist/nuxt.d.cts",
|
|
171
|
-
"default": "./dist/nuxt.cjs"
|
|
172
|
-
}
|
|
141
|
+
"types": "./dist/nuxt.d.ts",
|
|
142
|
+
"default": "./dist/nuxt.js"
|
|
173
143
|
},
|
|
174
144
|
"./rolldown": {
|
|
175
|
-
"
|
|
176
|
-
|
|
177
|
-
"default": "./dist/rolldown.js"
|
|
178
|
-
},
|
|
179
|
-
"require": {
|
|
180
|
-
"types": "./dist/rolldown.d.cts",
|
|
181
|
-
"default": "./dist/rolldown.cjs"
|
|
182
|
-
}
|
|
145
|
+
"types": "./dist/rolldown.d.ts",
|
|
146
|
+
"default": "./dist/rolldown.js"
|
|
183
147
|
},
|
|
184
148
|
"./rollup": {
|
|
185
|
-
"
|
|
186
|
-
|
|
187
|
-
"default": "./dist/rollup.js"
|
|
188
|
-
},
|
|
189
|
-
"require": {
|
|
190
|
-
"types": "./dist/rollup.d.cts",
|
|
191
|
-
"default": "./dist/rollup.cjs"
|
|
192
|
-
}
|
|
149
|
+
"types": "./dist/rollup.d.ts",
|
|
150
|
+
"default": "./dist/rollup.js"
|
|
193
151
|
},
|
|
194
152
|
"./rspack": {
|
|
195
|
-
"
|
|
196
|
-
|
|
197
|
-
"default": "./dist/rspack.js"
|
|
198
|
-
},
|
|
199
|
-
"require": {
|
|
200
|
-
"types": "./dist/rspack.d.cts",
|
|
201
|
-
"default": "./dist/rspack.cjs"
|
|
202
|
-
}
|
|
153
|
+
"types": "./dist/rspack.d.ts",
|
|
154
|
+
"default": "./dist/rspack.js"
|
|
203
155
|
},
|
|
204
156
|
"./vite": {
|
|
205
|
-
"
|
|
206
|
-
|
|
207
|
-
"default": "./dist/vite.js"
|
|
208
|
-
},
|
|
209
|
-
"require": {
|
|
210
|
-
"types": "./dist/vite.d.cts",
|
|
211
|
-
"default": "./dist/vite.cjs"
|
|
212
|
-
}
|
|
157
|
+
"types": "./dist/vite.d.ts",
|
|
158
|
+
"default": "./dist/vite.js"
|
|
213
159
|
},
|
|
214
160
|
"./webpack": {
|
|
215
|
-
"
|
|
216
|
-
|
|
217
|
-
"default": "./dist/webpack.js"
|
|
218
|
-
},
|
|
219
|
-
"require": {
|
|
220
|
-
"types": "./dist/webpack.d.cts",
|
|
221
|
-
"default": "./dist/webpack.cjs"
|
|
222
|
-
}
|
|
161
|
+
"types": "./dist/webpack.d.ts",
|
|
162
|
+
"default": "./dist/webpack.js"
|
|
223
163
|
},
|
|
224
164
|
"./package.json": "./package.json"
|
|
225
165
|
},
|
|
@@ -228,17 +168,17 @@
|
|
|
228
168
|
"registry": "https://registry.npmjs.org/"
|
|
229
169
|
},
|
|
230
170
|
"dependencies": {
|
|
231
|
-
"@kubb/adapter-oas": "5.
|
|
232
|
-
"@kubb/cli": "5.
|
|
233
|
-
"@kubb/core": "5.
|
|
234
|
-
"@kubb/kit": "5.
|
|
235
|
-
"@kubb/mcp": "5.
|
|
236
|
-
"@kubb/parser-md": "5.
|
|
237
|
-
"@kubb/parser-ts": "5.
|
|
238
|
-
"@kubb/plugin-barrel": "5.
|
|
239
|
-
"@kubb/renderer-jsx": "5.
|
|
240
|
-
"@kubb/studio": "5.
|
|
241
|
-
"unplugin-kubb": "5.
|
|
171
|
+
"@kubb/adapter-oas": "5.11.0",
|
|
172
|
+
"@kubb/cli": "5.11.0",
|
|
173
|
+
"@kubb/core": "5.11.0",
|
|
174
|
+
"@kubb/kit": "5.11.0",
|
|
175
|
+
"@kubb/mcp": "5.11.0",
|
|
176
|
+
"@kubb/parser-md": "5.11.0",
|
|
177
|
+
"@kubb/parser-ts": "5.11.0",
|
|
178
|
+
"@kubb/plugin-barrel": "5.11.0",
|
|
179
|
+
"@kubb/renderer-jsx": "5.11.0",
|
|
180
|
+
"@kubb/studio": "5.11.0",
|
|
181
|
+
"unplugin-kubb": "5.11.0"
|
|
242
182
|
},
|
|
243
183
|
"devDependencies": {
|
|
244
184
|
"@farmfe/core": "^1.7.11",
|
|
@@ -262,7 +202,7 @@
|
|
|
262
202
|
},
|
|
263
203
|
"preferGlobal": true,
|
|
264
204
|
"engines": {
|
|
265
|
-
"node": ">=22"
|
|
205
|
+
"node": ">=22.12"
|
|
266
206
|
},
|
|
267
207
|
"scripts": {
|
|
268
208
|
"build": "tsdown",
|
package/dist/astro.cjs
DELETED
package/dist/astro.d.cts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
let unplugin_kubb = require("unplugin-kubb");
|
|
2
|
-
//#region src/defineConfig.ts
|
|
3
|
-
function normalizeConfig(config) {
|
|
4
|
-
if (Array.isArray(config)) return config.map(unplugin_kubb.applyDefaults);
|
|
5
|
-
return (0, unplugin_kubb.applyDefaults)(config);
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Defines a Kubb build configuration and fills in defaults for any omitted fields.
|
|
9
|
-
*
|
|
10
|
-
* Defaults applied when omitted:
|
|
11
|
-
* - `adapter` → `adapterOas()` (OpenAPI 2.0/3.0/3.1).
|
|
12
|
-
* - `parsers` → `[parserTs(), parserTsx(), parserMd()]`.
|
|
13
|
-
* - `reporters` → `[cliReporter, jsonReporter, fileReporter, htmlReporter]`.
|
|
14
|
-
* - `plugins` → `pluginBarrel()` is appended when not already present.
|
|
15
|
-
* - `output.barrel` → `false` when not set.
|
|
16
|
-
* - `output.format` and `output.lint` → `false`.
|
|
17
|
-
*
|
|
18
|
-
* Accepts a config object, an array of configs, a Promise resolving to one,
|
|
19
|
-
* or a function that receives the parsed CLI options and returns any of the
|
|
20
|
-
* above. The return type is preserved so async/array variants stay typed.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```ts
|
|
24
|
-
* import { defineConfig } from 'kubb'
|
|
25
|
-
* import { pluginTs } from '@kubb/plugin-ts'
|
|
26
|
-
*
|
|
27
|
-
* export default defineConfig({
|
|
28
|
-
* input: './petStore.yaml',
|
|
29
|
-
* output: { path: './src/gen' },
|
|
30
|
-
* plugins: [pluginTs()],
|
|
31
|
-
* })
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @example Function form with CLI options
|
|
35
|
-
* ```ts
|
|
36
|
-
* import { defineConfig } from 'kubb'
|
|
37
|
-
*
|
|
38
|
-
* export default defineConfig(({ input }) => ({
|
|
39
|
-
* input: input ?? './petStore.yaml',
|
|
40
|
-
* output: { path: './src/gen' },
|
|
41
|
-
* plugins: [],
|
|
42
|
-
* }))
|
|
43
|
-
* ```
|
|
44
|
-
*/
|
|
45
|
-
function defineConfig(config) {
|
|
46
|
-
if (typeof config === "function") return (async (cli) => {
|
|
47
|
-
return normalizeConfig(await config(cli));
|
|
48
|
-
});
|
|
49
|
-
if (config instanceof Promise) return config.then(normalizeConfig);
|
|
50
|
-
return normalizeConfig(config);
|
|
51
|
-
}
|
|
52
|
-
//#endregion
|
|
53
|
-
Object.defineProperty(exports, "defineConfig", {
|
|
54
|
-
enumerable: true,
|
|
55
|
-
get: function() {
|
|
56
|
-
return defineConfig;
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
//# sourceMappingURL=defineConfig-APkA8IxV.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defineConfig-APkA8IxV.cjs","names":["applyDefaults"],"sources":["../src/defineConfig.ts"],"sourcesContent":["import type { PossiblePromise } from '@internals/utils'\nimport type { CLIOptions, UserConfig } from '@kubb/core'\nimport { applyDefaults } from 'unplugin-kubb'\n\ntype AnyConfigResult = UserConfig<unknown> | Array<UserConfig<unknown>>\ntype ConfigInput = AnyConfigResult | Promise<AnyConfigResult> | ((cli: CLIOptions) => PossiblePromise<AnyConfigResult>)\ntype NormalizeConfig<TConfig> =\n TConfig extends Array<UserConfig<infer TInput>> ? Array<UserConfig<TInput>> : TConfig extends UserConfig<infer TInput> ? UserConfig<TInput> : never\ntype DefinedConfig<TConfig extends ConfigInput> = TConfig extends (cli: CLIOptions) => PossiblePromise<infer TResult>\n ? (cli: CLIOptions) => Promise<NormalizeConfig<TResult>>\n : TConfig extends Promise<infer TResult>\n ? Promise<NormalizeConfig<TResult>>\n : NormalizeConfig<TConfig>\n\nfunction normalizeConfig<TInput>(config: UserConfig<TInput> | Array<UserConfig<TInput>>): UserConfig<TInput> | Array<UserConfig<TInput>> {\n if (Array.isArray(config)) {\n return config.map(applyDefaults)\n }\n\n return applyDefaults(config)\n}\n\n/**\n * Defines a Kubb build configuration and fills in defaults for any omitted fields.\n *\n * Defaults applied when omitted:\n * - `adapter` → `adapterOas()` (OpenAPI 2.0/3.0/3.1).\n * - `parsers` → `[parserTs(), parserTsx(), parserMd()]`.\n * - `reporters` → `[cliReporter, jsonReporter, fileReporter, htmlReporter]`.\n * - `plugins` → `pluginBarrel()` is appended when not already present.\n * - `output.barrel` → `false` when not set.\n * - `output.format` and `output.lint` → `false`.\n *\n * Accepts a config object, an array of configs, a Promise resolving to one,\n * or a function that receives the parsed CLI options and returns any of the\n * above. The return type is preserved so async/array variants stay typed.\n *\n * @example\n * ```ts\n * import { defineConfig } from 'kubb'\n * import { pluginTs } from '@kubb/plugin-ts'\n *\n * export default defineConfig({\n * input: './petStore.yaml',\n * output: { path: './src/gen' },\n * plugins: [pluginTs()],\n * })\n * ```\n *\n * @example Function form with CLI options\n * ```ts\n * import { defineConfig } from 'kubb'\n *\n * export default defineConfig(({ input }) => ({\n * input: input ?? './petStore.yaml',\n * output: { path: './src/gen' },\n * plugins: [],\n * }))\n * ```\n */\nexport function defineConfig<TConfig extends ConfigInput>(config: TConfig): DefinedConfig<TConfig> {\n if (typeof config === 'function') {\n return (async (cli: CLIOptions) => {\n return normalizeConfig(await config(cli))\n }) as DefinedConfig<TConfig>\n }\n\n if (config instanceof Promise) {\n return config.then(normalizeConfig) as DefinedConfig<TConfig>\n }\n\n return normalizeConfig(config) as DefinedConfig<TConfig>\n}\n"],"mappings":";;AAcA,SAAS,gBAAwB,QAAwG;CACvI,IAAI,MAAM,QAAQ,MAAM,GACtB,OAAO,OAAO,IAAIA,cAAAA,aAAa;CAGjC,QAAA,GAAOA,cAAAA,cAAAA,CAAc,MAAM;AAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA,SAAgB,aAA0C,QAAyC;CACjG,IAAI,OAAO,WAAW,YACpB,QAAQ,OAAO,QAAoB;EACjC,OAAO,gBAAgB,MAAM,OAAO,GAAG,CAAC;CAC1C;CAGF,IAAI,kBAAkB,SACpB,OAAO,OAAO,KAAK,eAAe;CAGpC,OAAO,gBAAgB,MAAM;AAC/B"}
|
package/dist/esbuild.cjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
|
|
2
|
-
let unplugin_kubb_esbuild = require("unplugin-kubb/esbuild");
|
|
3
|
-
unplugin_kubb_esbuild = require_rolldown_runtime.__toESM(unplugin_kubb_esbuild, 1);
|
|
4
|
-
module.exports = unplugin_kubb_esbuild.default;
|
package/dist/esbuild.d.cts
DELETED
package/dist/farm.cjs
DELETED
package/dist/farm.d.cts
DELETED
package/dist/kit/testing.cjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var _kubb_kit_testing = require("@kubb/kit/testing");
|
|
2
|
-
Object.keys(_kubb_kit_testing).forEach(function(k) {
|
|
3
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
4
|
-
enumerable: true,
|
|
5
|
-
get: function() {
|
|
6
|
-
return _kubb_kit_testing[k];
|
|
7
|
-
}
|
|
8
|
-
});
|
|
9
|
-
});
|
package/dist/kit/testing.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "@kubb/kit/testing";
|
package/dist/nuxt.cjs
DELETED
package/dist/nuxt.d.cts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
-
key = keys[i];
|
|
11
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
-
get: ((k) => from[k]).bind(null, key),
|
|
13
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
19
|
-
value: mod,
|
|
20
|
-
enumerable: true
|
|
21
|
-
}) : target, mod));
|
|
22
|
-
//#endregion
|
|
23
|
-
Object.defineProperty(exports, "__toESM", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
get: function() {
|
|
26
|
-
return __toESM;
|
|
27
|
-
}
|
|
28
|
-
});
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __name = (target, value) => __defProp(target, "name", {
|
|
5
|
-
value,
|
|
6
|
-
configurable: true
|
|
7
|
-
});
|
|
8
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
9
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
10
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
11
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
14
|
-
key = keys[i];
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
-
get: ((k) => from[k]).bind(null, key),
|
|
17
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
23
|
-
value: mod,
|
|
24
|
-
enumerable: true
|
|
25
|
-
}) : target, mod));
|
|
26
|
-
//#endregion
|
|
27
|
-
Object.defineProperty(exports, "__name", {
|
|
28
|
-
enumerable: true,
|
|
29
|
-
get: function() {
|
|
30
|
-
return __name;
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
Object.defineProperty(exports, "__toESM", {
|
|
34
|
-
enumerable: true,
|
|
35
|
-
get: function() {
|
|
36
|
-
return __toESM;
|
|
37
|
-
}
|
|
38
|
-
});
|
package/dist/rolldown.cjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
|
|
2
|
-
let unplugin_kubb_rolldown = require("unplugin-kubb/rolldown");
|
|
3
|
-
unplugin_kubb_rolldown = require_rolldown_runtime.__toESM(unplugin_kubb_rolldown, 1);
|
|
4
|
-
module.exports = unplugin_kubb_rolldown.default;
|
package/dist/rolldown.d.cts
DELETED
package/dist/rollup.cjs
DELETED
package/dist/rollup.d.cts
DELETED
package/dist/rspack.cjs
DELETED
package/dist/rspack.d.cts
DELETED
package/dist/vite.cjs
DELETED
package/dist/vite.d.cts
DELETED
package/dist/webpack.cjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
|
|
2
|
-
let unplugin_kubb_webpack = require("unplugin-kubb/webpack");
|
|
3
|
-
unplugin_kubb_webpack = require_rolldown_runtime.__toESM(unplugin_kubb_webpack, 1);
|
|
4
|
-
module.exports = unplugin_kubb_webpack.default;
|
package/dist/webpack.d.cts
DELETED