Change 'server' to '/server' to make pattern more explicit. This prevents editors from confusing the ignored server binary with the tracked cmd/server/ source code directory. Pattern now only matches: - /server (binary at root, ignored) - NOT cmd/server/ (source directory, tracked)
72 lines
868 B
Plaintext
72 lines
868 B
Plaintext
# Build artifacts
|
|
bookhoard
|
|
bookhoard.*
|
|
/server
|
|
|
|
# Node.js
|
|
node_modules/
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
package-lock.json
|
|
.pnpm-debug.log*
|
|
|
|
# TypeScript
|
|
*.tsbuildinfo
|
|
*.d.ts.map
|
|
|
|
# Compiled JavaScript (keep .ts source, ignore .js)
|
|
# Exception: Downloaded documentation dependencies
|
|
web/static/compiled-*.js
|
|
web/static/*.js
|
|
|
|
# Downloaded documentation dependencies (tracked in git)
|
|
!web/static/htmx.min.js
|
|
!web/static/highlight.min.js
|
|
!web/static/highlight-dark.min.css
|
|
!web/static/lunr.min.js
|
|
!web/static/lunr-flex.min.js
|
|
|
|
# Temporary files
|
|
tmp/
|
|
temp/
|
|
*.tmp
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Testing coverage
|
|
*.out
|
|
*.cover
|
|
coverage.html
|
|
*.test
|
|
|
|
# Logs
|
|
*.log
|
|
*.log.*
|
|
|
|
# Environment
|
|
.env
|
|
!.env.example
|
|
.env.test
|
|
.env.local
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.iml
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Uploads
|
|
uploads/
|
|
|
|
# Database
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
VALID_TOKEN
|
|
fresh_token.txt
|
|
session-*.md
|