Switch to datastar-pro and stop tracking downloaded libs #16

Merged
ryan merged 1 commits from feat/datastar-pro into main 2026-03-12 00:16:54 +00:00
Owner

Summary

  • Upgrade to datastar-pro v1.0.0-RC.8 — fetched from a new private Gitea repo (ryan/vendor-libs) with VENDOR_TOKEN auth in CI/Docker, falling back to a local copy from ../optional/ for development
  • Pin daisyUI to v5.5.19 instead of tracking latest, with version-check warnings when newer releases are available
  • Stop git-tracking all downloaded/generated filesdatastar.js, datastar.js.map, daisyui.mjs, daisyui-theme.mjs are removed from the repo; now downloaded at build time and gitignored
  • task download is now a dependency of build and live with status checks to skip re-downloading when files already exist
  • Docker build uses --mount=type=secret to pass VENDOR_TOKEN for authenticated fetches during image build
  • CI deploy step passes VENDOR_TOKEN secret to docker compose

Setup required

A VENDOR_TOKEN secret has already been created on this repo via the Gitea API.

## Summary - **Upgrade to datastar-pro v1.0.0-RC.8** — fetched from a new private Gitea repo (`ryan/vendor-libs`) with `VENDOR_TOKEN` auth in CI/Docker, falling back to a local copy from `../optional/` for development - **Pin daisyUI to v5.5.19** instead of tracking latest, with version-check warnings when newer releases are available - **Stop git-tracking all downloaded/generated files** — `datastar.js`, `datastar.js.map`, `daisyui.mjs`, `daisyui-theme.mjs` are removed from the repo; now downloaded at build time and gitignored - **`task download` is now a dependency of `build` and `live`** with status checks to skip re-downloading when files already exist - **Docker build uses `--mount=type=secret`** to pass `VENDOR_TOKEN` for authenticated fetches during image build - **CI deploy step** passes `VENDOR_TOKEN` secret to `docker compose` ## Setup required A `VENDOR_TOKEN` secret has already been created on this repo via the Gitea API.
ryan added 1 commit 2026-03-11 21:34:29 +00:00
Switch to datastar-pro and stop tracking downloaded libs
All checks were successful
CI / Deploy / test (pull_request) Successful in 20s
CI / Deploy / lint (pull_request) Successful in 34s
CI / Deploy / deploy (pull_request) Has been skipped
f4d5a52cf9
Datastar-pro is fetched from a private Gitea repo (ryan/vendor-libs)
using VENDOR_TOKEN for CI/Docker builds, with a local fallback from
../optional/ for development. DaisyUI is pinned to v5.5.19 instead of
tracking latest. Downloaded files are now gitignored and fetched at
build time via 'task download', which is a dependency of both build
and live tasks.
ryan force-pushed feat/datastar-pro from f4d5a52cf9 to 551190b801 2026-03-11 23:17:58 +00:00 Compare
ryan merged commit 8983628846 into main 2026-03-12 00:16:54 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ryan/games#16