Pressing Enter on the username field in login/register or the nickname field in the join-game prompt now submits the form, matching user expectations. Also add *.templ to the gitignore allowlist.
36 lines
579 B
Plaintext
36 lines
579 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
|
|
|
|
!assets/**/*
|
|
|
|
# Generated CSS stays out of version control
|
|
assets/css/output.css
|
|
|
|
# Deploy scripts and configs
|
|
!deploy/*.sh
|
|
!deploy/*.service
|
|
!docker-compose.yml
|
|
!Dockerfile
|
|
|
|
# ...even if they are in subdirectories
|
|
!*/
|