Skip to content

use ESM instead of CJS - #506

Merged
wjhsf merged 9 commits into
masterfrom
wjh/esm-v6
Apr 11, 2025
Merged

wjhsf merged 9 commits into
masterfrom
wjh/esm-v6

Conversation

@wjhsf

@wjhsf wjhsf commented Mar 7, 2025

Copy link
Copy Markdown
Contributor

This PR changes our distributed code from CJS to ESM! To do so, we had to remove the vows tests and add .js file extensions to all of our imports. Other than that, just a few minor adjustments to eslint.config.mjs, jest.config.js, and package.json.

(A new PR instead of the older #435 so that I don't have to deal with merge conflicts.)

@wjhsf wjhsf mentioned this pull request Mar 7, 2025
Comment thread package.json Resolved
colincasey
colincasey previously approved these changes Mar 7, 2025

@colincasey colincasey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So nice to see the legacy test suite go away 😄

Co-authored-by: Colin Casey <casey.colin@gmail.com>
colincasey
colincasey previously approved these changes Mar 7, 2025
@colincasey colincasey added this to the v6 milestone Apr 4, 2025
version bump caused tests to break
awaterma
awaterma previously approved these changes Apr 11, 2025

@awaterma awaterma left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM to me as well.

missed during merge
@wjhsf
wjhsf merged commit c4cc80e into master Apr 11, 2025
@wjhsf
wjhsf deleted the wjh/esm-v6 branch April 11, 2025 18: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.

3 participants