Add *.map pattern to .gitignore to exclude JavaScript sourcemap files from version control. These files are generated during the build process and are not needed in the repository, matching the existing pattern for TypeScript declaration maps (*.d.ts.map). This prevents accidentally committing generated sourcemap files like collections.js.map that provide debugging information but are not necessary for deployment or source control.
75 lines
891 B
Plaintext
75 lines
891 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
|
|
*.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/
|
|
.zed/
|
|
.vscode/
|
|
.opencode/
|
|
*.iml
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Uploads
|
|
uploads/
|
|
|
|
# Database
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
VALID_TOKEN
|
|
fresh_token.txt
|
|
session-*.md
|