thamara / time-to-leave

Log work hours and get notified when it's time to leave the office and start to live.
http://timetoleave.app
GNU General Public License v3.0
455 stars 267 forks source link

Update to electron 28 as soon as it releases - stop using esm #1037

Open araujoarthur0 opened 11 months ago

araujoarthur0 commented 11 months ago

Electron 28 will bring the promised support to ES modules: https://github.com/electron/electron/issues/21457

Important

Support for ES Modules in Electron will land in Electron 28 and will be available in the electron-nightly released on August 31st 🥳

After that, maybe we'll be able to stop using the esm module to mix require and import statements?

araujoarthur0 commented 9 months ago

Here it is: https://releases.electronjs.org/release/v28.0.0

araujoarthur0 commented 8 months ago

We have to migrate tests to mocha since jest-electron is no longer mantained and jest doesn't play nice with es6 modules.