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: replace ts-node with tsimp #208

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

bjornstar
Copy link
Contributor

A while back I updated the test environment to use node v20 and you said you'd prefer to use environmentVariables for AVA configuration but it didn't work. I said that we could clean up the ugly config once it's fixed upstream, but it doesn't look like ts-node has made any progress in that regard.

AVA itself is now recommending tsimp so I replaced ts-node with that and was able to clean up our config a little bit.

One benefit of using tsimp is that it typechecks our test file as well without it needing to be referenced in our tsconfig.json, there were a few minor issues in there that it brought up, so I addressed those.

@sindresorhus sindresorhus merged commit 92699e1 into sindresorhus:main Jun 25, 2024
1 check passed
@bjornstar bjornstar deleted the chore/switch-to-tsimp branch July 10, 2024 02:21
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.

2 participants