open-scd icon indicating copy to clipboard operation
open-scd copied to clipboard

Feat: Vite migration

Open rdsov opened this issue 9 months ago • 4 comments

Migrates the build system from snowpack to vite.

rdsov avatar Apr 02 '25 13:04 rdsov

When running OpenSCD and clicking "New project", the console in the browsers dev tools logs Uncaught TypeError: ae.target.items[ae.detail.index].nextElementSibling.run is not a function

Tamriel avatar Apr 13 '25 16:04 Tamriel

@Tamriel This PR is still a WIP. I can't really do much as of right now because of the way the plugins get built and deployed, hence why I am awaiting a fix first.

rdsov avatar Apr 13 '25 16:04 rdsov

Nice initaitive!

  1. What is the status? / Are you wainting for the Bearingpoint PR's to be accepted?
  2. Do you need help?

Sander3003 avatar Apr 16 '25 07:04 Sander3003

Nice initaitive!

  1. What is the status? / Are you wainting for the Bearingpoint PR's to be accepted?
  2. Do you need help?

Thank you! The status is that I am waiting the plugins to be moved over to https://github.com/openscd/oscd-official-plugins. Right now OpenSCD itself works with vite, but not the containing plugins. There are missing libraries for when they get built and deployed using GitHub Actions, which results in a console full or errors upon launch.

Screenshot 2025-04-22 at 3 44 44 PM

rdsov avatar Apr 22 '25 13:04 rdsov