Skip to content

refactor: migrate weather to ESM - #4349

Merged
rejas merged 2 commits into
MagicMirrorOrg:developfrom
KristjanESPERANTO:esm
Nov 26, 2026
Merged

rejas merged 2 commits into
MagicMirrorOrg:developfrom
KristjanESPERANTO:esm

Conversation

@KristjanESPERANTO

@KristjanESPERANTO KristjanESPERANTO commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Another step in the ESM migration, following #4340 🙂

I've converted the Weather module to ESM: the node helper, the provider base class and all providers.

Since this was the last default module with a CommonJS helper, I also converted defaultmodules/utils.js.

Comment thread defaultmodules/weather/providers/fmi.js Resolved

@rejas rejas left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

just some linting/import questions :-)

@rejas
rejas merged commit b1a9822 into MagicMirrorOrg:develop Nov 26, 2026
13 checks passed
khassel pushed a commit that referenced this pull request Nov 28, 2026
Another step in the ESM migration, following #4349.

I've migrated `js/defaults.js` and `js/utils.js` to ESM and updated
their core consumers and tests.
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.

2 participants