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.
42 lines
703 B
Plaintext
42 lines
703 B
Plaintext
# Allowlisting gitignore: ignore everything, then un-ignore what we track.
|
|
# source: https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
|
|
|
# Ignore everything
|
|
*
|
|
|
|
# But not these files...
|
|
!.gitignore
|
|
|
|
!*.go
|
|
!*.templ
|
|
!*.sql
|
|
!go.sum
|
|
!go.mod
|
|
!Taskfile.yml
|
|
!sqlc.yaml
|
|
!.golangci.yml
|
|
!.gitea/workflows/*.yml
|
|
|
|
!.env.example
|
|
!LICENSE
|
|
!AGENTS.md
|
|
|
|
!assets/**/*
|
|
|
|
# Generated files stay out of version control
|
|
*_templ.go
|
|
assets/css/output.css
|
|
|
|
# Downloaded client-side libs (fetched by cmd/downloader)
|
|
assets/js/datastar/*
|
|
assets/css/daisyui/*
|
|
|
|
# Deploy scripts and configs
|
|
!deploy/*.sh
|
|
!deploy/*.service
|
|
!docker-compose.yml
|
|
!Dockerfile
|
|
|
|
# ...even if they are in subdirectories
|
|
!*/
|