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

Convert to ESM #1550

Merged
merged 11 commits into from
Dec 21, 2024
Merged

Convert to ESM #1550

merged 11 commits into from
Dec 21, 2024

Conversation

dgreif
Copy link
Owner

@dgreif dgreif commented Dec 21, 2024

It's finally time to convert this project to ESM! Homebridge has had support for ESM for quite a while, and some of our dependencies have updated to ESM as well.

  • Added file extensions to all relative imports
  • Switched to --experimental-transform-types instead of @swc-node/register for examples
  • Switched from Jest to Vitest
  • Other misc tweaks to get ESM working

@dgreif dgreif merged commit 5bd6bf7 into main Dec 21, 2024
6 checks passed
@dgreif dgreif deleted the esm branch December 21, 2024 20:44
@dgreif dgreif mentioned this pull request Dec 21, 2024
dgreif added a commit that referenced this pull request Jan 12, 2025
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