Skip to content

chore: stop gitignoring scripts/ so seeded problems are shareable + add .env.example - #17

Open
alexandramartinez wants to merge 1 commit into
bighnesh0007:masterfrom
alexandramartinez:chore/track-scripts-and-env-example
Open

chore: stop gitignoring scripts/ so seeded problems are shareable + add .env.example#17
alexandramartinez wants to merge 1 commit into
bighnesh0007:masterfrom
alexandramartinez:chore/track-scripts-and-env-example

Conversation

@alexandramartinez

Copy link
Copy Markdown
Collaborator

What

Two small repo-hygiene changes:

  1. Stop gitignoring /scripts. The .gitignore had a bare /scripts rule (under the # production section, next to /build) that hid the entire seed-script folder from git — so nothing in scripts/ was ever version-controlled.
  2. Add .env.example. The README already tells contributors to cp .env.example .env.local, but the file didn't exist. Added it, plus a !.env.example negation so it survives the .env* ignore rule.

Why

The scripts/ folder is where the DataWeave problems get seeded into MongoDB. With it gitignored, contributors cloning the repo had no access to the seeded problem set — the README even documents scripts/ as "Seed scripts" in the project structure, so ignoring it was almost certainly unintentional.

By tracking scripts/, contributors can:

  • See the seeded problems and their existing test cases,
  • Add more test cases to those problems, and/or
  • Create new problems modeled on the existing ones,

all through normal PRs against version-controlled seed data instead of one-off writes to a database.

The .env.example closes a gap in the documented setup flow so a fresh clone can get running without guessing which env vars are needed.

Notes

  • scripts/ is empty in this PR (no seed script committed here) — this change only unblocks the folder so seed scripts can be added and shared in follow-ups.
  • No application code is touched.

🤖 Generated with Claude Code

Stop gitignoring the scripts/ folder so seed scripts are version-
controlled and shipped with the repo. This gives contributors direct
access to the seeded problems, so they can add more test cases to the
existing problems and/or create new problems modeled on them.

Also add the .env.example template that the README already tells
contributors to copy (cp .env.example .env.local), and add a
!.env.example negation so it survives the .env* ignore rule.

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

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

@alexandramartinez is attempting to deploy a commit to the bighnesh's projects Team on Vercel.

A member of the Team first needs to authorize it.

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