teqo-backup/.gitignore
Francisco Solla 493f4ba997 feat(OPS99): generate importMap at build time with dummy S3_* envs
Generate the Payload importMap at build time (Dockerfile) and dev time
(predev hook) with dummy S3_* envs, eliminating the class of bugs where
the admin goes blank because the S3ClientUploadHandler entry is missing
(OPS69/OPS72/OPS73).

Changes:
- Dockerfile: add pnpm generate:importmap with dummy S3_* envs before next build
- scripts/predev-importmap.mjs: predev hook that generates importMap if missing or stale
- Delete scripts/check-importmap-s3.mjs (guard no longer needed)
- Delete tests/unit/importMapS3UploadHandler.unit.spec.ts (unit pin no longer needed)
- Remove check-importmap-s3.mjs step from CI workflows
- Add importMap.js to .gitignore (build artifact, not committed)
- Update AGENTS.md with new contract

Closes #928
2026-08-27 16:05:36 -03:00

104 lines
1.9 KiB
Text

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz
/.pnpm-store
/.idea/*
!/.idea/runConfigurations
# testing
/coverage
/playwright-report/
/test-results/
/.playwright-cli/
/.playwright-mcp/
# Aider (local agent history + tag cache)
.aider*
# next.js
/.next/
/.next-e2e/
/.next-e2e-check/
/out/
# Payload importMap (OPS99: build artifact, not committed)
/src/app/(payload)/admin/importMap.js
# OPS99: removed guard script (importMap now generated at build time)
/scripts/check-importmap-s3.mjs
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env*.local
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts
.env
/media
# TSE open-data zip cache (pnpm db:seed:tse)
/data/tse/
# Research source deposits (paywalled books/papers obtained legally) — keep only README/NOTES
/docs/research/sources/**
!/docs/research/sources/**/
!/docs/research/sources/README.md
!/docs/research/sources/**/NOTES.md
# IBGE geometry download cache (pnpm build:geometries)
/data/geometries/
# IBGE demographics download cache (pnpm build:demographics)
/data/demographics/
# AI fill masters (pnpm images:fill — regenerable drafts, never commit)
/data/ai-fill/
# Local-only sensitive material (agents may read; never commit content)
/private/**
!/private/README.md
# Former tracked sensitive locations — never re-add
/docs/general-coordinator-interview/
/docs/sheets/
/output/
# Audio / media field captures
*.m4a
*.mp3
*.webm
# opencode secrets (Penpot MCP token, etc.)
.opencode/secrets/
# Design review screenshots (regenerable via Playwright, never commit)
/*.png
# Proprietary design font files kept only in the local workspace
/public/arial-mt/
/data/encode/
/data/poster-candidates/
# Changelog aggregate is a regenerable artifact (OPS85) — entries live in docs/changelog/
/docs/CHANGELOG-AGENTS.md