Commit 651303a
committed
feat: Replace the gulp UI toolchain with Vite
Vite is what stackable-apps and stackable-cockpit build with, and the
gulp pipeline was frozen: gulp-eslint/gulp-stylelint are unmaintained
and pinned eslint 6 / stylelint 13. Upstream antora-ui-default still
ships the same frozen toolchain, so there is no upstream modernisation
to converge with.
- build.mjs produces the identical bundle layout: js entries are built
as self-contained classic scripts (one vite pass each), the css in a
separate pass, static directories are copied, everything is zipped to
build/ui-bundle.zip. Verified by building the full site with both
toolchains: every page is byte-identical.
- The vendor bundle sources become ESM and reference the browser build
of @asciidoctor/tabs explicitly (vite does not honor the style/browser
package fields the way browserify did).
- CSS custom properties are no longer inlined at build time; every
supported browser handles var(), and the upcoming design-token work
needs them preserved.
- The standalone gulp preview is gone; render UI changes with real
content via 'make build-truly-local' or the deploy preview.
- eslint 9 (flat config) and stylelint 16; the stylelint config accepts
the inherited upstream css conventions instead of reformatting
everything right before the planned upstream re-sync.
- Node 24 in .nvmrc/engines/CI, matching stackable-apps.1 parent 7832ee0 commit 651303a
34 files changed
Lines changed: 5576 additions & 18210 deletions
File tree
- .github/workflows
- ui
- gulp.d
- lib
- tasks
- preview-src
- src
- css
- js/vendor
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments