Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore/refactor: rewrite codegen in typescript #30

Merged
merged 1 commit into from
Sep 10, 2023
Merged

Conversation

SukkaW
Copy link
Owner

@SukkaW SukkaW commented Sep 7, 2023

The PR is part of #21 and addresses #23 (comment)

cc @antfu

Rewrite codegen in TypeScript

The create.cjs was originally an experiment to see how far JSDoc comment + TypeScript LSP can go. The experiment is no longer necessary and the PR rewrites the codegen script in TypeScript.

The PR chooses @swc-node/register as the script loader. Although esbuild-kit/tsx is an awesome project, the nolyfill already uses swc here and there.

Re-orgnize codegen script

WIP Will be in a separate PR.

antfu
antfu previously approved these changes Sep 7, 2023
@SukkaW SukkaW changed the title chore/refactor: re-orgnize codegen chore/refactor: rewrite codegen in typescript Sep 10, 2023
@SukkaW
Copy link
Owner Author

SukkaW commented Sep 10, 2023

Rebased to the latest master (fix the lockfile conflict).

@SukkaW SukkaW merged commit b9a7bcf into master Sep 10, 2023
1 check passed
@SukkaW SukkaW deleted the use-ts-codegen branch July 10, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants