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: Rollup & Vitest #1083

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

duncanbeevers
Copy link

🗣️ Discussion

This PR is intended to get prettier-eslint running on a little more modern testing infrastructure, and to emit CJS and ESM bundles.
Specifically, I'd like to add support for handling newer TypeScript versions and flat configs (re; #947, #1015, #1036,)

🔧 Changes

  • Use Rollup instead of Babel to generate CJS and ESM bundles
  • Convert implementation to ESM
  • Use Vitest instead of Jest for tests
  • Use memfs instead of mocking specific node:fs functions
  • Update nps calls to use CJS config

Copy link

changeset-bot bot commented Dec 7, 2024

🦋 Changeset detected

Latest commit: c818e96

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
prettier-eslint Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

* Use Rollup instead of Babel to generate CJS and ESM bundles
* Convert implementation to ESM
* Use Vitest instead of Jest for tests
* Use memfs instead of mocking specific node:fs functions
* Update nps calls to use CJS config
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