Remove 185 binary files (169 CMaps + 16 standard fonts) from git tracking. These are build artifacts copied from node_modules/@bookhoard/foliate-js at build time and should not be version-controlled. Changes: - Remove web/static/vendor/pdfjs/ from git (169 cmap files + 16 standard font files) - Add web/static/vendor/ to .gitignore - Drop CJK cmap copying from build scripts — the app is English-only and CJK support can be re-added later if needed (saves ~1.7MB in the container image) - Update all three build scripts (build:ts, build:ts:dev, build:ts:watch) to copy only standard_fonts/ from node_modules - Remove cMapUrl from reader.ts PDF config since we no longer ship cmaps - Keep standardFontDataUrl pointing to the build-copied fonts which are needed for PDFs with non-embedded standard fonts (Helvetica, Times, Courier, etc.)
82 lines
1.1 KiB
Plaintext
82 lines
1.1 KiB
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
|
|
web/static/*.mjs
|
|
web/static/assets/*.js
|
|
web/static/text_layer_builder*.css
|
|
web/static/annotation_layer_builder*.css
|
|
|
|
# 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/
|
|
|
|
# Vendored build artifacts (copied from node_modules at build time)
|
|
web/static/vendor/
|
|
|
|
# Database
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
VALID_TOKEN
|
|
fresh_token.txt
|
|
session-*.md
|