• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zwave-js / zwave-js-ui / 18497891207

14 Oct 2025 01:19PM UTC coverage: 20.492% (+0.2%) from 20.271%
18497891207

push

github

web-flow
chore: move to esm (#4403)

This pull request introduces several significant updates across the
codebase, primarily focused on modernizing the Node.js environment,
allow code sharing between backend and UI, improving TypeScript usage,
and enhancing import consistency. The most notable changes include
upgrading to Node.js 22, transitioning all imports to use explicit `.ts`
extensions and more precise type-only imports, and updating workflow and
configuration files to align with these changes.

**Node.js and Tooling Upgrades:**

* Upgraded Node.js version from 20 to 22 in both the GitHub Actions
workflow (`.github/workflows/test-application.yml`) and `.nvmrc`,
ensuring the project uses the latest LTS features and performance
improvements.
[[1]](diffhunk://#diff-<a class=hub.com/zwave-js/zwave-js-ui/commit/<a class="double-link" href="https://git"><a class=hub.com/zwave-js/zwave-js-ui/commit/9261914205164383e5e6930bef1909548ba0acc9">926191420<a href="https://github.com/zwave-js/zwave-js-ui/commit/deddc1b855f67417b40d48b36c5f2da675d2db37">cd1a241217e88b8dbb730894L21-R21)
[[2]](diffhunk://#diff-<a class="double-link" href="https://github.com/zwave-js/zwave-js-ui/commit/2c8effdf840690ccb88c7e21e56148978c6adb2c">2c8effdf8</a>6926530c58ff0e47a9588b44L1-R1)
* Updated the workflow to build the backend before starting it, and
adjusted process checks and log outputs to match the new start command.
[[1]](diffhunk://#diff-9261914205164383e5e6930bef1909548ba0acc9cd1a241217e88b8dbb730894L84-R85)
[[2]](diffhunk://#diff-9261914205164383e5e6930bef1909548ba0acc9cd1a241217e88b8dbb730894R95-R108)

**TypeScript and Import Improvements:**

* Converted all internal imports to use explicit `.ts` extensions and
transitioned to type-only imports where appropriate, improving type
safety and compatibility with ES module standards. This affects nearly
all files in the `api/` directory, including `app.ts`,
`config/store.ts`, `lib/Gateway.ts`, and others.
[[1]](diffhunk://#diff-<a class=hub.com/zwave-js/zwave-js-ui/commit/fe6a6140f19ab1b0dd1e7eac27de4a8366de9b7c">fe6a6140f0da27d292f99ba219e5a3e97L1-R31)
[[2]](diffhunk://#diff-fe6a6140f19ab1b0dd1e7eac27de4a8366de9b7c0da27d292f99ba219e5a3e97L35-R53)
[[3]](diffhunk://#diff-2abb3e2a5e97c5c148d9947d3ea9fef1fL3-R7)
[[4]](diffhunk://#diff-3e2f08e1ce37099590645... (continued)

333 of 441 branches covered (75.51%)

Branch coverage included in aggregate %.

112 of 386 new or added lines in 25 files covered. (29.02%)

1 existing line in 1 file now uncovered.

4033 of 20865 relevant lines covered (19.33%)

1.21 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/api/lib/SocketManager.ts


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc