Follow up on https://github.com/Comfy-Org/litegraph.js/pull/915
Filter out non-serializable widgets during node configuration. Current
usage in frontend should not be affected as preview media widgets are
mostly dynamically added at the end of widget list.
Stylistic plugin falls short in a few areas when it comes to consistent
lists and chaining. Replaced some key rules with antfu's personal
variants.
`eslint` can now be run repo-wide without params.
* [Test] Revert custom name for test context
- Removes "lgTest", replaces with default "test"
* nit - Rename test extensions file
* Split test graphs out to separate file
* Change vite output to ES2022
* Add whitespace-only minify using default esbuild
Does not work for .es.js output - limitation of vite.
Workaround for .es.js involves adding terser & a plugin.
* Remove @ts-expect-error from tests
* Update vite.config.mts
---------
Co-authored-by: Chenlei Hu <huchenlei@proton.me>
* ContextMenu ES6 class conversion
* Fix compat with extensions
* CurveEditor ES6 class conversion
* Split most of the LiteGraph global out to a class
* Move remainder of LiteGraph global to class file
* Remove IIFE wrapper
* Fix jest tests throwing due to type narrowing