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: deprecate jest-runner-tsd #255

Closed
wants to merge 1 commit into from
Closed

chore: deprecate jest-runner-tsd #255

wants to merge 1 commit into from

Conversation

mrazauskas
Copy link
Contributor

I think it is time to deprecate jest-runner-tsd and encourage people to migrate.


TSTyche has different API and that might complicate the migration. But it is worth extra effort, because TSTyche can do more:

  • it has more matchers;
  • test() and describe() helpers;
  • can test on different versions of TypeScript;
  • easier to setup;
  • less to install (only one package, which is only 200kb),
  • and more.

tsd-lite is deprecated and I do not plan coming back to it. Reasons are mentioned above (;

An alternative could be to wait for necessary APIs exposed directly from tsd. They were planing to do so in tsdjs/tsd#196. That plan is nearly one year old. So far nothing related with code changes have been done. Also note that in the future they plan to publish tsd as ESM only package. That might cause another trouble with integration.

@mrazauskas
Copy link
Contributor Author

Another problem is @tsd/typescript. Sounds like something goes wrong with it. The install size of current typescript@5.5.2 is 20.8MB, but @tsd/typescript@5.5.2 is 34.7MB. That’s almost double!

@mrazauskas
Copy link
Contributor Author

It can stay as is. All versions of tsd-lite are deprecated for some time. So users see the message anyways.

@mrazauskas mrazauskas closed this Jul 16, 2024
@mrazauskas mrazauskas deleted the deprecate branch July 16, 2024 11:09
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