OpenAPI-Qraft / openapi-qraft

Generate a type-safe TanStack Query React ✨ client from your OpenAPI document
https://openapi-qraft.github.io/openapi-qraft/
MIT License
31 stars 3 forks source link

chore(react-client): Use a single source `d.ts` file for all module formats #85

Closed radist2s closed 3 months ago

radist2s commented 3 months ago

This PR improves the maintainability of our TypeScript type definitions. Instead of having separate d.ts files for each module format (ESM, CJS), we now generate all definitions from a single source d.ts file. This ensures consistency across module formats and reduces the possibility of discrepancies between the definitions.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: d77f53b7e9af900b7af2fe34e42d0372bd6372d4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ------------------------------------------ | ----- | | @openapi-qraft/react | Patch | | @openapi-qraft/cli | Patch | | @openapi-qraft/plugin | Patch | | @openapi-qraft/tanstack-query-react-plugin | Patch | | @openapi-qraft/openapi-typescript-plugin | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR