# Trims langwatch/ for the @langwatch/server tarball. See root .npmignore
# for the rest.
#
# IMPORTANT: when an .npmignore exists at this level, npm/pnpm IGNORE the
# sibling .gitignore — so the broad excludes here must be re-stated
# explicitly. The .gitignore would otherwise drop:
#   - /dist               (we ship the prebuilt vite client + scenario bundle)
#   - *.generated.ts      (start:prepare:files outputs, imported at runtime)
#   - src/server/sdk-radar/sdk-versions.json (same)
# All three are required for `pnpm run start:app` to boot.

# Heavy non-runtime trees.
node_modules/
.pnpm-store/
.pnp/
.pnp.js
.next/
.turbo/
.vercel/

# Internal dev tooling — used only during langwatch development, never at
# runtime by `npx @langwatch/server`. Keeping these out matters; deja-view
# alone is ~1MB.
packages/

# Test artifacts.
coverage/
test-results/
playwright-report/
blob-report/
playwright/.cache/
e2e/auth.json
*.tsbuildinfo

# Source maps from build (large, not needed at runtime).
**/*.map

# langwatch/ee/ is intentionally INCLUDED in the tarball. The langwatch
# app's source has unconditional relative-path imports into ee/ (e.g.
# src/server/event-sourcing/projections/global/billingMeterDispatch.reactor.ts
# imports ../../../../../ee/billing/services/billableEventsQuery), so
# without ee/ the npx flow crashes at boot. Licensing model is
# Apache-2.0 + ee/ enterprise modules shipped together (Langfuse-style).
# Total size is ~1MB.
#
# langwatch/saas-src/ was previously listed as a no-op exclusion — the
# directory never existed in OSS. Removed.

# Local secrets / env.
.env
.env*.local
.sentryclirc

# Editor + OS detritus.
.DS_Store
.vscode/
.idea/
*.pem

# Debug logs.
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
server.log
screenshot-*.png

# GDPR reports.
reports/

# Local-only config.
.eslintrc.local.cjs
licenses.json

# Local sqlite db.
prisma/db.sqlite
prisma/db.sqlite-journal

# Quickwit dev binary.
quickwit
quickwit-*
!elastic/quickwit
