Files
youtube-studio-flow/.gitignore
T
devil ba409ca53b fix(backend): compiled output was nested under dist/src, not dist/
api container crashed on boot: Cannot find module '/app/dist/main.js'.
Root cause: tsconfig.json had no rootDir, and prisma/make-admin.ts (run
separately via ts-node, never part of the Nest build) was swept into
the nest build compilation since there was no exclude either - so tsc
inferred the output root as the project root and nested everything
under dist/src/ instead of the flat dist/main.js the Dockerfile,
package.json scripts, and compose's worker command all assume.

Also excludes tsconfig.tsbuildinfo from the Docker build context - a
stale local incremental-build cache file was leaking in via `COPY . .`
(only dist/node_modules were dockerignored) and made nest build skip
emitting .js files entirely on a from-scratch container build once the
rootDir fix invalidated its cached signature.
2026-08-11 16:10:44 +02:00

33 lines
629 B
Plaintext

# Dependencies
node_modules/
# Build output
backend/dist/
backend/tsconfig.tsbuildinfo
frontend/.next/
frontend/tsconfig.tsbuildinfo
# Logs
*.log
# Secrets — keep only the .env.example templates tracked
.env
.env.local
.env.*.local
!.env.example
# Claude Code local overrides (machine-specific, not shared)
.claude/settings.local.json
# Obsidian local UI state (churns constantly, no value to other devices)
documentation/**/.obsidian/workspace.json
documentation/**/.obsidian/workspace-mobile.json
# Excluded per project decision: legacy exports / DB backup snapshots
Files/
data_backup/
# OS cruft
Thumbs.db
.DS_Store