singularity-forge/.gitignore
TÂCHES 6450c5b8d9 fix: include export-html templates in pkg/ shim (#370) (#395)
* fix: include export-html templates in pkg/ shim for --export support (#370)

The --export command fails with ENOENT because getExportTemplateDir()
resolves to pkg/dist/core/export-html/ which doesn't exist. The build
script copies themes into pkg/dist/ but had no equivalent step for
export-html templates.

- Add copy-export-html build script mirroring copy-themes pattern
- Chain copy-export-html into the build script
- Fix .gitignore: re-negate pkg/dist/ after the catch-all dist/ rule
- Add vendor/ exception for pkg/dist/core/export-html/vendor/
- Commit template.html, template.css, template.js, and vendor/ files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* chore: tighten .gitignore negation to specific pkg/dist subdirs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 13:36:32 -06:00

64 lines
943 B
Text

# ── GSD (user project artifacts — never commit) ──
.gsd/
.claude/
*.tgz
.DS_Store
Thumbs.db
*.swp
*.swo
*~
.idea/
.vscode/
*.code-workspace
.env
.env.*
!.env.example
node_modules/
.next/
/dist/
!/pkg/dist/modes/
!/pkg/dist/core/export-html/
build/
__pycache__/
*.pyc
.venv/
venv/
target/
vendor/
!packages/pi-coding-agent/src/core/export-html/vendor/
!pkg/dist/core/export-html/vendor/
*.log
coverage/
.cache/
tmp/
# ── Workspace packages ──
packages/*/dist/
packages/*/node_modules/
# ── GSD baseline (auto-generated) ──
dist/
!/pkg/dist/modes/
!/pkg/dist/core/export-html/
.bg_shell
.gsd*.tgz
.artifacts/
AGENTS.md
.bg-shell/
TODOS.md
.planning/
# ── GSD baseline (auto-generated) ──
.gsd/
# ── GSD baseline (auto-generated) ──
.gsd/activity/
.gsd/runtime/
.gsd/worktrees/
.gsd/auto.lock
.gsd/metrics.json
.gsd/STATE.md
# ── GSD baseline (auto-generated) ──
.gsd/completed-units.json