mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-11 01:25:03 +00:00
chore: harden gitignore and add commit hygiene rules
This commit is contained in:
parent
fc7387f427
commit
9ca866fe43
2 changed files with 38 additions and 0 deletions
30
.gitignore
vendored
30
.gitignore
vendored
|
|
@ -1,4 +1,34 @@
|
|||
node_modules/
|
||||
dist/
|
||||
*.tgz
|
||||
|
||||
# OS
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Editor / IDE
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Planning artifacts (internal, not shipped)
|
||||
docs/superpowers/
|
||||
|
||||
# Config / secrets
|
||||
.env
|
||||
.env.*
|
||||
*.pem
|
||||
*.key
|
||||
|
||||
# Debug / logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
# Cache
|
||||
.cache/
|
||||
*.sqlite
|
||||
|
||||
# Build artifacts
|
||||
*.tsbuildinfo
|
||||
|
|
|
|||
|
|
@ -57,6 +57,14 @@ git push origin main
|
|||
gh pr comment <number> --body "Merged, thanks!"
|
||||
```
|
||||
|
||||
### What gets committed
|
||||
- Source code: `src/`, `tests/`
|
||||
- Config: `package.json`, `tsconfig.json`, `tsup.config.ts`, `.gitignore`
|
||||
- Docs: `README.md`, `CHANGELOG.md`, `LICENSE`, `CLAUDE.md`
|
||||
- Assets: `assets/`
|
||||
- NEVER commit: `.env`, secrets, keys, planning docs (`docs/superpowers/`), IDE config, logs, `.DS_Store`
|
||||
- Check `git status` before every commit. Stage specific files, never `git add -A` or `git add .`
|
||||
|
||||
### Commit rules
|
||||
- Commits from: AgentSeal <hello@agentseal.org>
|
||||
- NEVER add Co-Authored-By lines
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue