chore(repo): harden .gitignore and add .dockerignore for lean builds#7
chore(repo): harden .gitignore and add .dockerignore for lean builds#7Dumidu1212 merged 1 commit intomainfrom
Conversation
WalkthroughIntroduces a new .dockerignore to exclude common files from Docker build context. Reorganizes and expands .gitignore with categorized sections covering tooling, build artifacts, environments, logs, editors/OS, Docker, testing, and registry caches. No changes to exported or public code entities. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| package-lock.json | ||
| # (Keep package-lock.json if you want reproducible installs. Remove this line then.) |
There was a problem hiding this comment.
Do not ignore package-lock.json.
Ignoring the npm lock file removes deterministic installs and blocks us from committing security patches captured in the lock. Please drop this pattern (or explicitly justify the policy change) so we keep lockfiles under version control.
🤖 Prompt for AI Agents
In .gitignore around lines 7-8, the file currently ignores package-lock.json
which prevents committing the npm lockfile; remove the package-lock.json entry
from .gitignore (or the specific line/pattern) so the lockfile is tracked, then
commit the updated .gitignore and the existing package-lock.json to repository
to restore deterministic installs and allow lockfile security updates to be
recorded.
Summary by CodeRabbit