Skip to content

exp: Using TypeScript 7 (tsgo) generator - #3549

Draft
RobinTail wants to merge 3 commits into
try-ts7from
use-ts7-generator
Draft

exp: Using TypeScript 7 (tsgo) generator#3549
RobinTail wants to merge 3 commits into
try-ts7from
use-ts7-generator

Conversation

@RobinTail

Copy link
Copy Markdown
Owner

ℹ️ This is an experiment with unstable API.
⚠️ Do not try it at home!
⛑️ professional slackers at work!

@RobinTail RobinTail added the miracle Mysterious events are happening here label Jul 22, 2026
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 86e52c83-f80a-4acb-9bd5-1e826898cdff

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch use-ts7-generator

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@RobinTail RobinTail added this to the v29 milestone Jul 22, 2026
RobinTail added a commit that referenced this pull request Jul 23, 2026
This should:
- improve maintainability;
- make it easier to migrate to #3549 , including async printer of `tsgo`
and reducing of using `addJsDoc()`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Improvements**
  * Improved the generation of TypeScript client and integration code.
* Streamlined generated request, pagination, subscription, and endpoint
definitions.
* Reduced unnecessary generated output while preserving existing public
declarations.
* **Maintenance**
* Simplified internal code-generation utilities for more efficient
processing.
  * Updated example type formatting without changing its behavior.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Comment thread example/example.client.ts
Comment thread express-zod-api/tests/__snapshots__/zts.spec.ts.snap Outdated
Comment thread express-zod-api/tsdown.config.ts Outdated
Comment thread express-zod-api/src/typescript-api.ts Outdated
Comment on lines +1 to +3
/* eslint-disable allowed/dependencies -- experiment ⚠️*/
import * as R from "ramda";
import ts from "typescript"; // eslint-disable-line allowed/dependencies -- opt-in export
import * as f from "tsgo/unstable/ast/factory";

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix when unstable is gone, presumably version 7.1

@coveralls-official

coveralls-official Bot commented Aug 2, 2026

Copy link
Copy Markdown

Coverage Status

Coverage is 100.0%use-ts7-generator into try-ts7. No base build found for try-ts7.

@RobinTail RobinTail changed the title exp(29): Using TypeScript 7 (tsgo) generator exp: Using TypeScript 7 (tsgo) generator Aug 5, 2026
@RobinTail RobinTail removed this from the v29 milestone Aug 5, 2026
@RobinTail
RobinTail force-pushed the use-ts7-generator branch 2 times, most recently from abd1973 to 5b9cccd Compare August 8, 2026 17:18
dts: {
neverBundle: ["express-serve-static-core", "qs"],
},
neverBundle: [/@typescript\/native/], // @todo: remove when listed in peer dependencies or imported as typescript

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

miracle Mysterious events are happening here

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant