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

adopt tsx #1961

Merged
merged 4 commits into from
Dec 27, 2023
Merged

adopt tsx #1961

merged 4 commits into from
Dec 27, 2023

Conversation

mbostock
Copy link
Member

@mbostock mbostock commented Dec 23, 2023

Adopts tsx for running TypeScript tests with Mocha. Generally works as-is, but it doesn’t resolve TypeScript files imported from JavaScript privatenumber/tsx#135 so I had to change the one instance of this to use the .ts extension explicitly. This also required upgrading Node in CI, but note that the Node 18+ requirement only applies to running Plot’s tests; the library itself should still be compatible with earlier versions of Node.

@mbostock mbostock requested a review from Fil December 23, 2023 19:09
@mbostock mbostock changed the base branch from main to mbostock/upgrade-vitepress December 27, 2023 19:06
@mbostock mbostock merged commit d396713 into mbostock/upgrade-vitepress Dec 27, 2023
1 check passed
@mbostock mbostock deleted the mbostock/tsx branch December 27, 2023 19:06
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