Upgrade build toolchain: Tailwind v4, htmx 2.0.9, Chart.js 4.5.1, Go 1.26

Tailwind v3.4.17 → v4.3.0: drop tailwind.config.js, move @source globs into
static/css/input.css (CSS-first config), rename bare `rounded` → `rounded-sm`
in templates for the renamed v4 radius scale.

Go 1.25 → 1.26.3 (toolchain directive), modernc.org/sqlite v1.50.0 → v1.50.1,
plus indirect bumps via go get -u.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
prosolis
2026-05-17 09:21:36 -07:00
parent ea3577a45e
commit cf438f1a2d
13 changed files with 59 additions and 72 deletions

View File

@@ -7,9 +7,9 @@
#
# Go module dependencies live in go.mod and are bumped via `make update-deps`.
TAILWIND_VERSION := v3.4.17
HTMX_VERSION := 2.0.4
CHARTJS_VERSION := 4.4.6
TAILWIND_VERSION := v4.3.0
HTMX_VERSION := 2.0.9
CHARTJS_VERSION := 4.5.1
TEMPL_VERSION := v0.3.1020
TAILWIND_BIN := bin/tailwindcss
@@ -33,8 +33,10 @@ $(TAILWIND_BIN):
# Compile Tailwind utilities (scanned from the .templ sources) into
# static/css/tailwind.css. The hand-written component layer is app.css.
# Tailwind v4 uses CSS-first config — content sources and theme live in
# static/css/input.css via @source and @theme directives.
css: $(TAILWIND_BIN)
$(TAILWIND_BIN) -c tailwind.config.js -i static/css/input.css -o static/css/tailwind.css --minify
$(TAILWIND_BIN) -i static/css/input.css -o static/css/tailwind.css --minify
# Regenerate templ Go from the .templ sources.
generate: