# Avoid negated patterns. They prevent BuildKit from pruning ignored directories
# during wildcard COPY context discovery, causing severe build slowdowns.

node_modules

.nxcache
.nx

**/*.log

build
dist

coverage

.eslintcache

test-results

tsconfig.tsbuildinfo

Dockerfile
.dockerignore

.git
.vscode
.editorconfig
compose.yml

.agents
.claude
.codex
.cursor

# NOTE: core/built/admin and core/built/embed-renderer are intentionally NOT
# ignored — the production image's `full` stage COPYs them from the build
# context, where CI injects the admin build artifact. The `core` stage copies
# from the deploy stage (which never builds either), so stray local builds cannot
# leak into the core image.

# Ignore local config files (.json and .jsonc)
ghost/core/config.local.json*
