Skip to content

chore: ignore marketing build output and the whole scripts/ working area - #87

Merged
bladehell-ai merged 1 commit into
developfrom
chore/ignore-marketing-build-output-and-scripts
Aug 21, 2026
Merged

chore: ignore marketing build output and the whole scripts/ working area#87
bladehell-ai merged 1 commit into
developfrom
chore/ignore-marketing-build-output-and-scripts

Conversation

@bladehell-ai

Copy link
Copy Markdown
Collaborator

What

Two .gitignore changes, on top of #84.

marketing/ gets the build-output block every other app already has:

marketing/node_modules
marketing/.next
marketing/out
marketing/.vercel
marketing/tsconfig.tsbuildinfo

marketing/tsconfig.tsbuildinfo — a 98KB incremental TypeScript artifact — had been sitting untracked in the working tree. .vercel is in there because the marketing site deploys from it and the directory holds project linkage, not source.

scripts/ is broadened from the prod-* prefix that #84 added to the whole directory:

-scripts/prod-*.sh
-scripts/prod-*.sql
+scripts/*

Why the broader rule

The prod-* prefix only caught files someone remembered to name correctly. A directory-wide rule inverts the default: a new script is out unless it is added deliberately with git add -f scripts/<name>. For a folder whose contents are one-off work against live production data, that is the right way round.

What does not change

Already-tracked scripts are unaffected — an ignore rule never untracks a file. Verified with git check-ignore:

Path Result
scripts/deploy.sh tracked, unaffected
scripts/scan-for-malware.sh tracked, unaffected
scripts/prod-set-checkin.sh ignored
scripts/some-new-tool.sh ignored (the inverted default)
marketing/tsconfig.tsbuildinfo ignored

*.tsbuildinfo from #84 is preserved.

Note

scripts/prod-fix-overnight-checkout-data.sql and scripts/prod-move-six-to-evening.sql are already tracked and therefore stay in the repo despite this rule. Untracking them needs an explicit git rm --cached; left out of this PR deliberately, since it deletes committed files.

Risk

None. Ignore-rule-only change; no tracked file is added, removed or modified.

🤖 Generated with Claude Code

Two changes to .gitignore.

**marketing/** gained the same build-output block every other app already has.
`marketing/tsconfig.tsbuildinfo` — a 98KB incremental TypeScript artifact — had
been sitting untracked in the working tree; `.vercel` is included because the
marketing site deploys from there and the directory holds project linkage, not
source.

**scripts/** is broadened from the `prod-*` prefix (added in #84) to the whole
directory. The prefix only caught files someone remembered to name correctly. A
directory-wide rule inverts the default: a new script is out unless it is added
deliberately with `git add -f`, which is the right way round for a folder whose
contents are one-off work against live production data.

Already-tracked scripts are unaffected — an ignore rule never untracks a file —
so scripts/deploy.sh and scripts/scan-for-malware.sh stay in the repo exactly as
they are. Verified with `git check-ignore`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@bladehell-ai
bladehell-ai merged commit fa63203 into develop Aug 21, 2026
5 checks passed
@bladehell-ai
bladehell-ai deleted the chore/ignore-marketing-build-output-and-scripts branch August 21, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant