-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
base: master
Are you sure you want to change the base?
chore: Rollup & Vitest #1083
Conversation
🦋 Changeset detectedLatest commit: e3f4501 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
2f68f10
to
c818e96
Compare
@duncanbeevers can we join forces on this #1036, so we can support eslint@9? and @JounQin , could you reopen the PR or will it do it automagically when we push new changes? |
Great job, and I've reopened #1036 |
c818e96
to
aa02ef9
Compare
package.json
Outdated
@@ -52,20 +54,29 @@ | |||
"@babel/preset-env": "^7.22.9", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These dependencies can be dropped.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you certain? The options we pass to prettier include { parser: 'babel' }
.
If prettier ships with its own babel parser stuff I guess that's fine.
I pushed the PR with the babel dependencies removed, and the tests are passing, so hopefully everything is peachy.
* 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
aa02ef9
to
e3f4501
Compare
🗣️ 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