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

Transformer for Jest #665

Open
segevfiner opened this issue Jun 29, 2022 · 2 comments
Open

Transformer for Jest #665

segevfiner opened this issue Jun 29, 2022 · 2 comments

Comments

@segevfiner
Copy link
Contributor

segevfiner commented Jun 29, 2022

It would be nice to have a Jest transformer that uses tsup so that we don't have to create an additional separate build configuration for Jest using babel or ts-jest.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@steveluscher
Copy link
Contributor

Yes! I would love this to keep the build consistent between my releases and my tests.

JoshuaKGoldberg added a commit to dmnd/dedent that referenced this issue Nov 12, 2023
Fixes #54.

Adds all the tooling from that template, except:
* Jest is still used for tests instead of Vitest to make that transition
easier
* Babel is used for building to go along with ☝️
(egoist/tsup#665)
* The output directory stays as `dist/`, not the template's default
`lib/`
* https://github.com/JoshuaKGoldberg/sentences-per-line: as it conflicts
with eslint-doc-generator

Adds an explicit _"works with spaces"_ test alongside the existing
_"works with tabs"_ now that the repo is switched to tabs.
@MaxiSanchez600
Copy link

Any news on this?

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

No branches or pull requests

3 participants