kubb 5.15.4 → 5.16.1
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/README.md +3 -2
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
### Turn your API spec into type-safe code
|
|
31
31
|
|
|
32
|
-
Kubb turns an API spec, such as OpenAPI, into TypeScript types, API clients, hooks, validators and mocks, and keeps them in sync with your API. It reads OpenAPI 2.0, 3.0 and 3.
|
|
32
|
+
Kubb turns an API spec, such as OpenAPI, into TypeScript types, API clients, hooks, validators and mocks, and keeps them in sync with your API. It reads OpenAPI 2.0, 3.0, 3.1, and 3.2.
|
|
33
33
|
|
|
34
34
|
## Installation
|
|
35
35
|
|
|
@@ -67,7 +67,7 @@ Try Studio's shared sandbox, [connect a local project](https://kubb.dev/docs/5.x
|
|
|
67
67
|
|
|
68
68
|
- Generate TypeScript types, type-safe clients, [TanStack Query](https://github.com/TanStack/query) and [SWR](https://github.com/vercel/swr) hooks, [Zod](https://github.com/colinhacks/zod) validators, [Faker](https://github.com/faker-js/faker) mocks, and [MSW](https://github.com/mswjs/msw) handlers from one schema.
|
|
69
69
|
- Generate a typed [axios](https://axios-http.com/) or [Fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) client with status-keyed results, auth, validation, file uploads, server-sent events, interceptors, and a swappable transport.
|
|
70
|
-
- Read OpenAPI 2.0, 3.0, and 3.
|
|
70
|
+
- Read OpenAPI 2.0, 3.0, 3.1, and 3.2 through adapters like [`@kubb/adapter-oas`](https://npmx.dev/package/@kubb/adapter-oas), with output for Node.js and Bun.
|
|
71
71
|
- Enable only the [plugins](https://github.com/kubb-labs/plugins) you need: `plugin-ts`, `plugin-axios`, `plugin-fetch`, `plugin-react-query`, `plugin-vue-query`, `plugin-swr`, `plugin-zod`, `plugin-faker`, `plugin-msw`, `plugin-cypress`, `plugin-redoc`, `plugin-mcp`.
|
|
72
72
|
- Shape the output by grouping files by tag, including or excluding operations, and writing to disk, memory, or a custom storage backend.
|
|
73
73
|
- Build your own plugins, generators, adapters, and renderers with the [`kubb/kit`](https://kubb.dev/docs/5.x/reference/kit) authoring toolkit, plus a JSX renderer for component-based output.
|
|
@@ -189,6 +189,7 @@ See [CONTRIBUTING.md](https://github.com/kubb-labs/kubb/blob/main/CONTRIBUTING.m
|
|
|
189
189
|
<tr>
|
|
190
190
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/oller"><img src="https://avatars.githubusercontent.com/u/1219831?v=4?s=100" width="100px;" alt="David Ollerhead"/><br /><sub><b>David Ollerhead</b></sub></a><br /><a href="https://github.com/kubb-labs/kubb/commits?author=oller" title="Documentation">📖</a></td>
|
|
191
191
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/TopGrd"><img src="https://avatars.githubusercontent.com/u/4202848?v=4?s=100" width="100px;" alt="Robot."/><br /><sub><b>Robot.</b></sub></a><br /><a href="https://github.com/kubb-labs/kubb/commits?author=TopGrd" title="Documentation">📖</a></td>
|
|
192
|
+
<td align="center" valign="top" width="14.28%"><a href="https://openstory.so"><img src="https://avatars.githubusercontent.com/u/34339192?v=4?s=100" width="100px;" alt="Tom Beckenham"/><br /><sub><b>Tom Beckenham</b></sub></a><br /><a href="https://github.com/kubb-labs/kubb/commits?author=tombeckenham" title="Code">💻</a></td>
|
|
192
193
|
</tr>
|
|
193
194
|
</tbody>
|
|
194
195
|
</table>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kubb",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.16.1",
|
|
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",
|
|
@@ -164,23 +164,23 @@
|
|
|
164
164
|
"registry": "https://registry.npmjs.org/"
|
|
165
165
|
},
|
|
166
166
|
"dependencies": {
|
|
167
|
-
"@kubb/adapter-oas": "5.
|
|
168
|
-
"@kubb/cli": "5.
|
|
169
|
-
"@kubb/core": "^5.
|
|
170
|
-
"@kubb/kit": "5.
|
|
171
|
-
"@kubb/mcp": "5.
|
|
172
|
-
"@kubb/parser-md": "5.
|
|
173
|
-
"@kubb/parser-ts": "5.
|
|
174
|
-
"@kubb/plugin-barrel": "5.
|
|
175
|
-
"@kubb/renderer-jsx": "5.
|
|
176
|
-
"@kubb/studio": "5.
|
|
177
|
-
"unplugin-kubb": "5.
|
|
167
|
+
"@kubb/adapter-oas": "5.16.1",
|
|
168
|
+
"@kubb/cli": "5.16.1",
|
|
169
|
+
"@kubb/core": "^5.16.1",
|
|
170
|
+
"@kubb/kit": "5.16.1",
|
|
171
|
+
"@kubb/mcp": "5.16.1",
|
|
172
|
+
"@kubb/parser-md": "5.16.1",
|
|
173
|
+
"@kubb/parser-ts": "5.16.1",
|
|
174
|
+
"@kubb/plugin-barrel": "5.16.1",
|
|
175
|
+
"@kubb/renderer-jsx": "5.16.1",
|
|
176
|
+
"@kubb/studio": "5.16.1",
|
|
177
|
+
"unplugin-kubb": "5.16.1"
|
|
178
178
|
},
|
|
179
179
|
"devDependencies": {
|
|
180
180
|
"@farmfe/core": "^1.7.11",
|
|
181
181
|
"@internals/utils": "0.0.1",
|
|
182
|
-
"@nuxt/kit": "^4.6.
|
|
183
|
-
"@nuxt/schema": "^4.6.
|
|
182
|
+
"@nuxt/kit": "^4.6.4",
|
|
183
|
+
"@nuxt/schema": "^4.6.4",
|
|
184
184
|
"esbuild": "^0.28.2",
|
|
185
185
|
"rolldown": "^1.2.16",
|
|
186
186
|
"rollup": "^4.67.4",
|