Files
bookhoard/.gitignore
T
john-okeefe ee2a74ef2a chore: update .gitignore for Node.js and TypeScript
- Add node_modules/ and npm debug logs
- Add TypeScript build artifacts (*.tsbuildinfo)
- Ignore compiled JS files in web/static/
- Keep htmx.min.js (third-party library)
- Add IDE ignores (.idea, .vscode)
- Add OS ignores (DS_Store, Thumbs.db)
- Add database and uploads directories
- Ignore package-lock.json (use npm shrinkwrap for production if needed)

Standard ignore patterns for modern web development with Go backend.
2026-01-29 14:08:31 -05:00

59 lines
576 B
Plaintext

# Build artifacts
bookmann/
bookmann.*
!bookmann/
# 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)
web/static/*.js
!web/static/htmx.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