Skip to content

Commit 835c230

Browse files
committed
chore: more cleanup
1 parent d1edbb0 commit 835c230

7 files changed

Lines changed: 12 additions & 114 deletions

File tree

‎.changeset/big-seas-cut.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hey-api/shared": patch
3+
---
4+
5+
**config**: handle array values in `$dependencies`

‎packages/openapi-ts-tests/main/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"eslint": "9.39.4",
3131
"fastify": "5.7.4",
3232
"ky": "1.14.3",
33-
"msw": "2.10.2",
33+
"msw": "2.13.2",
3434
"node-fetch": "3.3.2",
3535
"nuxt": "3.14.1592",
3636
"ofetch": "1.5.1",

‎packages/openapi-ts/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ These plugins help reduce boilerplate associated with third-party dependencies.
400400
- [`@tanstack/svelte-query`](https://heyapi.dev/docs/openapi/typescript/plugins/tanstack-query)
401401
- [`@tanstack/vue-query`](https://heyapi.dev/docs/openapi/typescript/plugins/tanstack-query)
402402
- [`fastify`](https://heyapi.dev/docs/openapi/typescript/plugins/fastify)
403-
- [`msw`](https://heyapi.dev/docs/openapi/typescript/plugins/msw)
404403
- [`orpc`](https://heyapi.dev/docs/openapi/typescript/plugins/orpc)
405404
- [`nestjs`](https://heyapi.dev/docs/openapi/typescript/plugins/nest)
406405
- [`valibot`](https://heyapi.dev/docs/openapi/typescript/plugins/valibot)
@@ -421,6 +420,7 @@ The following plugins are roadmap proposals and are not started yet. You can hel
421420
- [Hono](https://heyapi.dev/docs/openapi/typescript/plugins/hono)
422421
- [Joi](https://heyapi.dev/docs/openapi/typescript/plugins/joi)
423422
- [Koa](https://heyapi.dev/docs/openapi/typescript/plugins/koa)
423+
- [MSW](https://heyapi.dev/docs/openapi/typescript/plugins/msw)
424424
- [Nock](https://heyapi.dev/docs/openapi/typescript/plugins/nock)
425425
- [Superstruct](https://heyapi.dev/docs/openapi/typescript/plugins/superstruct)
426426
- [Supertest](https://heyapi.dev/docs/openapi/typescript/plugins/supertest)

packages/openapi-ts/src/plugins/msw/shared/computeDominantResponse.ts renamed to packages/openapi-ts/src/plugins/msw/shared/compute-dominant-response.ts

File renamed without changes.

‎packages/openapi-ts/src/plugins/msw/shared/handler.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { applyNaming } from '@hey-api/shared';
44

55
import { $ } from '../../../ts-dsl';
66
import type { MswPlugin } from '../types';
7-
import { computeDominantResponse, type DominantResponse } from './computeDominantResponse';
7+
import { computeDominantResponse, type DominantResponse } from './compute-dominant-response';
88
import { getOperationComment } from './operation';
99
import { sanitizeParamName, sanitizePath } from './path';
1010
import { createHttpResponse } from './response';

‎packages/openapi-ts/src/plugins/msw/shared/response.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Symbol } from '@hey-api/codegen-core';
22

33
import { $ } from '../../../ts-dsl';
44
import type { MswPlugin } from '../types';
5-
import type { DominantResponse } from './computeDominantResponse';
5+
import type { DominantResponse } from './compute-dominant-response';
66

77
export function createHttpResponse({
88
plugin,

‎pnpm-lock.yaml‎

Lines changed: 3 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)