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

feat(tools): add tsx and use it to run scripts #101

Closed
wants to merge 1 commit into from

Conversation

huyenltnguyen
Copy link
Member

Checklist:

In #97, I added ts-node as it is needed in order to run Jest in TypeScript, and I removed tsx as naive me thought ts-node alone should suffice. Turned out ts-node doesn't work well with ESM, so it's best to use tsx to run scripts.

This PR adds tsx back, and we now:

  • Use ts-node only for Jest
  • Use tsx to execute scripts

@huyenltnguyen
Copy link
Member Author

Closing in favor of #29.

@huyenltnguyen huyenltnguyen deleted the feat/add-tsx branch May 2, 2024 07:18
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.

1 participant