The release tarball previously omitted dashcaddy-api/src/, which meant the in-container self-updater had to apply post-deploy patches (dashcaddy-post- deploy-patches.sh) to work around missing files. That script generates 37 flat copies of src/ files at the dashcaddy-api/ root level to satisfy broken require() paths. With proper src/ shipping, those files become obsolete, but they were still being shown as untracked in git. Changes: - BUILD-PIPELINE-FIX.md documents the build pipeline fix (in /opt/dashcaddy-release/ build-release.sh — sibling repo, not tracked here) - .gitignore now ignores the 37 generated post-deploy artifacts plus the backups/ and updates/ runtime directories, so 'git status' stays clean - scripts/dashcaddy-post-deploy-patches.sh is now tracked so it's preserved across rebuilds (still useful as a safety net for transitional installs)
29 lines
767 B
Plaintext
29 lines
767 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
|
|
# Runtime state/config files (generated, not source)
|
|
# Note: data/ subdir contains runtime state (credentials, secrets, history) — never commit
|
|
dashcaddy-api/data/
|
|
dashcaddy-api/credentials.json
|
|
dashcaddy-api/.env
|
|
.env
|
|
dashcaddy-api/alert-config.json
|
|
|
|
# Build artifacts
|
|
*.log
|
|
*.tar.gz
|
|
|
|
# Local artifacts
|
|
CLAUDE.md
|
|
|
|
# Runtime state directories
|
|
backups/
|
|
updates/
|
|
|
|
# Generated post-deploy patch artifacts — flat copies of src/ files placed
|
|
# in dashcaddy-api/ root by scripts/dashcaddy-post-deploy-patches.sh to work
|
|
# around broken upstream tarballs. Real source lives in dashcaddy-api/src/.
|
|
# Once v1.15.0 ships src/ properly, these become obsolete.
|
|
dashcaddy-api/*.js
|
|
!dashcaddy-api/license-keygen.js
|
|
!dashcaddy-api/platform-paths.js |