Migrate to vite for webui
This PR is intended to migrate the existing frontend build system to use vite.
Changes:
- use modern jsx transform avoiding the need to import React
- use vite for building and running a dev server
- update tsconfig
- update docker build and compose configs
To run a dev server you can just enter yarn watch:default
Running yarn run build will build the library in /lib which is needed for publishing to npm and building open-vsx.org.
The default server can be built using yarn build:default and then executed with yarn start:default.
I did not touch the existing tsconfig as much as possible, but it could be further improved.
Vite does not use tsc for building but rather uses esbuild, so the tsconfig for building the app has an explicit noEmit: true to get warning but not emit js files as this would be useless.
any objection to merge that PR?
That would make frontend development less painful.