Commit Graph

9 Commits

Author SHA1 Message Date
Maxim Prokhorov
cadde6dac6 webui(build): shared build & test paths 2025-04-14 23:18:25 +03:00
Maxim Prokhorov
144cebf8b9 webui(build): unused esbuild defines 2025-04-14 04:08:48 +03:00
Maxim Prokhorov
9dc57878c1 webui(build): build params & vite dev support
- experimental vite dev server support
- gulp webui_build & webui_PRESET -> build
- gulp task params for build and dev server
- bundle sources using rollup in both gulp and vite
- PRESET lib to manage available modules and their constants
  replacing 'define' method of .js code treeshaking
2025-04-14 01:14:13 +03:00
Maxim Prokhorov
0e4ae21368 webui(lint): explicit file patterns
eslint v9 replaces empty pattern list with a ['.']

ignore known directories when running locally
explicit paths for eslint in the ci script
2025-03-19 23:56:03 +03:00
Maxim Prokhorov
79a088e18b webui: rebuild blobs 2024-07-25 22:01:58 +03:00
Maxim Prokhorov
e4d6d10f1a webui: integrate html-validate into the pipeline 2024-07-08 10:32:01 +03:00
Maxim Prokhorov
f58d086dd6 webui: gulp tasks as module exports
per https://gulpjs.com/docs/en/getting-started/creating-tasks/
gulp --tasks[-*] now actually works

update jsdoc comments and eslint rules
2024-06-24 22:42:00 +03:00
Maxim Prokhorov
289fea4f3d webui: separate sources per module
* migrate to esbuild from terser, since now js source needs bundling
* (temporary?) hijack inline-source object handling to inline html files
* get rid of legacy removeIf comments in source in favour of explicit
  removal either through bundling tree-shaking and / or manual module-*
  class element removal w/ jsdom
* get rid of multi-layered custom checkboxes in favour of
  `appearance: none` directly styling the `input` elem
  also removes scripting part that was supposed to adjust for=... labels
* update to html-minifier-terser, up-to-date html-minifier fork
* update to iro.js 5.5.x, using npm to manage dependencies
* build script can now update resulting html output
  (called after bundling stage, before minification)
2024-06-22 19:49:59 +03:00
Maxim Prokhorov
4a8a8e1913 webui: bump eslint to 9.3.0 2024-05-29 07:36:03 +03:00