# Dependencies
node_modules/

# BusyTeX WASM binaries (build from submodule or download)
busytex.js
busytex.wasm

# Build artifacts
dist/
types/
*.log
*.txt

# Compressed WASM (deploy artifact)
busytex.wasm.br

# Host-specific deploy adapters live outside the hosting-agnostic engine.
# cloudflare/ is one such adapter (a wrangler project): it consumes the engine's
# emitted artifacts but must not become a dependency of the engine, so it is not
# tracked here. (Version it in its own repo.)
cloudflare/
wrangler.toml
.wrangler/

# GitHub Actions: test + npm-release workflows are tracked.
# deploy.yml deploys the Cloudflare Worker/Pages, which live in their own repo
# (the host adapter is not a dependency of the engine, like cloudflare/ above).
# Keep it untracked so it can't run here against the gitignored WASM/bundles.
.github/workflows/deploy.yml

# OS files
.DS_Store
Thumbs.db

# Editor/IDE
.vscode/
.idea/
*.swp
*.swo

# Claude Code
.claude/

# Bundles (download from CDN or releases)
packages/bundles/*.data.gz
packages/bundles/*.data.br
packages/bundles/*.raw
packages/bundles/*.meta.json
packages/bundles/registry.json

# Normalized-artifact cache (regeneratable: `bun scripts/prebuild-packages.js`,
# shipped to R2 / releases — same as the CTAN cache and bundle data above)
packages/bundles/prebuilt/

# One-off migration scripts
packages/update-bundles-tl2026.ts

# CTAN cache (regeneratable)
packages/cache/

# Local development
packages/ctan-packages/
packages/local-packages/

# Broken directories from command typos
-o/
-sL/
cat/
curl/
https:/

# Personal notes
docs/memory-optimization-ideas.md

# Test failure screenshots (regeneratable)
tests/browser/__screenshots__/

# Bundle-pipeline intermediates (consumed by consolidate-metadata.cjs to build bundles.json; regenerated by split-bundle/bundle-cm-super)
packages/bundles/bundle-deps.json
packages/bundles/package-map.json

# Prior runtime copies retained by prepare:runtime
.local-runtime-backups/
pdftex.js
pdftex.wasm
xetex.js
xetex.wasm

# Staged immutable releases
.local-release/
