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

build: use tsx as TS runtime to run the script #54

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

rainx
Copy link
Contributor

@rainx rainx commented Jan 9, 2024

replace ts-node with tsx to run the TS script.

Based on the doc here:

https://github.com/privatenumber/ts-runtime-comparison

the tsx has better performance and supports more features

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

ts-node xxx.ts

What is the new behavior?

tsx xxx.ts

Does this introduce a breaking change?

  • Yes
  • No

Other information

@rainx rainx added the enhancement New feature or request label Jan 9, 2024
@rainx rainx self-assigned this Jan 9, 2024
@rainx rainx merged commit be09d90 into main Jan 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

None yet

1 participant